Re: [PATCH] iommufd: Set domain->iommufd_hwpt in all hwpt->domain allocators
From: Ankit Agrawal
Date: Thu Mar 06 2025 - 05:31:49 EST
>> Since iommufd_sw_msi() requires to access the domain->iommufd_hwpt, it
>> is
>> better to set that explicitly prior to calling iommu_domain_set_sw_msi().
>>
>> Fixes: 748706d7ca06 ("iommu: Turn fault_data to iommufd private pointer")
>> Reported-by: Ankit Agrawal <ankita@xxxxxxxxxx>
>> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
>
> Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
Tested-by: Ankit Agrawal <ankita@xxxxxxxxxx>