Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2024-01-14 Thread Baolu Lu
On 1/15/24 1:18 AM, Joel Granados wrote: On Sun, Jan 14, 2024 at 09:13:19PM +0800, Baolu Lu wrote: On 2024/1/13 5:56, Joel Granados wrote: On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: Hi folks, This series implements the functionality of delivering IO page faults to user space

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2024-01-14 Thread Joel Granados
On Sun, Jan 14, 2024 at 09:13:19PM +0800, Baolu Lu wrote: > On 2024/1/13 5:56, Joel Granados wrote: > > On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > >> Hi folks, > >> > >> This series implements the functionality of delivering IO page faults to > >> user space through the IOMMUFD

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2024-01-14 Thread Baolu Lu
On 2024/1/13 5:56, Joel Granados wrote: On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: Hi folks, This series implements the functionality of delivering IO page faults to user space through the IOMMUFD framework for nested translation. Nested translation is a hardware feature that

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2024-01-12 Thread Joel Granados
On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > Hi folks, > > This series implements the functionality of delivering IO page faults to > user space through the IOMMUFD framework for nested translation. Nested > translation is a hardware feature that supports two-stage translation >

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-12-08 Thread Jason Gunthorpe
On Fri, Dec 08, 2023 at 01:57:26PM +0800, Baolu Lu wrote: > On 12/1/23 10:24 PM, Jason Gunthorpe wrote: > > On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > > > Hi folks, > > > > > > This series implements the functionality of delivering IO page faults to > > > user space through the

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-12-07 Thread Baolu Lu
On 12/1/23 10:24 PM, Jason Gunthorpe wrote: On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: Hi folks, This series implements the functionality of delivering IO page faults to user space through the IOMMUFD framework for nested translation. Nested translation is a hardware feature

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-12-07 Thread Baolu Lu
On 12/4/23 11:07 PM, Joel Granados wrote: On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: Hi folks, This series implements the functionality of delivering IO page faults to user space through the IOMMUFD framework for nested translation. Nested Does this mean the IOPF_CAPABLE HWPT

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-12-04 Thread Jason Gunthorpe
On Mon, Dec 04, 2023 at 04:07:44PM +0100, Joel Granados wrote: > On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > > Hi folks, > > > > This series implements the functionality of delivering IO page faults to > > user space through the IOMMUFD framework for nested translation. Nested >

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-12-04 Thread Joel Granados
On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > Hi folks, > > This series implements the functionality of delivering IO page faults to > user space through the IOMMUFD framework for nested translation. Nested Does this mean the IOPF_CAPABLE HWPT needs to be parented by a HWPT created

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-12-01 Thread Jason Gunthorpe
On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > Hi folks, > > This series implements the functionality of delivering IO page faults to > user space through the IOMMUFD framework for nested translation. Nested > translation is a hardware feature that supports two-stage translation >

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-29 Thread Baolu Lu
Pan Cc: io...@lists.linux.dev; linux-kselftest@vger.kernel.org; virtualizat...@lists.linux-foundation.org; linux-ker...@vger.kernel.org; Lu Baolu Subject: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space Hi folks, This series implements the functionality of delivering IO page faults

RE: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-29 Thread Shameerali Kolothum Thodi
o...@lists.linux.dev; linux-kselftest@vger.kernel.org; > virtualizat...@lists.linux-foundation.org; linux-ker...@vger.kernel.org; Lu > Baolu > Subject: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space > > Hi folks, > > This series implements the functionality of d

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-20 Thread Jason Gunthorpe
On Thu, Nov 16, 2023 at 09:42:23AM +0800, Liu, Jing2 wrote: > Hi Jason, > > On 11/15/2023 9:58 PM, Jason Gunthorpe wrote: > > On Wed, Nov 15, 2023 at 01:17:06PM +0800, Liu, Jing2 wrote: > > > > > This is the right way to approach it, > > > > > > I learned that there was discussion about

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-15 Thread Liu, Jing2
Hi Jason, On 11/15/2023 9:58 PM, Jason Gunthorpe wrote: On Wed, Nov 15, 2023 at 01:17:06PM +0800, Liu, Jing2 wrote: This is the right way to approach it, I learned that there was discussion about using io_uring to get the page fault without eventfd notification in [1], and I am

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-15 Thread Jason Gunthorpe
On Wed, Nov 15, 2023 at 01:17:06PM +0800, Liu, Jing2 wrote: > This is the right way to approach it, > >I learned that there was discussion about using io_uring to get the >page fault without > >eventfd notification in [1], and I am new at io_uring and studying the >man page of >

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-08 Thread Jason Gunthorpe
On Wed, Nov 08, 2023 at 08:53:00AM +, Tian, Kevin wrote: > > There are many events related to object in guest memory or controlled > > by the guest, eg C_BAD_CD and C_BAD_STE. These should be relayed or > > the emulation is not working well. > > so that's the category of unrecoverable

RE: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-08 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Wednesday, November 8, 2023 1:54 AM > > On Tue, Nov 07, 2023 at 08:35:10AM +, Tian, Kevin wrote: > > > From: Jason Gunthorpe > > > Sent: Thursday, November 2, 2023 8:48 PM > > > > > > On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > > > > Hi folks,

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-07 Thread Jason Gunthorpe
On Tue, Nov 07, 2023 at 08:35:10AM +, Tian, Kevin wrote: > > From: Jason Gunthorpe > > Sent: Thursday, November 2, 2023 8:48 PM > > > > On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > > > Hi folks, > > > > > > This series implements the functionality of delivering IO page faults

RE: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-07 Thread Tian, Kevin
> From: Jason Gunthorpe > Sent: Thursday, November 2, 2023 8:48 PM > > On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > > Hi folks, > > > > This series implements the functionality of delivering IO page faults to > > user space through the IOMMUFD framework for nested translation. >

Re: [PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-11-02 Thread Jason Gunthorpe
On Thu, Oct 26, 2023 at 10:49:24AM +0800, Lu Baolu wrote: > Hi folks, > > This series implements the functionality of delivering IO page faults to > user space through the IOMMUFD framework for nested translation. Nested > translation is a hardware feature that supports two-stage translation >

[PATCH v2 0/6] IOMMUFD: Deliver IO page faults to user space

2023-10-25 Thread Lu Baolu
Hi folks, This series implements the functionality of delivering IO page faults to user space through the IOMMUFD framework for nested translation. Nested translation is a hardware feature that supports two-stage translation tables for IOMMU. The second-stage translation table is managed by the