Re: [PATCH RFCv2 06/13] iommufd: Make attach_handle generic

2025-01-18 Thread Nicolin Chen
On Sat, Jan 18, 2025 at 04:23:22PM +0800, Yi Liu wrote: > On 2025/1/11 11:32, Nicolin Chen wrote: > > "attach_handle" was added exclusively for the iommufd_fault_iopf_handler() > > used by IOPF/PRI use cases, along with the "fault_data". Now, the iommufd > > version of sw_msi function will resue th

Re: [PATCH RFCv2 06/13] iommufd: Make attach_handle generic

2025-01-18 Thread Yi Liu
On 2025/1/11 11:32, Nicolin Chen wrote: "attach_handle" was added exclusively for the iommufd_fault_iopf_handler() used by IOPF/PRI use cases, along with the "fault_data". Now, the iommufd version of sw_msi function will resue the attach_handle and fault_data for a non-fault case. Move the attac

[PATCH RFCv2 06/13] iommufd: Make attach_handle generic

2025-01-10 Thread Nicolin Chen
"attach_handle" was added exclusively for the iommufd_fault_iopf_handler() used by IOPF/PRI use cases, along with the "fault_data". Now, the iommufd version of sw_msi function will resue the attach_handle and fault_data for a non-fault case. Move the attach_handle part out of the fault.c file to m