Re: Is a Full VA or Block-Aligned VA Saved into *MTVAL on a page-fault?


David Kruckemyer
 

+tech-privileged@...
 
cc'ing mailing list, too....


On Fri, Oct 21, 2022 at 9:19 AM David Kruckemyer <dkruckemyer@...> wrote:
Hi Ricardo,

The original intent (which apparently was not captured in the spec) was that the effective address would be captured in *tval, just like a normal load or store.

I will add a clarification to the extension specification.

Cheers,
David


On Tue, Oct 18, 2022 at 3:48 PM Ricardo Ramirez <ricardo.ramirez@...> wrote:

When a breakpoint, access-fault, or page-fault exception occur on a CMO instruction (cbo.clean, cbo.flush, cbo.inval, cbo.zero), is the full virtual address provided in the register identified by rs1 saved into xtval or can a block-size aligned version of the VA be used?

Regards,
Ricardo

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