Closed deepak0414 closed 11 months ago
I agree this case should be treated as physical address translation (zero extension). We can add a clarification to the spec and I will keep this issue open until then.
Added a non-normative comment in 92a88a2.
Section 2.2 (Ignore Transformation) in current spec (0.7) says that
Additionally it says
Consider software running in VS / VU mode with vsatp.MODE = Bare (but hgatp.MODE != Bare) From PM perspective is it considered non-bare address translation mode or bare translation mode ? In this situation, PM is applying to VS / VU mode software and from their perspective its Bare mode. And all they care about is their own address space which is physical and thus sign extension won't apply. Is my understanding correct? Probably having this clarification somewhere in spec would be useful.
Let me know if I missed something or overthinking this and it is spelled out somewhere in spec.