Messages in this thread | | | Date | Wed, 10 Oct 2012 20:11:31 +0100 | From | Andrew Oakley <> | Subject | Re: [git pull] IOMMU Updates for v3.7-rc1 |
| |
On Wed, 10 Oct 2012 15:32:49 +0200 Joerg Roedel <joro@8bytes.org> wrote:
> On Wed, Oct 10, 2012 at 09:58:23AM +0100, Andrew Oakley wrote: > > On Wed, 10 Oct 2012 09:30:22 +0200 > > Joerg Roedel <joro@8bytes.org> wrote: > > > AMD-Vi: DEV_SPECIAL(IOAPIC[2]) devid: 00:00.1 > > Okay, got it. This is the problem. The device id seems to be wrong. > The BIOS should configure your IOAPIC as device id 00:14.0 and not > 00:00.1. The current checking code does not check for this particular > situation. But the attached diff should change that. Can you please > test it and reports if the machine boots for you? Interrupt remapping > will be disabled automatically, though.
Yes, that detects the problem and disables the interrupt remapping (the kernel boots).
If I modify the devid for the IOAPIC in init_iommu_from_acpi then it also seems to work. I haven't managed to get vfio/qemu working yet but it seems to be unrelated ("Invalid ROM contents", same thing happens when I try to dump the rom with stable kernels).
Thanks
-- Andrew Oakley
| |