Cacheability in virtualized environment and cache control bits

13 views
Skip to first unread message

jc riscvproject

unread,
May 24, 2022, 8:23:56 PM5/24/22
to RISC-V ISA Dev
Hi,

I have 2 questions similar to this question from a few days ago regarding cacheability and cache control.

From the privileged spec I see that virtualization can be enabled or disabled depending on the MODE field in the satp CSR.

Is there a similar way to disable the cache?

Also, in virtual mode or in a virtualized environment such as linux, is there an optimal or standard way to keep track of the cacheability of physical memory locations?

Thanks
Reply all
Reply to author
Forward
0 new messages