RE: [PATCH] iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

2024-02-18 Thread Tian, Kevin
> From: Joao Martins > Sent: Friday, February 9, 2024 6:36 PM > > On 08/02/2024 10:31, Joao Martins wrote: > > On 08/02/2024 09:14, Yi Liu wrote: > >> Should set the SSADE (Second Stage Access/Dirty bit Enable) bit of the > >> pasid entry when attaching a device to a nested domain if its parent >

Re: [PATCH] iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

2024-02-09 Thread Joao Martins
On 08/02/2024 10:31, Joao Martins wrote: > On 08/02/2024 09:14, Yi Liu wrote: >> Should set the SSADE (Second Stage Access/Dirty bit Enable) bit of the >> pasid entry when attaching a device to a nested domain if its parent >> has already enabled dirty tracking. >> >> Fixes: 111bf85c68f6 ("iommu/vt

Re: [PATCH] iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

2024-02-09 Thread Joao Martins
On 09/02/2024 02:40, Baolu Lu wrote: > On 2024/2/8 17:14, Yi Liu wrote: >> Should set the SSADE (Second Stage Access/Dirty bit Enable) bit of the >> pasid entry when attaching a device to a nested domain if its parent >> has already enabled dirty tracking. >> >> Fixes: 111bf85c68f6 ("iommu/vt-d: Ad

Re: [PATCH] iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

2024-02-08 Thread Baolu Lu
On 2024/2/8 17:14, Yi Liu wrote: Should set the SSADE (Second Stage Access/Dirty bit Enable) bit of the pasid entry when attaching a device to a nested domain if its parent has already enabled dirty tracking. Fixes: 111bf85c68f6 ("iommu/vt-d: Add helper to setup pasid nested translation") Signed

Re: [PATCH] iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

2024-02-08 Thread Joao Martins
On 08/02/2024 09:14, Yi Liu wrote: > Should set the SSADE (Second Stage Access/Dirty bit Enable) bit of the > pasid entry when attaching a device to a nested domain if its parent > has already enabled dirty tracking. > > Fixes: 111bf85c68f6 ("iommu/vt-d: Add helper to setup pasid nested > transla

[PATCH] iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking

2024-02-08 Thread Yi Liu
Should set the SSADE (Second Stage Access/Dirty bit Enable) bit of the pasid entry when attaching a device to a nested domain if its parent has already enabled dirty tracking. Fixes: 111bf85c68f6 ("iommu/vt-d: Add helper to setup pasid nested translation") Signed-off-by: Yi Liu --- base commit: 5