AMD/IOMMU: walk trees upon page fault
authorJan Beulich <jbeulich@suse.com>
Fri, 20 May 2022 10:24:11 +0000 (12:24 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 20 May 2022 10:24:11 +0000 (12:24 +0200)
commit0e461c2d7f45c50fcf4d26c7730cdd7cde77eb1f
treef706745db75ce46f5a399cae5e60c79e897dc813
parentba3fcb5f52eb2d3cc43b64bad2fc78507ad4fc7a
AMD/IOMMU: walk trees upon page fault

This is to aid diagnosing issues and largely matches VT-d's behavior.
Since I'm adding permissions output here as well, take the opportunity
and also add their displaying to amd_dump_page_table_level().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/drivers/passthrough/amd/iommu.h
xen/drivers/passthrough/amd/iommu_init.c
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c