Re: [PATCH v7 1/9] iommu: Add cache_invalidate_user op

2023-12-25 Thread Yi Liu
On 2023/12/22 10:30, Tian, Kevin wrote: From: Liu, Yi L Sent: Thursday, December 21, 2023 11:40 PM From: Lu Baolu The updates of the PTEs in the nested page table will be propagated to the hardware caches on both IOMMU (IOTLB) and devices (DevTLB/ATC). this is incorrect. the scope of this c

RE: [PATCH v7 1/9] iommu: Add cache_invalidate_user op

2023-12-21 Thread Tian, Kevin
> From: Liu, Yi L > Sent: Thursday, December 21, 2023 11:40 PM > > From: Lu Baolu > > The updates of the PTEs in the nested page table will be propagated to the > hardware caches on both IOMMU (IOTLB) and devices (DevTLB/ATC). this is incorrect. the scope of this cmd is driver specific. > >

[PATCH v7 1/9] iommu: Add cache_invalidate_user op

2023-12-21 Thread Yi Liu
From: Lu Baolu The updates of the PTEs in the nested page table will be propagated to the hardware caches on both IOMMU (IOTLB) and devices (DevTLB/ATC). Add a new domain op cache_invalidate_user for the userspace to flush the hardware caches for a nested domain through iommufd. No wrapper for i