Alexandra Diupina
3db74afec3
hw/intc/arm_gicv3_cpuif: Add cast to match the documentation
...
The result of 1 << regbit with regbit==31 has a 1 in the 32nd bit.
When cast to uint64_t (for further bitwise OR), the 32 most
significant bits will be filled with 1s. However, the documentation
states that the upper 32 bits of ICH_AP[0/1]R<n>_EL2 are reserved.
Add an explicit cast to match the documentation.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Cc: qemu-stable@nongnu.org
Fixes: c3f21b065a ("hw/intc/arm_gicv3_cpuif: Support vLPIs")
Signed-off-by: Alexandra Diupina <adiupina@astralinux.ru>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-10-15 11:29:45 +01:00
..
2024-10-03 19:33:25 +02:00
2024-09-24 13:53:35 +02:00
2024-09-13 15:31:44 +01:00
2024-05-03 15:47:47 +02:00
2024-10-15 11:29:45 +01:00
2024-10-14 17:34:09 +04:00
2024-05-03 15:47:47 +02:00
2024-10-02 16:14:29 +04:00
2024-10-04 19:28:37 +01:00
2024-10-01 13:55:39 +01:00
2024-04-25 12:48:12 +02:00
2024-09-13 15:31:44 +01:00
2024-10-14 17:34:09 +04:00
2024-10-01 14:58:07 +01:00
2024-09-13 15:31:44 +01:00
2024-10-01 14:44:42 +01:00
2024-10-03 19:33:23 +02:00
2024-09-24 13:53:35 +02:00
2024-09-16 17:44:08 +02:00
2024-10-04 19:28:37 +01:00
2024-10-02 16:14:29 +04:00
2024-10-01 14:41:10 +01:00
2024-10-15 11:29:45 +01:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-10-03 19:33:23 +02:00
2024-10-03 19:33:23 +02:00
2024-10-07 11:33:20 +02:00
2024-09-13 15:31:44 +01:00
2024-10-03 19:33:23 +02:00
2024-10-04 19:28:37 +01:00
2024-10-15 11:29:45 +01:00
2024-10-03 17:26:06 +03:00
2024-09-08 11:49:49 +02:00
2024-10-01 09:02:05 +02:00
2024-10-03 17:26:06 +03:00
2024-10-03 19:33:23 +02:00
2024-10-03 17:26:06 +03:00
2024-09-13 15:31:44 +01:00
2024-10-03 17:26:05 +03:00
2024-10-01 14:25:54 +01:00
2024-10-03 19:33:23 +02:00
2024-10-03 17:26:06 +03:00
2024-10-04 19:28:37 +01:00
2024-10-01 14:40:59 +01:00
2024-05-10 15:45:15 +02:00
2024-10-07 11:33:20 +02:00
2024-10-02 16:14:29 +04:00
2024-10-02 16:14:29 +04:00
2024-09-13 20:11:13 +02:00
2024-09-13 20:10:49 +02:00
2024-07-22 20:15:41 -04:00
2024-09-13 15:31:44 +01:00
2024-10-03 19:33:23 +02:00
2024-10-01 14:57:13 +01:00
2024-10-01 14:56:27 +01:00
2024-09-24 13:53:35 +02:00
2024-09-13 15:31:44 +01:00
2024-09-06 18:04:16 +09:00
2024-10-01 14:43:02 +01:00
2024-09-17 10:37:55 +02:00
2024-10-03 17:26:06 +03:00
2024-09-13 20:12:16 +02:00
2024-10-03 19:37:35 +02:00
2024-06-04 11:53:43 +02:00
2024-10-03 19:33:23 +02:00
2024-09-13 20:11:13 +02:00
2024-09-13 20:10:50 +02:00