Re: [PATCH 14/35] target/arm: Make NV reads of CurrentEL return EL2

2023-12-27 Thread Richard Henderson
On 12/18/23 22:32, Peter Maydell wrote: FEAT_NV requires that when HCR_EL2.NV is set reads of the CurrentEL register from EL1 always report EL2 rather than the real EL. Implement this. Signed-off-by: Peter Maydell --- target/arm/tcg/translate-a64.c | 9 +++-- 1 file changed, 7 insertions(

[PATCH 14/35] target/arm: Make NV reads of CurrentEL return EL2

2023-12-18 Thread Peter Maydell
FEAT_NV requires that when HCR_EL2.NV is set reads of the CurrentEL register from EL1 always report EL2 rather than the real EL. Implement this. Signed-off-by: Peter Maydell --- target/arm/tcg/translate-a64.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/target/arm