Re: [Qemu-devel] [PATCH v2 05/10] target/arm: Introduce arm_hcr_el2_eff

2018-12-06 Thread Richard Henderson
On 12/6/18 6:09 AM, Peter Maydell wrote: > On Mon, 3 Dec 2018 at 20:38, Richard Henderson > wrote: >> >> Replace arm_hcr_el2_{fmo,imo,amo} with a more general routine >> that also takes SCR_EL3.NS (aka arm_is_secure_below_el3) into >> account, as documented for the plethora of bits in HCR_EL2. >>

Re: [Qemu-devel] [PATCH v2 05/10] target/arm: Introduce arm_hcr_el2_eff

2018-12-06 Thread Peter Maydell
On Mon, 3 Dec 2018 at 20:38, Richard Henderson wrote: > > Replace arm_hcr_el2_{fmo,imo,amo} with a more general routine > that also takes SCR_EL3.NS (aka arm_is_secure_below_el3) into > account, as documented for the plethora of bits in HCR_EL2. > > Signed-off-by: Richard Henderson > --- > targe

[Qemu-devel] [PATCH v2 05/10] target/arm: Introduce arm_hcr_el2_eff

2018-12-03 Thread Richard Henderson
Replace arm_hcr_el2_{fmo,imo,amo} with a more general routine that also takes SCR_EL3.NS (aka arm_is_secure_below_el3) into account, as documented for the plethora of bits in HCR_EL2. Signed-off-by: Richard Henderson --- target/arm/cpu.h | 67 +-- hw/