OSDN Git Service

target/arm: Log CPU index in 'Taking exception' log
authorPeter Maydell <peter.maydell@linaro.org>
Sat, 22 Jan 2022 18:24:31 +0000 (18:24 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Jan 2022 14:29:47 +0000 (14:29 +0000)
commitfc6177af1137789dccb9e257bfae778d18381f90
tree60823cd0668d466715f226325b64042a5088dd12
parent0166f5c46627b872a9d26eae8ded4be45263a321
target/arm: Log CPU index in 'Taking exception' log

In an SMP system it can be unclear which CPU is taking an exception;
add the CPU index (which is the same value used in the TCG 'Trace
%d:' logging) to the "Taking exception" log line to clarify it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220122182444.724087-2-peter.maydell@linaro.org
target/arm/helper.c
target/arm/internals.h
target/arm/m_helper.c