Re: HLVX and PMP


Andrew Waterman
 

It means what it says.  Execute-only PMP regions (or PMA regions, for that matter) cause HLVX to raise an exception.  This is consistent with how mstatus.MXR is defined.  (The implication is that code in PMP/PMA regions marked execute-only isn't readily emulatable, but this is a conscious tradeoff in favor of security.)

On Tue, Oct 6, 2020 at 5:47 PM Paul Donahue <pdonahue@...> wrote:

HLVX requires execute permission "during address translation" and explicitly requires PMP read access.  Since PMP is not address translation, does HLVX require PMP execute permission in addition to read permission?



Thanks,


-Paul


Join {tech-privileged@lists.riscv.org to automatically receive all group messages.