Displaying 2 results from an estimated 2 matches for "iommu_hwpt_alloc_iopf_cap".
2023 Nov 02
1
[PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space
...more closely at the ARM requirements it seems we
will need generic events, not just page fault events to have a
complete emulation.
So I'd like to see this generalized into a channel to carry any
events..
> User space indicates its capability of handling IO page faults by
> setting the IOMMU_HWPT_ALLOC_IOPF_CAPABLE flag when allocating a
> hardware page table (HWPT). IOMMUFD will then set up its infrastructure
> for page fault delivery. On a successful return of HWPT allocation, the
> user can retrieve and respond to page faults by reading and writing to
> the file descriptor (FD) returned in...
2023 Nov 07
1
[PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space
...eed generic events, not just page fault events to have a
> complete emulation.
Can you elaborate?
>
> So I'd like to see this generalized into a channel to carry any
> events..
>
> > User space indicates its capability of handling IO page faults by
> > setting the IOMMU_HWPT_ALLOC_IOPF_CAPABLE flag when allocating a
> > hardware page table (HWPT). IOMMUFD will then set up its infrastructure
> > for page fault delivery. On a successful return of HWPT allocation, the
> > user can retrieve and respond to page faults by reading and writing to
> > the file descript...