|
From: | Cédric Le Goater |
Subject: | Re: [PATCH] vfio: Support P2P access in confidential VM |
Date: | Thu, 16 Jan 2025 19:15:08 +0100 |
User-agent: | Mozilla Thunderbird |
--- a/linux-headers/linux/vfio.h +++ b/linux-headers/linux/vfio.h @@ -1560,6 +1560,7 @@ struct vfio_iommu_type1_dma_map { #define VFIO_DMA_MAP_FLAG_READ (1 << 0) /* readable from device */ #define VFIO_DMA_MAP_FLAG_WRITE (1 << 1) /* writable from device */ #define VFIO_DMA_MAP_FLAG_VADDR (1 << 2) +#define VFIO_DMA_MAP_FLAG_MMIO (1 << 3)Where's the kernel patch that implements the MMIO map flag. That needs to come first.
Yes. This patch should also be divided in 4 parts : - kernel header changes with links to the threads modifying the kernel. - common part, - vpda part, - and vfio, Thanks, C.
I also don't understand why we're creating multiple read-only and ramdev flags to distill back into vfio mapping flags. Thanks,
[Prev in Thread] | Current Thread | [Next in Thread] |