[RFC PATCH v4 10/10] iommu/riscv: Add IOTINVAL.GVMA after updating DDT/PDT entries
Tan Chi
tanchi25 at mails.ucas.ac.cn
Mon Oct 19 06:35:36 PDT 2026
Hi Fangyu,
I wonder if riscv_iommu_iodir_set_mode() also needs a global
IOTINVAL.GVMA now that second-stage translations are supported.
It currently issues IODIR.INVAL_DDT and IOTINVAL.VMA after updating
DDTP, but cached G-stage translations may still remain, for example
when the IOMMU is reinitialized after a previous kernel used
second-stage domains.
Would a global IOTINVAL.GVMA (GV=0) be needed here as well?
Thanks,
Tan Chi
More information about the linux-riscv
mailing list