Re: [PATCH v2 2/2] Intel-IOMMU, intr-remap: source-id checking
From: Eric W. Biederman
Date: Wed May 20 2009 - 08:02:41 EST
Joerg Roedel <joerg.roedel@xxxxxxx> writes:
> On Wed, May 20, 2009 at 10:21:14AM +0200, Ingo Molnar wrote:
>>
>> * Eric W. Biederman <ebiederm@xxxxxxxxxxxx> wrote:
>> > Being a major nitpick, I have to point out that the code is not
>> > structured to support other iommus, and I think AMD has one that
>> > can do this as well.
>>
>> (Joerg Cc:-ed)
>
> The AMD IOMMU does also have an interrupt remapping feature. But it is
> currently unsupported in the Linux driver. When this is going to be
> implemented I think we can go the same way as for device passthrough in
> KVM. This was an Intel-only feature too and was later adapted to support
> AMD IOMMU too.
The Intel IOMMU is also interesting because it allows traffic from
buggy ioapcis to be remapped safely in process context, adding a large
margin of safety and flexibility to the existing irq migration
and cpu hotunplug scenarios.
Can we use the AMD IOMMU to achieve the same objective?
I would really like to say from point X on AMD and Intel systems don't
have to worry about irq migrations used caused by old buggy ioapic
state machines, which I have previously confirmed in both AMD and
Intel ioapics.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/