Re: [PATCH 13/35] target/arm: Trap sysreg accesses for FEAT_NV

2023-12-27 Thread Richard Henderson
On 12/18/23 22:32, Peter Maydell wrote: For FEAT_NV, accesses to system registers and instructions from EL1 which would normally UNDEF there but which work in EL2 need to instead be trapped to EL2. Detect this both for "we know this will UNDEF at translate time" and "we found this UNDEFs at runti

[PATCH 13/35] target/arm: Trap sysreg accesses for FEAT_NV

2023-12-18 Thread Peter Maydell
For FEAT_NV, accesses to system registers and instructions from EL1 which would normally UNDEF there but which work in EL2 need to instead be trapped to EL2. Detect this both for "we know this will UNDEF at translate time" and "we found this UNDEFs at runtime", and make the affected registers trap