Steve Sistare f4986a72d6 iommufd: Add IOMMU_IOAS_MAP_FILE
Define the IOMMU_IOAS_MAP_FILE ioctl interface, which allows a user to
register memory by passing a memfd plus offset and length.  Implement it
using the memfd_pin_folios() kAPI.

Link: https://patch.msgid.link/r/1729861919-234514-8-git-send-email-steven.sistare@oracle.com
Suggested-by: Jason Gunthorpe <jgg@nvidia.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>
2024-10-28 13:24:24 -03:00
..
2024-09-26 11:54:40 -07:00
2024-09-19 10:18:15 +02:00
2024-09-20 18:28:26 +03:00
2024-10-28 13:24:23 -03:00
2024-09-19 11:28:51 +02:00
2024-09-17 10:48:09 +02:00
2024-09-14 09:09:59 +02:00
2024-09-29 09:35:10 -07:00
2024-10-28 13:24:24 -03:00
2024-09-25 14:15:04 +02:00