]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommufd: Enable PRI when doing the iommufd_hwpt_alloc
authorJoel Granados <joel.granados@kernel.org>
Mon, 4 Nov 2024 01:40:37 +0000 (09:40 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 5 Nov 2024 12:32:26 +0000 (13:32 +0100)
commitcbeb1b7eee2ffa63b4d809c0a3f068309df933fa
tree81a8918aa5e5553177be1198134c73b50af56d11
parent140f5dedbb9ec8d74d24fab5714ffccac0d8b1d3
iommufd: Enable PRI when doing the iommufd_hwpt_alloc

Add IOMMU_HWPT_FAULT_ID_VALID as part of the valid flags when doing an
iommufd_hwpt_alloc allowing the use of an iommu fault allocation
(iommu_fault_alloc) with the IOMMU_HWPT_ALLOC ioctl.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Joel Granados <joel.granados@kernel.org>
Link: https://lore.kernel.org/r/20241015-jag-iopfv8-v4-4-b696ca89ba29@kernel.org
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c
drivers/iommu/iommufd/hw_pagetable.c