You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/hw/intc
Steve Sistare 376cdd7e9c hw/intc/arm_gicv3_kvm: preserve pending interrupts during cpr
Close a race condition that causes cpr-transfer to lose VFIO
interrupts on ARM.

CPR stops VCPUs but does not disable VFIO interrupts, which may continue
to arrive throughout the transition to new QEMU.

CPR calls kvm_irqchip_remove_irqfd_notifier_gsi in old QEMU to force
future interrupts to the producer eventfd, where they are preserved.
Old QEMU then destroys the old KVM instance.  However, interrupts may
already be pending in KVM state.  To preserve them, call ioctl
KVM_DEV_ARM_VGIC_SAVE_PENDING_TABLES to flush them to guest RAM, where
they will be picked up when the new KVM+VCPU instance is created.

Cc: qemu-stable@nongnu.org
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-id: 1754936384-278328-1-git-send-email-steven.sistare@oracle.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
1 week ago
..
allwinner-a10-pic.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
arm_gic.h hw/intc/arm_gic: introduce a first-cpu-index property 3 months ago
arm_gic_common.h hw/intc/arm_gic: introduce a first-cpu-index property 3 months ago
arm_gicv3.h Use DECLARE_*CHECKER* when possible (--force mode) 5 years ago
arm_gicv3_common.h hw/intc/arm_gicv3_kvm: preserve pending interrupts during cpr 1 week ago
arm_gicv3_its_common.h hw/intc/gicv3_its: Do not check its_class_name() 2 months ago
armv7m_nvic.h include/hw/intc: Remove ifndef CONFIG_USER_ONLY from armv7m_nvic.h 5 months ago
aspeed_intc.h hw/intc/aspeed: Add support for AST2700 TSP INTC 4 months ago
aspeed_vic.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
bcm2835_ic.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
bcm2836_control.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
exynos4210_combiner.h Clean up ill-advised or unusual header guards 3 years ago
exynos4210_gic.h hw/arm/exynos4210: Put external GIC into state struct 3 years ago
goldfish_pic.h include: Include headers where needed 3 years ago
grlib_irqmp.h hw/intc/grlib_irqmp: implements multicore irq 2 years ago
heathrow_pic.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
i8259.h intc: remove PICCommonState from typedefs.h 1 year ago
imx_avic.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
imx_gpcv2.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
intc.h hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info() 1 year ago
ioapic.h hw: Move ioapic*.h to intc/ 3 years ago
kvm_irqcount.h hw/intc: Extract the IRQ counting functions into a separate file 3 years ago
loongarch_extioi.h hw/intc/loongarch_extioi: Move unrealize function to common code 2 months ago
loongarch_extioi_common.h hw/intc/loongarch_extioi: Move unrealize function to common code 2 months ago
loongarch_ipi.h hw/intc/loongarch_ipi: Add kernel irqchip save and restore function 3 months ago
loongarch_pch_msi.h include: Include headers where needed 3 years ago
loongarch_pch_pic.h hw/intc/loongarch_pch: Add kernel irqchip save and restore function 3 months ago
loongarch_pic_common.h hw/intc/loongarch_pch: Add kernel irqchip save and restore function 3 months ago
loongson_ipi.h hw/intc/loongson_ipi: Move IPICore structure to loongson_ipi_common.h 1 year ago
loongson_ipi_common.h hw/intc/loongson_ipi: Add load and save interface with ipi_common class 3 months ago
loongson_liointc.h hw/intc: Rework Loongson LIOINTC 5 years ago
m68k_irqc.h hw/m68k/irqc: Pass CPU using QOM link property 2 years ago
mips_gic.h hw/mips: Declare all length properties as unsigned 3 years ago
ppc-uic.h hw/intc/ppc-uic: Convert ppc-uic to a PPC4xx DCR device 3 years ago
realview_gic.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
riscv_aclint.h hw/intc: Move mtimer/mtimecmp to aclint 3 years ago
riscv_aplic.h hw/intc/riscv_aplic: add kvm_msicfgaddr for split mode aplic-imsic 9 months ago
riscv_imsic.h hw/intc: Add RISC-V AIA IMSIC device emulation 4 years ago
rx_icu.h Clean up decorations and whitespace around header guards 3 years ago
sifive_plic.h hw/intc: sifive_plic: Drop PLICMode_H 3 years ago
xlnx-pmu-iomod-intc.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago
xlnx-zynqmp-ipi.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 5 years ago