<div dir="ltr">I thought the patch was already applied in the version of fedora i was using (4.2.3)<div><br></div><div>Nope, i thought this one meant boot was a valid option.</div><div>"<span style="color:rgb(0,0,0)">The pcie_acs_override= </span><span style="color:rgb(0,0,0)">boot option lets users opt-in specific devices or sets of devices to </span><span style="color:rgb(0,0,0)">assume ACS support."</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">My bad for the id.<br>How does one apply the patch to the kernel?</span></div><div><span style="color:rgb(0,0,0)"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-02-17 22:07 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"><div class="HOEnZb"><div class="h5">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>
</div></div>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>
</blockquote></div><br></div>