Hello,
I'm trying to run the Sv39 debug test on a platform that has 40 bit physical addresses. The start of main memory is placed at 0x80_0000_0000. This prevents the test from working because the core detects an incorrectly sign-extended address (bit 39 is 1, but 38 isn't) and triggers a page fault on the first memory access after enabling virtualization and configuring mprv.
Right now I don't really know how to solve this, but I guess supporting these scenarios would require to stop relying on the identity mapping for checking the correct reads and writes from debug mode.