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/hw/intc
Cédric Le Goater 3abfbb5711 hw/intc/ioapic: Fix ACCEL_KERNEL_GSI_IRQFD_POSSIBLE typo
Commit 638ac1c784 introduced a regression in interrupt remapping
when running a VM configured with an intel-iommu device and an
assigned PCI VF. During boot, Linux reports repeated messages :

 [   15.416794] __common_interrupt: 2.37 No irq handler for vector
 [   15.417266] __common_interrupt: 2.37 No irq handler for vector
 [   15.417733] __common_interrupt: 2.37 No irq handler for vector
 [   15.418202] __common_interrupt: 2.37 No irq handler for vector
 [   15.418670] __common_interrupt: 2.37 No irq handler for vector

and may eventually hang.

The issue is caused by the incorrect use of the macro
ACCEL_KERNEL_GSI_IRQFD_POSSIBLE, which should instead be
ACCEL_GSI_IRQFD_POSSIBLE.

Fixes: 638ac1c784 ("hw/intc: Generalize APIC helper names from kvm_* to accel_*")
Cc: Magnus Kulke <magnuskulke@linux.microsoft.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20251106105148.737093-1-clg@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2 weeks ago
..
Kconfig loongarch: add a direct interrupt controller device 2 months ago
allwinner-a10-pic.c qom: Have class_init() take a const data argument 7 months ago
apic.c hw/intc/apic: Pass APICCommonState to apic_register_{read,write} 1 month ago
apic_common.c hw/i386/apic: Prefer APICCommonState over DeviceState 1 month ago
arm_gic.c hw/intc/arm_gic: introduce a first-cpu-index property 6 months ago
arm_gic_common.c hw/intc/arm_gic: introduce a first-cpu-index property 6 months ago
arm_gic_kvm.c qom: Have class_init() take a const data argument 7 months ago
arm_gicv2m.c qom: Have class_init() take a const data argument 7 months ago
arm_gicv3.c qom: Have class_init() take a const data argument 7 months ago
arm_gicv3_common.c hw/intc/arm_gicv3: Introduce a 'first-cpu-index' property 2 months ago
arm_gicv3_cpuif.c hw/intc/arm_gicv3: Introduce a 'first-cpu-index' property 2 months ago
arm_gicv3_cpuif_common.c
arm_gicv3_dist.c hw/intc/arm_gicv3_dist: Implement GICD_TYPER2 as 0 1 month ago
arm_gicv3_its.c qom: Have class_init() take a const data argument 7 months ago
arm_gicv3_its_common.c qom: Have class_init() take a const data argument 7 months ago
arm_gicv3_its_kvm.c qom: Have class_init() take a const data argument 7 months ago
arm_gicv3_kvm.c migration: Don't free the reason after calling migrate_add_blocker 1 month ago
arm_gicv3_redist.c hw/intc/arm_gicv3: Implement NMI interrupt priority 2 years ago
armv7m_nvic.c arm/cpu: store clidr into the idregs array 5 months ago
aspeed_intc.c hw/intc/aspeed Fix coding style 6 months ago
aspeed_vic.c qom: Have class_init() take a const data argument 7 months ago
bcm2835_ic.c qom: Have class_init() take a const data argument 7 months ago
bcm2836_control.c qom: Have class_init() take a const data argument 7 months ago
exynos4210_combiner.c qom: Have class_init() take a const data argument 7 months ago
exynos4210_gic.c qom: Have class_init() take a const data argument 7 months ago
gic_internal.h hw/intc/arm_gic: Fix deactivation of SPI lines 1 year ago
gicv3_internal.h hw/intc/arm_gicv3_dist: Implement GICD_TYPER2 as 0 1 month ago
goldfish_pic.c qom: Make InterfaceInfo[] uses const 7 months ago
grlib_irqmp.c qom: Have class_init() take a const data argument 7 months ago
heathrow_pic.c qom: Have class_init() take a const data argument 7 months ago
i8259.c hw/intc/i8259: Remove unused DEBUG_PIC define 7 months ago
i8259_common.c qom: Make InterfaceInfo[] uses const 7 months ago
imx_avic.c qom: Have class_init() take a const data argument 7 months ago
imx_gpcv2.c qom: Have class_init() take a const data argument 7 months ago
intc.c
ioapic-stub.c i386: select correct components for no-board build 2 years ago
ioapic.c hw/intc/ioapic: Fix ACCEL_KERNEL_GSI_IRQFD_POSSIBLE typo 2 weeks ago
ioapic_common.c qom: Make InterfaceInfo[] uses const 7 months ago
ioapic_internal.h include/system: Move exec/memory.h to system/memory.h 8 months ago
kvm_irqcount.c
loongarch_dintc.c hw/intc/loongarch_dintc: Set class_size for LoongArchDINTCClass 2 months ago
loongarch_extioi.c hw/intc/loongarch_extioi: Move unrealize function to common code 5 months ago
loongarch_extioi_common.c hw/intc/loongarch_extioi: Move unrealize function to common code 5 months ago
loongarch_extioi_kvm.c hw/intc/loongarch_extioi: Remove unnecessary 'qemu/typedefs.h' include 5 months ago
loongarch_ipi.c hw/loongarch/virt: Add reset support for kernel irqchip 6 months ago
loongarch_ipi_kvm.c hw/intc/loongarch_ipi: Fix start fail with smp cpu < smp maxcpus on KVM 4 months ago
loongarch_pch_msi.c hw/intc/loongarch_pch_msi: Inject MSI interrupt to kernel 6 months ago
loongarch_pch_pic.c hw/intc/loongarch_pch_pic: Fix ubsan warning and endianness issue 3 months ago
loongarch_pic_common.c hw/intc/loongarch_pch: Set version information at initial stage 7 months ago
loongarch_pic_kvm.c hw/loongarch/virt: Remove header file ls7a.h 2 months ago
loongson_ipi.c qom: Have class_init() take a const data argument 7 months ago
loongson_ipi_common.c hw/intc/loongson_ipi: Add load and save interface with ipi_common class 6 months ago
loongson_liointc.c hw/other: spelling fixes 2 years ago
m68k_irqc.c qom: Make InterfaceInfo[] uses const 7 months ago
meson.build loongarch: add a direct interrupt controller device 2 months ago
mips_gic.c qom: Have class_init() take a const data argument 7 months ago
omap_intc.c hw/arm: Replace TABs for spaces in OMAP board and device code 7 months ago
ompic.c qom: Have class_init() take a const data argument 7 months ago
openpic.c qom: Have class_init() take a const data argument 7 months ago
openpic_kvm.c qom: Have class_init() take a const data argument 7 months ago
pl190.c qom: Have class_init() take a const data argument 7 months ago
pnv_xive.c ppc/xive: Change presenter .match_nvt to match not present 5 months ago
pnv_xive2.c ppc/pnv: Add PnvChipClass handler to get reference to interrupt controller 2 months ago
pnv_xive2_regs.h ppc/xive2: add interrupt priority configuration flags 5 months ago
pnv_xive_regs.h
ppc-uic.c qom: Have class_init() take a const data argument 7 months ago
realview_gic.c qom: Have class_init() take a const data argument 7 months ago
riscv_aclint.c hw/intc: Allow gaps in hartids for aclint and aplic 1 month ago
riscv_aplic.c hw/intc: Allow gaps in hartids for aclint and aplic 1 month ago
riscv_imsic.c migration: Fix migration failure when aia is configured as aplic-imsic 5 months ago
rx_icu.c qom: Have class_init() take a const data argument 7 months ago
s390_flic.c add cpu_test_interrupt()/cpu_set_interrupt() helpers and use them tree wide 3 months ago
s390_flic_kvm.c qom: Have class_init() take a const data argument 7 months ago
sh_intc.c
sifive_plic.c qom: Have class_init() take a const data argument 7 months ago
slavio_intctl.c qom: Make InterfaceInfo[] uses const 7 months ago
spapr_xive.c ppc/xive: Change presenter .match_nvt to match not present 5 months ago
spapr_xive_kvm.c include: Rename sysemu/ -> system/ 12 months ago
trace-events ppc/xive: Add more interrupt notification tracing 5 months ago
trace.h
vgic_common.h
xics.c hw/intc/xics: Add missing call to register vmstate_icp_server 2 months ago
xics_kvm.c include: Rename sysemu/ -> system/ 12 months ago
xics_pnv.c qom: Have class_init() take a const data argument 7 months ago
xics_spapr.c qom: Make InterfaceInfo[] uses const 7 months ago
xilinx_intc.c qom: Have class_init() take a const data argument 7 months ago
xive.c ppc/xive: Split need_resend into restore_nvp 5 months ago
xive2.c ppc/xive2: Fix integer overflow warning in xive2_redistribute() 2 months ago
xlnx-pmu-iomod-intc.c qom: Have class_init() take a const data argument 7 months ago
xlnx-zynqmp-ipi.c qom: Have class_init() take a const data argument 7 months ago