riscv/riscv-isa-manual

Do the following PMA changes of implicit PTE access need xFENCE to synchronize?

terranfund opened this issue · 3 comments

First, I want to ensure PMA of PTE access is permitted to cache them the address translation cache.
If the above answer is true, I want to ask the following scenarios whether xFENCE is required to synchronize PMA setting and virtual memory system.

  1. The location of PTE is changed
  2. The cache-ability of PTE is changed
  3. The memory attribute of PTE is changed from memory region to IO/vacant region, or vice-versa.

OK, got it. Thanks a lot.