OSDN Git Service

target/arm: provide stubs for more external debug registers
authorEvgeny Iakovlev <eiakovlev@linux.microsoft.com>
Fri, 20 Jan 2023 15:59:29 +0000 (16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 23 Jan 2023 13:32:38 +0000 (13:32 +0000)
commitb3aa2f21284d1d2713d0eb0253001eeebad3d582
treeace1406629ffed22df5cc766cd10c18428a0147a
parent5fc83f112866c4a136c36fd33e62c31228194bde
target/arm: provide stubs for more external debug registers

Qemu doesn't implement Debug Communication Channel, as well as the rest
of external debug interface. However, Microsoft Hyper-V in tries to
access some of those registers during an EL2 context switch.

Since there is no architectural way to not advertise support for external
debug, provide RAZ/WI stubs for OSDTRRX_EL1, OSDTRTX_EL1 and OSECCR_EL1
registers in the same way the rest of DCM is currently done. Do account
for access traps though with access_tda.

Signed-off-by: Evgeny Iakovlev <eiakovlev@linux.microsoft.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20230120155929.32384-3-eiakovlev@linux.microsoft.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/debug_helper.c