]> git.ipfire.org Git - thirdparty/linux.git/commit
iommufd: File mappings for mdev
authorSteve Sistare <steven.sistare@oracle.com>
Fri, 25 Oct 2024 13:11:58 +0000 (06:11 -0700)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 28 Oct 2024 16:24:24 +0000 (13:24 -0300)
commit976a40c0756194001392e6624afd830fcc3873e6
treec56768532f9d491a88e9747ceb23ebd3ee2fbf3d
parentf4986a72d6e4be78ec0e4ee0e03531474621183f
iommufd: File mappings for mdev

Support file mappings for mediated devices, aka mdevs.  Access is
initiated by the vfio_pin_pages() and vfio_dma_rw() kernel interfaces.

Link: https://patch.msgid.link/r/1729861919-234514-9-git-send-email-steven.sistare@oracle.com
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/iommufd/pages.c