]> xenbits.xensource.com Git - xen.git/commit
AMD IOMMU: only translate remapped IO-APIC RTEs
authorJan Beulich <jbeulich@suse.com>
Fri, 24 Apr 2015 10:06:26 +0000 (12:06 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 24 Apr 2015 10:06:26 +0000 (12:06 +0200)
commitc33c51b81c82a51515bf4fa2a9717098c03e5013
tree43bc6cee7c4c31179bd48ce8fadec3da5045c860
parenta8ccf2d9f6f291f8fc6003e3d8bc7275ac1cc69f
AMD IOMMU: only translate remapped IO-APIC RTEs

1aeb1156fa ("x86 don't change affinity with interrupt unmasked")
introducing RTE reads prior to the respective interrupt having got
enabled for the first time uncovered a bug in 2ca9fbd739 ("AMD IOMMU:
allocate IRTE entries instead of using a static mapping"): We obviously
shouldn't be translating RTEs for which remapping didn't get set up
yet.

Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
xen/drivers/passthrough/amd/iommu_intr.c