mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
![]() 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> |
||
---|---|---|
.. | ||
allwinner-a10-pic.h | ||
arm_gic.h | ||
arm_gic_common.h | ||
arm_gicv3.h | ||
arm_gicv3_common.h | ||
arm_gicv3_its_common.h | ||
armv7m_nvic.h | ||
aspeed_vic.h | ||
bcm2835_ic.h | ||
bcm2836_control.h | ||
exynos4210_combiner.h | ||
exynos4210_gic.h | ||
goldfish_pic.h | ||
grlib_irqmp.h | ||
heathrow_pic.h | ||
i8259.h | ||
imx_avic.h | ||
imx_gpcv2.h | ||
intc.h | ||
ioapic.h | ||
kvm_irqcount.h | ||
loongarch_extioi.h | ||
loongarch_pch_msi.h | ||
loongarch_pch_pic.h | ||
loongson_ipi.h | ||
loongson_liointc.h | ||
m68k_irqc.h | ||
mips_gic.h | ||
ppc-uic.h | ||
realview_gic.h | ||
riscv_aclint.h | ||
riscv_aplic.h | ||
riscv_imsic.h | ||
rx_icu.h | ||
sifive_plic.h | ||
xlnx-pmu-iomod-intc.h | ||
xlnx-zynqmp-ipi.h |