x86/iommu: avoid mapping the interrupt address range for hwdom
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 25 Jul 2019 10:17:34 +0000 (12:17 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Jul 2019 10:17:34 +0000 (12:17 +0200)
commit991b9c6ff7be20a02be146b99a711a5c94664ab1
tree909d0e3aa9597e215d113502541b6dcd2a92ddd0
parent2fb46cafe07e20210bfb474c66a42f7765f19acc
x86/iommu: avoid mapping the interrupt address range for hwdom

Current code only prevent mapping the lapic page into the guest
physical memory map. Expand the range to be 0xFEEx_xxxx as described
in the Intel VTd specification section 3.13 "Handling Requests to
Interrupt Address Range".

AMD also lists this address range in the AMD SR5690 Databook, section
2.4.4 "MSI Interrupt Handling and MSI to HT Interrupt Conversion".

Requested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/x86/iommu.c