AMD IOMMU: also spot missing IO-APIC entries in IVRS table
authorJan Beulich <jbeulich@suse.com>
Thu, 14 Feb 2013 08:40:52 +0000 (09:40 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 14 Feb 2013 08:40:52 +0000 (09:40 +0100)
commit2101800f68b3e13064df34fa404dd012e2b598dd
tree1c944ab79c91db835e027147de3a570c3d9dc153
parent505023822fe48af3636fd6cdb1e689760831efac
AMD IOMMU: also spot missing IO-APIC entries in IVRS table

Apart from dealing duplicate conflicting entries, we also have to
handle firmware omitting IO-APIC entries in IVRS altogether. Not doing
so has resulted in c/s 26517:601139e2b0db to crash such systems during
boot (whereas with the change here the IOMMU gets disabled just as is
being done in the other cases, i.e. unless global tables are being
used).

Debugging this issue has also pointed out that the debug log output is
pretty ugly to look at - consolidate the output, and add one extra
item for the IVHD special entries, so that future issues are easier
to analyze.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Tested-by: Sander Eikelenboom <linux@eikelenboom.it>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/drivers/passthrough/amd/iommu_acpi.c