]> xenbits.xensource.com Git - xen.git/commit
IOMMU: also pass p2m_access_t to p2m_get_iommu_flags()
authorJan Beulich <jbeulich@suse.com>
Wed, 25 Aug 2021 12:15:32 +0000 (14:15 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Aug 2021 12:15:32 +0000 (14:15 +0200)
commitd1bb6c97c31ef754fb29b29eb307c090414e8022
treeb8cd82b743461091cc96337f69acd24ae7663fb8
parent34750a3eb022462cdd1c36e8ef9049d3d73c824c
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>
xen/arch/x86/mm/p2m-ept.c
xen/arch/x86/mm/p2m-pt.c
xen/include/asm-x86/p2m.h