diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2022-07-07 11:38:36 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-07-07 11:38:36 +0100 |
commit | f94a6df5dd6a7d30436c551b16633767e382d9a0 (patch) | |
tree | 33f53bfd7c1aa88f32a3421834d21cbab63ef564 /scripts/qapi/common.py | |
parent | 09754ca867f42d26c5f65350b4c08e958ec9a8da (diff) |
target/arm: Correctly implement Feat_DoubleLock
The architecture defines the OS DoubleLock as a register which
(similarly to the OS Lock) suppresses debug events for use in CPU
powerdown sequences. This functionality is required in Arm v7 and
v8.0; from v8.2 it becomes optional and in v9 it must not be
implemented.
Currently in QEMU we implement the OSDLR_EL1 register as a NOP. This
is wrong both for the "feature implemented" and the "feature not
implemented" cases: if the feature is implemented then the DLK bit
should read as written and cause suppression of debug exceptions, and
if it is not implemented then the bit must be RAZ/WI.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi/common.py')
0 files changed, 0 insertions, 0 deletions