summaryrefslogtreecommitdiffstats
path: root/scripts/qapi/error.py
diff options
context:
space:
mode:
authorPeter Maydell2022-07-07 12:38:36 +0200
committerPeter Maydell2022-07-07 12:38:36 +0200
commitf94a6df5dd6a7d30436c551b16633767e382d9a0 (patch)
tree33f53bfd7c1aa88f32a3421834d21cbab63ef564 /scripts/qapi/error.py
parenttarget/arm: Implement AArch32 DBGDEVID, DBGDEVID1, DBGDEVID2 (diff)
downloadqemu-f94a6df5dd6a7d30436c551b16633767e382d9a0.tar.gz
qemu-f94a6df5dd6a7d30436c551b16633767e382d9a0.tar.xz
qemu-f94a6df5dd6a7d30436c551b16633767e382d9a0.zip
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/error.py')
0 files changed, 0 insertions, 0 deletions