Re: [PATCH v2 03/13] iommufd: Rename IOMMUFD_OBJ_FAULT to IOMMUFD_OBJ_EVENTQ_IOPF

2024-12-12 Thread Nicolin Chen
On Wed, Dec 11, 2024 at 07:40:52AM +, Tian, Kevin wrote: > > From: Nicolin Chen > > Sent: Wednesday, December 4, 2024 6:10 AM > > > > The fault object was designed exclusively for hwpt's IO page faults (PRI). > > But its implementation can actually be reused for other purposes too, such > > a

RE: [PATCH v2 03/13] iommufd: Rename IOMMUFD_OBJ_FAULT to IOMMUFD_OBJ_EVENTQ_IOPF

2024-12-10 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Wednesday, December 4, 2024 6:10 AM > > The fault object was designed exclusively for hwpt's IO page faults (PRI). > But its implementation can actually be reused for other purposes too, such > as hardware IRQ and event injections to user space. > > Meanwhile, a faul

[PATCH v2 03/13] iommufd: Rename IOMMUFD_OBJ_FAULT to IOMMUFD_OBJ_EVENTQ_IOPF

2024-12-03 Thread Nicolin Chen
The fault object was designed exclusively for hwpt's IO page faults (PRI). But its implementation can actually be reused for other purposes too, such as hardware IRQ and event injections to user space. Meanwhile, a fault object holds a list of faults. So it's more accurate to call it a "fault queu