qemu-cr16/include/hw/ppc
Glenn Miles f16697292a ppc/xive2: Fix calculation of END queue sizes
The queue size of an Event Notification Descriptor (END)
is determined by the 'cl' and QsZ fields of the END.
If the cl field is 1, then the queue size (in bytes) will
be the size of a cache line 128B * 2^QsZ and QsZ is limited
to 4.  Otherwise, it will be 4096B * 2^QsZ with QsZ limited
to 12.

Fixes: f8a233dedf ("ppc/xive2: Introduce a XIVE2 core framework")
Signed-off-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Michael Kowal <kowal@linux.ibm.com>
Reviewed-by: Caleb Schlossin <calebs@linux.ibm.com>
Tested-by: Gautam Menghani <gautam@linux.ibm.com>
Link: https://lore.kernel.org/qemu-devel/20250512031100.439842-4-npiggin@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2025-07-21 08:03:52 +02:00
..
fdt.h
mac_dbdma.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
openpic.h
openpic_kvm.h
pnv.h ppc/pnv/homer: class-based base and size 2025-03-11 22:43:30 +10:00
pnv_adu.h
pnv_chip.h
pnv_chiptod.h
pnv_core.h
pnv_homer.h ppc/pnv: Make HOMER memory a RAM region 2025-03-11 22:43:30 +10:00
pnv_i2c.h
pnv_lpc.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
pnv_n1_chiplet.h
pnv_nest_pervasive.h
pnv_occ.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
pnv_pnor.h ppc/pnv: Move the PNOR LPC address into struct PnvPnor 2025-03-20 19:58:10 +10:00
pnv_psi.h
pnv_sbe.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
pnv_xive.h
pnv_xscom.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
ppc.h hw/ppc: Consolidate ppc440 initial mapping creation functions 2024-11-04 10:09:36 +10:00
ppc4xx.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
ppc_e500.h
spapr.h spapr: Generate random HASHPKEYR for spapr machines 2025-03-11 22:43:32 +10:00
spapr_cpu_core.h ppc/spapr: remove deprecated machine pseries-2.12 2024-11-04 09:10:32 +10:00
spapr_drc.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
spapr_irq.h
spapr_nested.h spapr: nested: Add support for reporting Hostwide state counter 2025-03-11 22:43:32 +10:00
spapr_numa.h
spapr_nvdimm.h
spapr_ovec.h
spapr_tpm_proxy.h
spapr_vio.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
spapr_xive.h
vof.h include/system: Move exec/address-spaces.h to system/address-spaces.h 2025-04-23 14:08:21 -07:00
xics.h include/system: Move exec/memory.h to system/memory.h 2025-04-23 14:08:21 -07:00
xics_spapr.h
xive.h ppc/xive2: Support crowd-matching when looking for target 2025-03-11 22:43:31 +10:00
xive2.h ppc/xive2: Support crowd-matching when looking for target 2025-03-11 22:43:31 +10:00
xive2_regs.h ppc/xive2: Fix calculation of END queue sizes 2025-07-21 08:03:52 +02:00
xive_regs.h ppc/xive2: Add grouping level to notification 2025-03-11 22:43:31 +10:00