Song Gao
dc6f37eb95
hw/intc/loongarch_extioi: Add extioi virt extension definition
On LoongArch, IRQs can be routed to four vcpus with hardware extended
IRQ model. This patch adds the virt extension definition so that
the IRQ can route to 256 vcpus.
1.Extended IRQ model:
|
+-----------+ +-------------|--------+ +-----------+
| IPI/Timer | --> | CPUINTC(0-3)|(4-255) | <-- | IPI/Timer |
+-----------+ +-------------|--------+ +-----------+
^ |
|
+---------+
| EIOINTC |
+---------+
^ ^
| |
+---------+ +---------+
| PCH-PIC | | PCH-MSI |
+---------+ +---------+
^ ^ ^
| | |
+--------+ +---------+ +---------+
| UARTs | | Devices | | Devices |
+--------+ +---------+ +---------+
2.Virt extended IRQ model:
+-----+ +---------------+ +-------+
| IPI |--> | CPUINTC(0-255)| <-- | Timer |
+-----+ +---------------+ +-------+
^
|
+-----------+
| V-EIOINTC |
+-----------+
^ ^
| |
+---------+ +---------+
| PCH-PIC | | PCH-MSI |
+---------+ +---------+
^ ^ ^
| | |
+--------+ +---------+ +---------+
| UARTs | | Devices | | Devices |
+--------+ +---------+ +---------+
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Message-Id: <20240528083855.1912757-2-gaosong@loongson.cn>
2024-06-06 11:56:45 +08:00
..
2023-12-29 11:17:30 +11:00
2024-02-14 06:09:32 -05:00
2024-03-09 18:51:45 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01:00
2024-05-30 13:21:06 +01:00
2020-11-15 16:42:14 +01:00
2024-04-25 10:21:06 +01:00
2021-12-15 10:11:34 +00:00
2024-04-25 10:21:05 +01:00
2024-04-25 10:21:05 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01:00
2024-04-25 10:21:06 +01: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-01-09 14:42:40 +00:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2021-03-19 15:18:43 +01:00
2023-12-29 11:17:30 +11:00
2022-04-21 09:27:54 -07:00
2018-09-25 15:13:24 +01:00
2024-04-25 10:21:05 +01:00
2023-12-29 11:17:30 +11:00
2024-03-09 19:17:01 +01:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-03-08 00:37:48 +01:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2016-10-04 10:00:25 +02:00
2024-03-12 11:45:33 +01:00
2023-02-27 22:29:01 +01:00
2024-05-10 15:45:15 +02:00
2023-03-15 11:52:25 +01:00
2024-05-09 00:07:21 +02:00
2023-01-13 16:22:57 +01:00
2024-06-06 11:56:45 +08:00
2024-05-09 00:07:21 +02:00
2023-01-06 10:54:20 +08:00
2023-12-29 11:17:30 +11:00
2024-05-09 00:07:21 +02:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2024-05-10 15:45:15 +02:00
2023-10-04 11:03:54 -07:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2021-09-30 15:30:24 +02:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-06-10 10:19:24 -03:00
2023-09-06 11:19:33 +02:00
2023-09-06 11:19:33 +02:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2020-07-10 15:18:08 +02:00
2023-12-29 11:17:30 +11:00
2024-06-03 11:12:11 +10:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2024-05-03 15:47:48 +02:00
2024-05-17 11:18:32 +02:00
2021-10-30 18:39:37 +02:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2024-05-09 00:07:21 +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
2021-05-02 17:24:51 +02:00
2024-04-25 10:21:06 +01:00
2023-01-12 17:15:09 +00:00
2023-09-21 11:31:16 +03:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00
2023-12-29 11:17:30 +11:00