qemu-cr16/include/hw/ppc
Glenn Miles 7197f6f7ba
hw/ppc: Support for an IBM PPE42 CPU decrementer
The IBM PPE42 processors support a 32-bit decrementer
that can raise an external interrupt when DEC[0]
transitions from a 0 to a -1 (a non-negative value to a
negative value).  It also continues decrementing
even after this condition is met.

The BookE timer is slightly different in that it
raises an interrupt when the DEC value reaches 0
and stops decrementing at that point.

Support a PPE42 version of the BookE timer by
adding a new PPC_TIMER_PPE flag that has the timer
code look for the transition from a non-negative value
to a negative value and allows the value to
continue decrementing.

Signed-off-by: Glenn Miles <milesg@linux.ibm.com>
Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Link: https://lore.kernel.org/r/20250925201758.652077-8-milesg@linux.ibm.com
Message-ID: <20250925201758.652077-8-milesg@linux.ibm.com>
2025-09-28 23:39:19 +05:30
..
fdt.h
mac_dbdma.h
openpic.h
openpic_kvm.h
pnv.h ppc/pnv: Add XIVE2 controller to Power11 2025-09-28 23:22:06 +05:30
pnv_adu.h
pnv_chip.h ppc/pnv: Add PnvChipClass handler to get reference to interrupt controller 2025-09-28 23:22:06 +05:30
pnv_chiptod.h ppc/pnv: Add ChipTOD model for Power11 2025-09-28 23:22:06 +05:30
pnv_core.h
pnv_homer.h
pnv_i2c.h
pnv_lpc.h
pnv_n1_chiplet.h
pnv_nest_pervasive.h
pnv_occ.h
pnv_pnor.h
pnv_psi.h
pnv_sbe.h
pnv_xive.h
pnv_xscom.h ppc/pnv: Introduce Pnv11Chip 2025-09-28 23:21:58 +05:30
ppc.h hw/ppc: Support for an IBM PPE42 CPU decrementer 2025-09-28 23:39:19 +05:30
ppc4xx.h
ppc_e500.h
spapr.h
spapr_cpu_core.h
spapr_drc.h
spapr_irq.h
spapr_nested.h
spapr_numa.h
spapr_nvdimm.h
spapr_ovec.h
spapr_tpm_proxy.h
spapr_vio.h
spapr_xive.h
vof.h
xics.h
xics_spapr.h
xive.h ppc/xive: Check TIMA operations validity 2025-07-21 08:03:53 +02:00
xive2.h ppc/xive2: Implement PHYS ring VP push TIMA op 2025-07-21 08:03:53 +02:00
xive2_regs.h ppc/xive2: implement NVP context save restore for POOL ring 2025-07-21 08:03:53 +02:00
xive_regs.h