lkml.org 
[lkml]   [2012]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-10-10 21:41    [W:0.088 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site