Re: A proposal to enhance RISC-V HPM (Hardware Performance Monitor)
toggle quoted message Show quoted text
I may be dense (I won't take a poll on that though), but if a kernel can detect that it is in S-mode vs. VSMode, that sounds like a buggy virtualization scheme. The kernel should (appear to) be in whatever mode it thinks it is, even if it is really in VU mode (with appropriate hypervisor work, and performance penalties, etc).
On Tue, Aug 4, 2020 at 9:52 PM alankao <alankao@...> wrote: