Re: [PATCH v1 1/6] backends/iommufd: Add a helper to invalidate user-managed HWPT

2025-05-29 Thread Nicolin Chen
On Thu, May 29, 2025 at 06:46:20AM +, Duan, Zhenzhong wrote: > >Looking at the kernel iommufd_hwpt_invalidate() routine and > >intel_nested_cache_invalidate_user(), it doesn't seem possible to > >return a different number of cache entries. Are you anticipating > >other implementations (sMMU) ?

RE: [PATCH v1 1/6] backends/iommufd: Add a helper to invalidate user-managed HWPT

2025-05-29 Thread Duan, Zhenzhong
Hi Cédric, >-Original Message- >From: Cédric Le Goater >Subject: Re: [PATCH v1 1/6] backends/iommufd: Add a helper to invalidate user- >managed HWPT > >Hello Zhenzhong, > >On 5/28/25 08:04, Zhenzhong Duan wrote: >> This helper passes cache invalidation re

Re: [PATCH v1 1/6] backends/iommufd: Add a helper to invalidate user-managed HWPT

2025-05-28 Thread Cédric Le Goater
Hello Zhenzhong, On 5/28/25 08:04, Zhenzhong Duan wrote: This helper passes cache invalidation request from guest to invalidate stage-1 page table cache in host hardware. Signed-off-by: Nicolin Chen Signed-off-by: Zhenzhong Duan --- include/system/iommufd.h | 4 backends/iommufd.c