Peter Maydell
ff8b906a00
hw/intc/arm_gicv3_cpuif(): Remove redundant tests of is_a64()
...
In the gicv3_{irq,fiq,irqfiq}_access() functions, in the
arm_current_el(env) == 3 case we do the following test:
if (!is_a64(env) && !arm_is_el3_or_mon(env)) {
r = CP_ACCESS_TRAP_EL3;
}
In this check, the "!is_a64(env)" is redundant, because if
we are at EL3 and in AArch64 then arm_is_el3_or_mon() will
return true and we will skip the if() body anyway.
Remove the unnecessary tests.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250130182309.717346-9-peter.maydell@linaro.org
2025-02-20 14:20:28 +00:00
..
2025-02-16 14:41:46 +01:00
2024-12-21 11:07:00 -05:00
2025-02-16 14:25:07 +01:00
2024-12-21 11:07:00 -05:00
2024-12-20 17:44:56 +01:00
2024-12-20 17:44:56 +01:00
2024-12-21 11:07:00 -05:00
2024-12-21 11:07:00 -05:00
2021-12-15 10:11:34 +00:00
2025-02-20 14:20:28 +00:00
2024-04-25 10:21:05 +01:00
2024-12-20 17:44:56 +01:00
2024-12-21 11:07:00 -05:00
2024-12-21 08:06:50 -05:00
2024-12-20 17:44:56 +01:00
2024-04-25 10:21:05 +01:00
2024-04-25 10:21:05 +01:00
2024-12-21 11:07:00 -05:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-06-21 14:01:58 +01:00
2024-04-25 10:21:05 +01:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2024-09-13 15:31:44 +01:00
2016-10-04 10:00:25 +02:00
2024-06-19 12:40:49 +02:00
2023-02-27 22:29:01 +01:00
2024-05-10 15:45:15 +02:00
2024-12-21 11:07:00 -05:00
2024-08-06 10:22:52 +02:00
2023-01-13 16:22:57 +01:00
2025-01-09 14:13:31 +08:00
2025-01-09 14:13:41 +08:00
2025-01-15 14:36:19 +08:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-21 08:06:50 -05:00
2025-01-15 14:33:49 +08:00
2025-01-15 14:33:49 +08:00
2023-09-21 11:31:16 +03:00
2024-12-19 19:36:37 +01:00
2024-12-19 15:23:29 +08:00
2024-12-21 11:07:00 -05:00
2024-12-19 19:36:37 +01:00
2024-12-19 19:36:37 +01:00
2024-12-21 11:07:00 -05:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00
2024-07-26 09:51:33 +10:00
2024-12-21 11:07:00 -05:00
2023-09-06 11:19:33 +02:00
2024-12-21 11:07:00 -05:00
2024-12-19 19:36:37 +01:00
2020-07-10 15:18:08 +02:00
2024-12-19 19:36:37 +01:00
2024-12-21 11:07:00 -05:00
2024-12-21 11:07:00 -05:00
2024-12-19 19:36:37 +01:00
2024-12-20 17:44:56 +01:00
2025-01-07 14:51:39 +01:00
2021-10-30 18:39:37 +02:00
2024-12-21 11:07:00 -05:00
2024-09-13 15:31:44 +01:00
2024-12-20 17:44:56 +01:00
2024-12-21 11:07:00 -05:00
2024-06-16 21:08:54 +02:00
2020-08-21 06:18:24 -04:00
2015-09-24 01:29:36 +01:00
2024-12-20 17:44:56 +01:00
2020-11-15 16:38:24 +01:00
2024-06-19 12:40:49 +02:00
2024-12-21 11:07:00 -05:00
2025-02-16 14:34:09 +01:00
2024-12-21 11:07:00 -05:00
2024-12-21 11:07:00 -05:00
2024-12-19 19:36:37 +01:00
2024-09-13 15:31:44 +01:00