+70
−0
Loading
Add riscv_iommu_iodir_iotinval() to perform required TLB and context cache invalidations after updating DDT or PDT entries, as mandated by the RISC-V IOMMU specification (Section 6.3.1 and 6.3.2). Fixes: 488ffbf1 ("iommu/riscv: Paging domain support") Signed-off-by:Fangyu Yu <fangyu.yu@linux.alibaba.com> Reviewed-by:
Andrew Jones <andrew.jones@oss.qualcomm.com> Signed-off-by:
Joerg Roedel <joerg.roedel@amd.com>