target/arm: Check VSTCR.SW when assigning the stage 2 output PA space
Quoted 7 lines · Rémi Denis-Courmont
The
VTCR_EL2specification says that the NSA bit "behaves as 1 for all purposes other than reading back the value of the bit when one of the following is true (...)
* The value of VTCR_EL2.NSW is 1.
* The value of VSTCR_EL2.SA is 1."Sorry but I don't see any reason to check the SW bit here.
That still does not cover the case of NSA=0, NSW=0, SA=0, SW=1.
Quoted 3 lines
Signature · 2 lines
Реми Дёни-Курмон http://www.remlab.net/
Idan Horowitz