| commit | b7ecc3da6c87f8a57805acfc46922684f8a26eea | [log] [tgz] |
|---|---|---|
| author | Peter Maydell <peter.maydell@linaro.org> | Tue Jan 09 14:43:48 2024 +0000 |
| committer | Peter Maydell <peter.maydell@linaro.org> | Tue Jan 09 14:43:48 2024 +0000 |
| tree | 428fb6718860cf9fdf996131568994af3520b69b | |
| parent | 67d10fc4737a44366524295ea6049841e5e593e6 [diff] |
target/arm: Make NV reads of CurrentEL return EL2 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 <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Miguel Luis <miguel.luis@oracle.com>