Re: [PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-07 Thread Lu Baolu
Hi Jean, On 7/7/20 7:23 PM, Jean-Philippe Brucker wrote: On Mon, Jul 06, 2020 at 08:25:34AM +0800, Lu Baolu wrote: A pasid might be bound to a page table from a VM guest via the iommu ops.sva_bind_gpasid. In this case, when a DMA page fault is detected on the physical IOMMU, we need to inject

Re: [PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-07 Thread Jean-Philippe Brucker
On Mon, Jul 06, 2020 at 08:25:34AM +0800, Lu Baolu wrote: > A pasid might be bound to a page table from a VM guest via the iommu > ops.sva_bind_gpasid. In this case, when a DMA page fault is detected > on the physical IOMMU, we need to inject the page fault request into > the guest. After the

Re: [PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-06 Thread Lu Baolu
On 2020/7/6 9:36, Tian, Kevin wrote: From: Tian, Kevin Sent: Monday, July 6, 2020 9:30 AM From: Lu Baolu Sent: Monday, July 6, 2020 8:26 AM A pasid might be bound to a page table from a VM guest via the iommu ops.sva_bind_gpasid. In this case, when a DMA page fault is detected on the

Re: [PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-06 Thread Lu Baolu
Hi Kevin, On 2020/7/6 9:29, Tian, Kevin wrote: From: Lu Baolu Sent: Monday, July 6, 2020 8:26 AM A pasid might be bound to a page table from a VM guest via the iommu ops.sva_bind_gpasid. In this case, when a DMA page fault is detected on the physical IOMMU, we need to inject the page fault

RE: [PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-05 Thread Tian, Kevin
> From: Tian, Kevin > Sent: Monday, July 6, 2020 9:30 AM > > > From: Lu Baolu > > Sent: Monday, July 6, 2020 8:26 AM > > > > A pasid might be bound to a page table from a VM guest via the iommu > > ops.sva_bind_gpasid. In this case, when a DMA page fault is detected > > on the physical IOMMU, we

RE: [PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-05 Thread Tian, Kevin
> From: Lu Baolu > Sent: Monday, July 6, 2020 8:26 AM > > A pasid might be bound to a page table from a VM guest via the iommu > ops.sva_bind_gpasid. In this case, when a DMA page fault is detected > on the physical IOMMU, we need to inject the page fault request into > the guest. After the

[PATCH v2 3/4] iommu/vt-d: Report page request faults for guest SVA

2020-07-05 Thread Lu Baolu
A pasid might be bound to a page table from a VM guest via the iommu ops.sva_bind_gpasid. In this case, when a DMA page fault is detected on the physical IOMMU, we need to inject the page fault request into the guest. After the guest completes handling the page fault, a page response need to be