aboutsummaryrefslogtreecommitdiff
path: root/scripts/shaderinclude.py
diff options
context:
space:
mode:
authorSong Gao <gaosong@loongson.cn>2024-05-28 16:38:53 +0800
committerSong Gao <gaosong@loongson.cn>2024-06-06 11:56:45 +0800
commitdc6f37eb957b2888fea78bda9da0cf0840dd795f (patch)
tree21963ef18289310c7465d76d4ab39d6b72fe4aa7 /scripts/shaderinclude.py
parenta73f7a00eea15c75fe9cfbeeaff5228f5ee24b61 (diff)
downloadqemu-dc6f37eb957b2888fea78bda9da0cf0840dd795f.zip
qemu-dc6f37eb957b2888fea78bda9da0cf0840dd795f.tar.gz
qemu-dc6f37eb957b2888fea78bda9da0cf0840dd795f.tar.bz2
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>
Diffstat (limited to 'scripts/shaderinclude.py')
0 files changed, 0 insertions, 0 deletions