On 5/8/24 8:25 AM, Jason Gunthorpe wrote:
On Tue, Apr 30, 2024 at 10:57:08PM +0800, Lu Baolu wrote:
/**
@@ -412,6 +415,9 @@ enum iommu_hwpt_data_type {
* @data_type: One of enum iommu_hwpt_data_type
* @data_len: Length of the type specific data
* @data_uptr: User pointer to the type s
On 5/8/24 8:18 AM, Jason Gunthorpe wrote:
On Tue, Apr 30, 2024 at 10:57:07PM +0800, Lu Baolu wrote:
diff --git a/drivers/iommu/iommufd/fault.c b/drivers/iommu/iommufd/fault.c
index 13125c0feecb..6357229bf3b4 100644
--- a/drivers/iommu/iommufd/fault.c
+++ b/drivers/iommu/iommufd/fault.c
@@ -15,6
On 5/8/24 8:04 AM, Jason Gunthorpe wrote:
On Tue, Apr 30, 2024 at 10:57:04PM +0800, Lu Baolu wrote:
@@ -206,8 +197,11 @@ void iommu_report_device_fault(struct device *dev, struct
iopf_fault *evt)
if (group == &abort_group)
goto err_abort;
- group->domain = get_domain_