]> xenbits.xensource.com Git - xen.git/commit
xen/dom0: Deprecate iommu_hwdom_inclusive and leave it disabled by default
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 31 Dec 2018 14:06:52 +0000 (14:06 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Jan 2019 18:19:52 +0000 (18:19 +0000)
commitb7e8dee07cdc9714d79a2d4eb524c17705a596e4
tree36c2a61cf4fa486840f3c0aa59b1f401ce9a5d66
parent633a4094732100c645c41b0fa9087cb432ca1e11
xen/dom0: Deprecate iommu_hwdom_inclusive and leave it disabled by default

This option is unique to x86 PV dom0's, but it is not sensible to have a
catch-all which blindly maps all non-RAM regions into the IOMMU.

The map-reserved option remains, and covers all the buggy firmware issues that
I am aware of.  The two common cases are legacy USB keyboard emulation, and
the BMC mailbox used by vendor firmware in NICs/HBAs to report information
back to the iLO/iDRAC/etc for remote remote management purposes.

A specific advantage of this change is that x86 dom0's IOMMU setup is now
consistent between PV and PVH.

This change is not expected to have any impact, due to map-reserved remaining.
In the unlikely case that it does cause an issue, we should introduce other
map-$SPECIFIC options rather than re-introducing this catch-all.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
docs/misc/xen-command-line.pandoc
xen/drivers/passthrough/arm/smmu.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/x86/iommu.c
xen/include/xen/iommu.h