[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH 0/2] map grant refs at pfn = mfn
Hi all, this patch series introduces a second p2m mapping of grant reference on ARM at guest physical address == machine address of the grant ref. It is safe because dom0 is already mapped 1:1. We export XENFEAT_grant_map_11 to signal the guest that this second p2m mapping is available. One reason for wanting the second p2m mapping is to avoid tracking mfn to pfn mappings in the guest kernel. Since the same mfn can be granted multiple times to the backend, finding the right pfn corresponding to a given mfn can be difficult and expensive. Providing a second mapping at a known address allow the kernel to access the page without knowing the pfn. Julien Grall (1): xen: introduce arch_iommu_grant_(un)map_page Stefano Stabellini (1): xen/arm: introduce XENFEAT_grant_map_11 xen/common/grant_table.c | 10 +++---- xen/common/kernel.c | 4 +++ xen/drivers/passthrough/arm/iommu.c | 49 +++++++++++++++++++++++++++++++++++ xen/drivers/passthrough/arm/smmu.c | 42 ------------------------------ xen/drivers/passthrough/x86/iommu.c | 11 ++++++++ xen/include/asm-arm/grant_table.h | 3 +-- xen/include/public/features.h | 3 +++ xen/include/xen/iommu.h | 4 +++ 8 files changed, 77 insertions(+), 49 deletions(-) _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |