AMD/IOMMU: also insert IVMD ranges into Dom0's page tables
authorJan Beulich <jbeulich@suse.com>
Wed, 22 Sep 2021 14:15:29 +0000 (16:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 22 Sep 2021 14:15:29 +0000 (16:15 +0200)
commita0fe9a1e8c1f28ac528625bd3be99e14a74253ee
tree846f394483ef92f5e7d163f626767ff4a7f01cd5
parented6c77ebf0c1f865b45596c3e793fe87160251a6
AMD/IOMMU: also insert IVMD ranges into Dom0's page tables

So far only one region would be taken care of, if it can be placed in
the exclusion range registers of the IOMMU. Take care of further ranges
as well. Seeing that we've been doing fine without this, make both
insertion and removal best effort only.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/drivers/passthrough/amd/pci_amd_iommu.c