Re: [PATCH v3 1/3] uapi/linux/vfio:Add VFIO_DMA_MAP_FLAG_MMIO flag
From: Jason Gunthorpe
Date: Tue Jan 21 2025 - 09:06:06 EST
On Tue, Jan 21, 2025 at 07:28:34PM +0800, Wencheng Yang wrote:
> The flag will be used by VFIO to map DMA for device MMIO on IOMMU page table.
Definitely not, the kernel needs to know and protect the memory type
itself. Userspace cannot be allowed to override things
Jason