Yong-Xuan Wang
0d0141fadc
hw/intc/riscv_aplic: Fix APLIC in_clrip and clripnum write emulation
...
In the section "4.7 Precise effects on interrupt-pending bits"
of the RISC-V AIA specification defines that:
"If the source mode is Level1 or Level0 and the interrupt domain
is configured in MSI delivery mode (domaincfg.DM = 1):
The pending bit is cleared whenever the rectified input value is
low, when the interrupt is forwarded by MSI, or by a relevant
write to an in_clrip register or to clripnum."
Update the riscv_aplic_set_pending() to match the spec.
Fixes: bf31cf06eb ("hw/intc/riscv_aplic: Fix setipnum_le write emulation for APLIC MSI-mode")
Signed-off-by: Yong-Xuan Wang <yongxuan.wang@sifive.com>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20241029085349.30412-1-yongxuan.wang@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2024-12-20 11:19:16 +10:00
..
2024-09-13 15:31:44 +01:00
2024-12-15 12:55:11 -06:00
2024-03-09 18:51:45 +01:00
2024-12-15 12:55:11 -06:00
2024-10-29 15:04:47 +00:00
2024-09-13 15:31:50 +01:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2021-12-15 10:11:34 +00:00
2024-10-15 11:29:45 +01:00
2024-04-25 10:21:05 +01:00
2024-04-25 10:21:06 +01:00
2024-12-15 12:55:11 -06:00
2024-12-17 15:19:06 +00:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:05 +01:00
2024-04-25 10:21:05 +01:00
2024-12-15 12:55:11 -06: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-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-06-21 14:01:58 +01:00
2024-04-25 10:21:05 +01:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-09-13 15:31:44 +01:00
2024-12-15 12:55:11 -06: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-15 12:55:11 -06:00
2024-08-06 10:22:52 +02:00
2023-01-13 16:22:57 +01:00
2024-12-15 12:55:11 -06:00
2024-08-06 10:22:52 +02:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-09-13 20:10:49 +02:00
2023-09-21 11:31:16 +03:00
2024-12-15 12:55:11 -06:00
2024-09-13 20:10:50 +02:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-09-13 15:31:44 +01:00
2024-07-26 09:51:33 +10:00
2024-12-15 12:55:11 -06:00
2023-09-06 11:19:33 +02:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2020-07-10 15:18:08 +02:00
2024-12-15 12:55:11 -06:00
2024-12-20 11:19:16 +10:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-09-13 15:31:44 +01:00
2024-12-15 12:55:11 -06:00
2021-10-30 18:39:37 +02:00
2024-12-15 12:55:11 -06:00
2024-09-13 15:31:44 +01:00
2024-11-04 09:14:10 +10:00
2024-12-15 12:55:11 -06: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
2022-04-06 14:31:55 +02:00
2020-11-15 16:38:24 +01:00
2024-06-19 12:40:49 +02:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-12-15 12:55:11 -06:00
2024-09-13 15:31:44 +01:00