Re: [Qemu-devel] [PATCH 07/10] target/arm: Implement HCR.PTW

2018-10-15 Thread Richard Henderson
On 10/12/18 7:42 AM, Peter Maydell wrote: > If the HCR_EL2 PTW virtualizaiton configuration register bit > is set, then this means that a stage 2 Permission fault must > be generated if a stage 1 translation table access is made > to an address that is mapped as Device memory in stage 2. > Implemen

[Qemu-devel] [PATCH 07/10] target/arm: Implement HCR.PTW

2018-10-12 Thread Peter Maydell
If the HCR_EL2 PTW virtualizaiton configuration register bit is set, then this means that a stage 2 Permission fault must be generated if a stage 1 translation table access is made to an address that is mapped as Device memory in stage 2. Implement this. Signed-off-by: Peter Maydell --- target/a