Re: Re: [PATCH] vhost/scsi: Fix improper cleanup in vhost_scsi_set_endpoint()

2025-01-18 Thread 张浩然
On 2025-01-18 00:50:04, Mike Christie wrote: > Yeah, I'm not sure if being able to call vhost_scsi_set_endpoint multiple > times and pick up new tpgs is actually a feature or not. There's so many > bugs and it also doesn't support tpg removal. It seems vhost_scsi_clear_endpoint() is attempting to

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 RFC v3 02/10] sched_getattr: port to copy_struct_to_user

2025-01-18 Thread Xi Ruoyao
On Wed, 2024-12-11 at 11:23 +0100, Christian Brauner wrote: > On Tue, Dec 10, 2024 at 07:14:07PM +0100, Florian Weimer wrote: > > * Aleksa Sarai: > > > > > sched_getattr(2) doesn't care about trailing non-zero bytes in the > > > (ksize > usize) case, so just use copy_struct_to_user() without check

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