<div dir="ltr">Thanks for link, gonna try to find the proper kernel patch then.</div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-17 23:10 GMT+01:00 Alex Williamson <span dir="ltr"><<a href="mailto:alex.williamson@redhat.com" target="_blank">alex.williamson@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 17 Feb 2016 23:02:18 +0100<br>
thibaut noah <<a href="mailto:thibaut.noah@gmail.com">thibaut.noah@gmail.com</a>> wrote:<br>
<br>
> I thought the patch was already applied in the version of fedora i was<br>
> using (4.2.3)<br>
<br>
</span>There is currently no expectation that the pcie_acs_override patch will<br>
ever go upstream, thus my encouragement to use a system that properly<br>
supports ACS.<br>
<span class=""><br>
> Nope, i thought this one meant boot was a valid option.<br>
> "The pcie_acs_override= boot option lets users opt-in specific devices or<br>
> sets of devices to assume ACS support."<br>
><br>
> My bad for the id.<br>
> How does one apply the patch to the kernel?<br>
<br>
</span><a href="https://www.kernel.org/doc/Documentation/applying-patches.txt" rel="noreferrer" target="_blank">https://www.kernel.org/doc/Documentation/applying-patches.txt</a><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> 2016-02-17 22:07 GMT+01:00 Alex Williamson <<a href="mailto:alex.williamson@redhat.com">alex.williamson@redhat.com</a>>:<br>
><br>
> > On Wed, 17 Feb 2016 20:57:34 +0100<br>
> > thibaut noah <<a href="mailto:thibaut.noah@gmail.com">thibaut.noah@gmail.com</a>> wrote:<br>
> ><br>
> > > Hello, i finally received an hba card for my zfs raid and the card is off<br>
> > > course breaking iommu grouping.<br>
> > > I tried the 2pci ports i had left (gpu in the first one) but the hba card<br>
> > > is always in group 1.<br>
> > > I tried several options in grub to override acs but that didn't change<br>
> > > anything (had downstream set before, added other options).<br>
> > > Could someone point me to a documentation or something to fix this? i<br>
> > > cannot use my vm at all<br>
> > > Here is a paste of the error i get :<br>
> > ><br>
> > > <a href="http://fpaste.org/324296/45573902/" rel="noreferrer" target="_blank">http://fpaste.org/324296/45573902/</a><br>
> > ><br>
> > > paste of grub file :<br>
> > > <a href="http://fpaste.org/324284/45573856/" rel="noreferrer" target="_blank">http://fpaste.org/324284/45573856/</a><br>
> > ><br>
> > > paste of ls -lha /sys/bus/pci/devices/0000:01:00.0/iommu_group/devices :<br>
> > > <a href="http://fpaste.org/324283/38515145/" rel="noreferrer" target="_blank">http://fpaste.org/324283/38515145/</a><br>
> > ><br>
> > > here is a paste of lspci -vvvnn :<br>
> > > <a href="http://fpaste.org/324281/55738407/" rel="noreferrer" target="_blank">http://fpaste.org/324281/55738407/</a><br>
> > ><br>
> > > Any help would be gladly appreciated thanks<br>
> ><br>
> > First, are you using a kernel that's patched with the pcie_acs_override<br>
> > option?  It's not upstream.  You also have:<br>
> ><br>
> > pcie_acs_override=downstream,id:103c:21c7,boot<br>
> ><br>
> > 103c:21c7 is the subsystem ID of your HBA, it's a single function<br>
> > endpoint, so that entry is useless on a couple fronts.  'boot' is not a<br>
> > valid option, maybe you ran into another option?<br>
> ><br>
> > pcie_acs_override=downstream<br>
> ><br>
> > should be sufficient, if you want to use id, it's the IDs of the root<br>
> > ports, for example:<br>
> ><br>
> > pcie_acs_override=id:8086:0c01,id:8086:0c09<br>
> ><br>
> > But of course nothing happens till the kernel is patched.<br>
> ><br>
<br>
</div></div></blockquote></div><br></div>