AMD IOMMU: also allocate IRTEs for HPET MSI
authorJan Beulich <jbeulich@suse.com>
Wed, 28 Aug 2013 08:11:19 +0000 (10:11 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 28 Aug 2013 08:11:19 +0000 (10:11 +0200)
commitdcbff3aeac6020cdf1f5bd0f0eb0d329fc55d939
tree0374ffbfeac5fcde01677769f4cc272d9cb41a26
parent460dea6c817eada4f7d43097b1e71e975a7ba52b
AMD IOMMU: also allocate IRTEs for HPET MSI

Omitting this was a blatant oversight of mine in commit 2ca9fbd7 ("AMD
IOMMU: allocate IRTE entries instead of using a static mapping").

This also changes a bogus inequality check into a sensible one, even
though it is already known that this will make HPET MSI unusable on
certain systems (having respective broken firmware). This, however,
seems better than failing on systems with consistent ACPI tables.

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