Peter Maydell
cf734c2a0f
hw/intc/arm_gicv3_cpuif: Fix register names in ICV_HPPIR read trace event
...
The trace_gicv3_icv_hppir_read trace event takes an integer value
which it uses to form the register name, which should be either
ICV_HPPIR0 or ICV_HPPIR1. We were passing in the 'grp' variable for
this, but that is either GICV3_G0 or GICV3_G1NS, which happen to be 0
and 2, which meant that tracing for the ICV_HPPIR1 register was
incorrectly printed as ICV_HPPIR2.
Use the same approach we do for all the other similar trace events,
and pass in 'ri->crm == 8 ? 0 : 1', deriving the index value
directly from the ARMCPRegInfo struct.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220303202341.2232284-6-peter.maydell@linaro.org
2022-03-07 13:16:50 +00:00
..
2019-08-16 13:31:53 +02:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2020-02-28 16:14:57 +00:00
2021-05-02 17:24:51 +02:00
2022-01-20 11:47:52 +00:00
2020-11-15 16:42:14 +01:00
2022-01-28 14:29:47 +00:00
2021-12-15 10:11:34 +00:00
2022-03-07 13:16:50 +00:00
2022-03-07 13:16:50 +00:00
2021-11-22 18:17:19 +00:00
2021-09-13 16:07:54 +01:00
2022-03-07 13:16:50 +00:00
2021-11-15 16:12:59 +00:00
2022-01-28 14:29:47 +00:00
2022-03-07 13:16:50 +00:00
2021-09-01 11:08:18 +01:00
2019-08-16 13:31:52 +02:00
2022-02-21 13:30:20 +00:00
2022-02-21 13:30:20 +00:00
2021-03-19 15:18:43 +01:00
2020-09-18 14:12:32 -04:00
2020-09-18 14:12:32 -04:00
2018-09-25 15:13:24 +01:00
2022-02-08 10:56:29 +00:00
2021-11-09 10:11:27 +01:00
2021-05-02 17:24:51 +02:00
2019-08-16 13:31:52 +02:00
2022-01-27 12:08:50 +01:00
2021-03-19 08:48:18 -04:00
2019-08-16 13:31:52 +02:00
2021-05-02 17:24:50 +02:00
2016-10-04 10:00:25 +02:00
2022-01-27 12:08:50 +01:00
2021-01-08 15:13:38 +00:00
2022-03-03 13:14:50 +10:00
2021-02-21 18:41:46 +01:00
2021-11-09 10:11:27 +01:00
2022-03-03 13:14:50 +10:00
2020-01-24 20:59:15 +01:00
2020-09-09 13:20:22 -04:00
2021-05-02 17:24:50 +02:00
2021-09-30 15:30:24 +02:00
2021-09-30 12:26:06 +10:00
2020-09-18 14:12:32 -04:00
2022-03-02 06:51:39 +01:00
2022-03-02 06:51:39 +01:00
2019-03-12 14:33:04 +11:00
2022-03-02 06:51:39 +01:00
2021-06-05 21:10:42 +02:00
2020-07-10 15:18:08 +02:00
2021-09-21 07:56:49 +10:00
2022-02-16 12:24:19 +10:00
2022-03-03 13:14:50 +10:00
2020-11-23 10:41:58 +00:00
2021-07-07 14:01:59 +02:00
2021-05-02 17:24:51 +02:00
2021-10-30 18:39:37 +02:00
2022-01-21 15:52:56 +10:00
2020-09-18 14:12:32 -04:00
2021-10-21 11:42:47 +11:00
2022-03-02 06:51:39 +01:00
2022-03-07 13:16:50 +00:00
2020-08-21 06:18:24 -04:00
2015-09-24 01:29:36 +01:00
2021-05-02 17:24:51 +02:00
2020-11-15 16:38:24 +01:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:51 +02:00
2020-09-09 09:27:09 -04:00
2022-03-02 06:51:39 +01:00
2022-03-02 06:51:39 +01:00
2020-01-24 20:59:15 +01:00
2019-08-16 13:31:52 +02:00