Created attachment 131461 [details] dmesg I see this bug since Aug. 2013, when CONFIG_INTEL_IOMMU=y is set Mainboard: Intel DH77KC CPU: Intel i5-3475S
Created attachment 131471 [details] defconfig defconfig
Created attachment 131481 [details] lspci lspci -knnv
more info ? anything I can do ?
Arrrggghhh this bug seems related to https://bugzilla.kernel.org/show_bug.cgi?id=44881
Alex Williamson has a patch series that will (I think) resolve this problem. Alex, can you add a link to the most recent version so Ronald can test it?
git://github.com/awilliam/linux-vfio.git tag dma-alias-v4 You'll need to add your bridge IDs (0x1283, 0x8892) to drivers/pci/quirks.c the same as https://github.com/awilliam/linux-vfio/blob/dma-alias-v4/drivers/pci/quirks.c line 3409. Copy that line and replace the IDs with the ones for your bridge at 02:00.0.
THX 4 services, but it does not compile ! not for kernel 3.14.5 nor 3.15-rc8 to be sure I didn't made a mistake: - fetched the above quirks.c from github - put my IDs in this quirks.c - copied to linux-3.15-rc8/drivers/pci/ is this correct ? attached the build.log generated with make all -j4 V=1 2>&1 |tee ../build.log
Created attachment 138071 [details] build.log make all -j4 V=1 2>&1 |tee ../build.log
(In reply to Ronald from comment #7) > THX 4 services, but it does not compile ! > > not for kernel 3.14.5 nor 3.15-rc8 > > > to be sure I didn't made a mistake: > - fetched the above quirks.c from github > - put my IDs in this quirks.c > - copied to linux-3.15-rc8/drivers/pci/ > > is this correct ? No, there are dependencies far beyond quirks.c. You need to checkout the dma-alias-v4 tag, modify quirks.c in that tree, and build.
sure I can test this, but I'm *NOT* fit with git. Please write down the steps I must do !
(In reply to Ronald from comment #10) > sure I can test this, but I'm *NOT* fit with git. > > Please write down the steps I must do ! github allows downloading a zip file of the tag, which will save you about 800MB of downloading versus doing a git clone. Get this file: https://github.com/awilliam/linux-vfio/archive/dma-alias-v4.zip Extract and edit drivers/pci/quirks.c as noted in comment 6. Build, install, test, and report the results. Thanks
Thanks for advices ! Kernel tested; looks good (to me) attaching defconfig and dmesg
Created attachment 138601 [details] defconfig defconfig
Created attachment 138611 [details] dmesg dmesg
this bug should be closed.
Closing per Ronald's testing.