IOMMU: also pass p2m_access_t to p2m_get_iommu_flags()
authorJan Beulich <jbeulich@suse.com>
Wed, 25 Aug 2021 13:05:25 +0000 (15:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Aug 2021 13:05:25 +0000 (15:05 +0200)
commit4a244516f6c438f62f4fae287e20628e931cb4ce
treecd9ad7f58aec111045fb84e738c2e29ef4cedc37
parent100b2e2d5ee0ea5549113ad6b15f4b532c13bcd7
IOMMU: also pass p2m_access_t to p2m_get_iommu_flags()

A subsequent change will want to customize the IOMMU permissions based
on this.

This is part of XSA-378.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
master commit: d1bb6c97c31ef754fb29b29eb307c090414e8022
master date: 2021-08-25 14:15:32 +0200
xen/arch/x86/mm/p2m-ept.c
xen/arch/x86/mm/p2m-pt.c
xen/include/asm-x86/p2m.h