qemu-e2k/hw
Peter Maydell e97be73c97 hw/intc/arm_gicv3_redist: Factor out "update hpplpi for one LPI" logic
Currently the functions which update the highest priority pending LPI
information by looking at the LPI Pending and Configuration tables
are hard-coded to use the physical LPI tables addressed by
GICR_PENDBASER and GICR_PROPBASER.  To support virtual LPIs we will
need to do essentially the same job, but looking at the current
virtual LPI Pending and Configuration tables and updating cs->hppvlpi
instead of cs->hpplpi.

Factor out the common part of the gicv3_redist_check_lpi_priority()
function into a new update_for_one_lpi() function, which updates
a PendingIrq struct if the specified LPI is higher priority than
what is currently recorded there.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220408141550.1271295-28-peter.maydell@linaro.org
2022-04-22 14:44:53 +01:00
..
9pfs
acpi
adc
alpha
arm Misc cleanups 2022-04-21 09:27:54 -07:00
audio
avr
block
char
core hw/core/irq: remove unused 'qemu_irq_split' function 2022-04-21 11:37:04 +01:00
cpu
cris
display
dma
gpio
hppa
hyperv hw/hyperv: remove needless qemu-common.h include 2022-04-21 16:56:55 +04:00
i2c
i386 hw: Add compat machines for 7.1 2022-04-20 09:36:24 +02:00
ide
input
intc hw/intc/arm_gicv3_redist: Factor out "update hpplpi for one LPI" logic 2022-04-22 14:44:53 +01:00
ipack
ipmi
isa
m68k hw: Add compat machines for 7.1 2022-04-20 09:36:24 +02:00
mem
microblaze
mips
misc Misc cleanups 2022-04-21 09:27:54 -07:00
net util/log: Remove qemu_log_flush 2022-04-20 10:51:11 -07:00
nios2
nubus
nvme
nvram
openrisc
pci pcie: Don't try triggering a LSI when not defined 2022-04-20 18:00:30 -03:00
pci-bridge
pci-host ppc/pnv: Remove LSI on the PCIE host bridge 2022-04-20 18:00:30 -03:00
pcmcia
ppc hw/ppc: change indentation to spaces from TABs 2022-04-20 18:00:30 -03:00
rdma
remote
riscv
rtc
rx hw/rx: rx-gdbsim DTB load address aligned of 16byte. 2022-04-21 10:06:42 -07:00
s390x hw: Add compat machines for 7.1 2022-04-20 09:36:24 +02:00
scsi
sd
sensor
sh4
smbios
sparc
sparc64
ssi
timer timer: cadence_ttc: Break out header file to allow embedding 2022-04-21 11:37:03 +01:00
tpm
tricore
usb
vfio
virtio Don't include sysemu/tcg.h if it is not necessary 2022-04-20 12:12:47 -07:00
watchdog
xen util/log: Remove qemu_log_flush 2022-04-20 10:51:11 -07:00
xenpv
xtensa
Kconfig
meson.build