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
Peter Maydell ff8b906a00 hw/intc/arm_gicv3_cpuif(): Remove redundant tests of is_a64()
In the gicv3_{irq,fiq,irqfiq}_access() functions, in the
arm_current_el(env) == 3 case we do the following test:
    if (!is_a64(env) && !arm_is_el3_or_mon(env)) {
        r = CP_ACCESS_TRAP_EL3;
    }

In this check, the "!is_a64(env)" is redundant, because if
we are at EL3 and in AArch64 then arm_is_el3_or_mon() will
return true and we will skip the if() body anyway.

Remove the unnecessary tests.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20250130182309.717346-9-peter.maydell@linaro.org
2 days ago
..
Kconfig hw/intc/loongarch_ipi: Add loongarch IPI support 7 months ago
allwinner-a10-pic.c hw/arm: Mark Allwinner Technology devices as little-endian 6 days ago
apic.c hw/intc/apic: Fixes magic number use, removes outdated comment 6 days ago
apic_common.c Accel & Exec patch queue 2 months ago
arm_gic.c include: Rename sysemu/ -> system/ 2 months ago
arm_gic_common.c Accel & Exec patch queue 2 months ago
arm_gic_kvm.c include: Rename sysemu/ -> system/ 2 months ago
arm_gicv2m.c Accel & Exec patch queue 2 months ago
arm_gicv3.c hw/intc/arm_gicv3: Implement NMI interrupt priority 10 months ago
arm_gicv3_common.c Accel & Exec patch queue 2 months ago
arm_gicv3_cpuif.c hw/intc/arm_gicv3_cpuif(): Remove redundant tests of is_a64() 2 days ago
arm_gicv3_cpuif_common.c hw/intc/arm_gicv3: Extract gicv3_set_gicv3state from arm_gicv3_cpuif.c 3 years ago
arm_gicv3_dist.c hw/intc/arm_gicv3: Implement GICD_INMIR 10 months ago
arm_gicv3_its.c * qdev: second part of Property cleanups 2 months ago
arm_gicv3_its_common.c include: Rename sysemu/ -> system/ 2 months ago
arm_gicv3_its_kvm.c Accel & Exec patch queue 2 months ago
arm_gicv3_kvm.c include: Rename sysemu/ -> system/ 2 months ago
arm_gicv3_redist.c hw/intc/arm_gicv3: Implement NMI interrupt priority 10 months ago
armv7m_nvic.c Accel & Exec patch queue 2 months ago
aspeed_intc.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
aspeed_vic.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
bcm2835_ic.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
bcm2836_control.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
exynos4210_combiner.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
exynos4210_gic.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
gic_internal.h hw/intc/arm_gic: Fix deactivation of SPI lines 8 months ago
gicv3_internal.h hw/intc/arm_gicv3: Handle icv_nmiar1_read() for icc_nmiar1_read() 10 months ago
goldfish_pic.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
grlib_irqmp.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
heathrow_pic.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
i8259.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
i8259_common.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
imx_avic.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
imx_gpcv2.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
intc.c
ioapic-stub.c i386: select correct components for no-board build 10 months ago
ioapic.c Accel & Exec patch queue 2 months ago
ioapic_common.c hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info() 8 months ago
ioapic_internal.h hw: Move ioapic*.h to intc/ 2 years ago
kvm_irqcount.c hw/intc: Extract the IRQ counting functions into a separate file 2 years ago
loongarch_extioi.c hw/intc/loongarch_extioi: Add irq routing support from physical id 1 month ago
loongarch_extioi_common.c hw/intc/loongarch_extioi: Remove num-cpu property 1 month ago
loongarch_ipi.c hw/intc/loongarch_ipi: Use alternative implemation for cpu_by_arch_id 1 month ago
loongarch_pch_msi.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
loongarch_pch_pic.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
loongarch_pic_common.c * qdev: second part of Property cleanups 2 months ago
loongson_ipi.c hw/intc/loongson_ipi: Add more input parameter for cpu_by_arch_id 1 month ago
loongson_ipi_common.c hw/intc/loongson_ipi: Add more input parameter for cpu_by_arch_id 1 month ago
loongson_liointc.c hw/other: spelling fixes 1 year ago
m68k_irqc.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
meson.build hw/intc/loongarch_extioi: Inherit from loongarch_extioi_common 2 months ago
mips_gic.c Accel & Exec patch queue 2 months ago
omap_intc.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
ompic.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
openpic.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
openpic_kvm.c Accel & Exec patch queue 2 months ago
pl190.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
pnv_xive.c Accel & Exec patch queue 2 months ago
pnv_xive2.c Accel & Exec patch queue 2 months ago
pnv_xive2_regs.h pnv/xive2: Enable VST NVG and NVC index compression 7 months ago
pnv_xive_regs.h ppc/xive: Handle END triggers between chips with MMIOs 1 year ago
ppc-uic.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
realview_gic.c
riscv_aclint.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
riscv_aplic.c Accel & Exec patch queue 2 months ago
riscv_imsic.c Accel & Exec patch queue 2 months ago
rx_icu.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
s390_flic.c hw/s390x: Remove the "adapter_routes_max_batch" property from the flic 2 months ago
s390_flic_kvm.c include: Rename sysemu/ -> system/ 2 months ago
sh_intc.c hw/intc/sh_intc: Remove unneeded local variable initialisers 3 years ago
sifive_plic.c Accel & Exec patch queue 2 months ago
slavio_intctl.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago
spapr_xive.c Accel & Exec patch queue 2 months ago
spapr_xive_kvm.c include: Rename sysemu/ -> system/ 2 months ago
trace-events aspeed/intc: Add AST2700 support 8 months ago
trace.h trace: switch position of headers to what Meson requires 5 years ago
vgic_common.h
xics.c Accel & Exec patch queue 2 months ago
xics_kvm.c include: Rename sysemu/ -> system/ 2 months ago
xics_pnv.c non-virt: Fix Lesser GPL version number 4 years ago
xics_spapr.c hw/ppc: Avoid using Monitor in SpaprInterruptControllerClass::print_info() 8 months ago
xilinx_intc.c hw/intc/xilinx_intc: Make device endianness configurable 6 days ago
xive.c Accel & Exec patch queue 2 months ago
xive2.c Accel & Exec patch queue 2 months ago
xlnx-pmu-iomod-intc.c include/hw/qdev-properties: Remove DEFINE_PROP_END_OF_LIST 2 months ago
xlnx-zynqmp-ipi.c hw: Use device_class_set_legacy_reset() instead of opencoding 5 months ago