Re: [PATCH v3 14/16] iommu/arm-smmu-v3: Add arm_vsmmu_cache_invalidate

2024-10-11 Thread Nicolin Chen
On Sat, Oct 12, 2024 at 11:12:09AM +0800, Zhangfei Gao wrote: > > + case CMDQ_OP_ATC_INV: > > + case CMDQ_OP_CFGI_CD: > > + case CMDQ_OP_CFGI_CD_ALL: > > + u32 sid, vsid = FIELD_GET(CMDQ_CFGI_0_SID, cmd->cmd[0]); > > Here got build error > > drivers/iommu/arm/arm-s

Re: [PATCH v3 14/16] iommu/arm-smmu-v3: Add arm_vsmmu_cache_invalidate

2024-10-11 Thread Zhangfei Gao
On Thu, 10 Oct 2024 at 00:44, Nicolin Chen wrote: > > Implement the vIOMMU's cache_invalidate op for user space to invalidate the > IOTLB entries, Device ATS and CD entries that are still cached by hardware. > > Add struct iommu_viommu_arm_smmuv3_invalidate defining invalidation entries > that are