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/ppc
Harsh Prateek Bora 6285eebd3a
ppc/spapr: init lrdr-capapcity phys with ram size if maxmem not provided
lrdr-capacity contains phys field which communicates the maximum address
in bytes and therefore, the most memory that can be allocated to this
partition. This is usually populated when maxmem is provided alongwith
memory size on qemu command line. However since maxmem is an optional
param, this leads to bits being set to 0 in absence of maxmem param.
Fix this by initializing the respective bits as per total mem size in
such case.

Reported-by: Gaurav Batra <gbatra@us.ibm.com>
Tested-by: David Christensen <drc@linux.ibm.com>
Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com>
Reviewed-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Link: https://lore.kernel.org/r/20250506042903.76250-1-harshpb@linux.ibm.com
Message-ID: <20250506042903.76250-1-harshpb@linux.ibm.com>
4 days ago
..
Kconfig hw/ppc: Add a test machine for the IBM PPE42 CPU 4 days ago
amigaone.c qom: Have class_init() take a const data argument 5 months ago
e500-ccsr.h
e500.c hw: Fix type constant for DTB files 4 months ago
e500.h hw/ppc/e500: Move clock and TB frequency to machine class 4 months ago
e500plat.c hw/ppc/e500: Move clock and TB frequency to machine class 4 months ago
fdt.c
fw_cfg.c
mac_newworld.c qom: Make InterfaceInfo[] uses const 5 months ago
mac_oldworld.c qom: Make InterfaceInfo[] uses const 5 months ago
meson.build hw/ppc: Add a test machine for the IBM PPE42 CPU 4 days ago
mpc8544_guts.c
mpc8544ds.c hw/ppc/e500: Move clock and TB frequency to machine class 4 months ago
pef.c qom: Have class_init() take a const data argument 5 months ago
pegasos2.c qom: Make InterfaceInfo[] uses const 5 months ago
pnv.c ppc/pnv: Add ChipTOD model for Power11 4 days ago
pnv_adu.c qom: Make InterfaceInfo[] uses const 5 months ago
pnv_bmc.c ppc/pnv: Move the PNOR LPC address into struct PnvPnor 7 months ago
pnv_chiptod.c ppc/pnv: Add ChipTOD model for Power11 4 days ago
pnv_core.c ppc/pnv: Introduce Pnv11Chip 4 days ago
pnv_homer.c qom: Have class_init() take a const data argument 5 months ago
pnv_i2c.c qom: Make InterfaceInfo[] uses const 5 months ago
pnv_lpc.c qom: Make InterfaceInfo[] uses const 5 months ago
pnv_n1_chiplet.c qom: Make InterfaceInfo[] uses const 5 months ago
pnv_nest_pervasive.c qom: Make InterfaceInfo[] uses const 5 months ago
pnv_occ.c hw/ppc/pnv_occ: skip automatic zero-init of large struct 4 months ago
pnv_pnor.c qom: Have class_init() take a const data argument 5 months ago
pnv_psi.c qom: Make InterfaceInfo[] uses const 5 months ago
pnv_sbe.c qom: Have class_init() take a const data argument 5 months ago
pnv_xscom.c
ppc.c cpus: properly kick CPUs out of inner execution loop 2 weeks ago
ppc4xx_devs.c qom: Have class_init() take a const data argument 5 months ago
ppc4xx_sdram.c qom: Have class_init() take a const data argument 5 months ago
ppc440.h
ppc440_bamboo.c system/datadir: Add new type constant for DTB files 5 months ago
ppc440_uc.c qom: Have class_init() take a const data argument 5 months ago
ppc_booke.c hw/ppc: Support for an IBM PPE42 CPU decrementer 4 days ago
ppce500_spin.c qom: Have class_init() take a const data argument 5 months ago
ppe42_machine.c hw/ppc: Add a test machine for the IBM PPE42 CPU 4 days ago
prep.c hw/pci-host/raven: Revert "raven: Move BIOS loading from board code to PCI host" 4 months ago
prep_systemio.c qom: Have class_init() take a const data argument 5 months ago
rs6000_mc.c qom: Have class_init() take a const data argument 5 months ago
sam460ex.c system/datadir: Add new type constant for DTB files 5 months ago
spapr.c ppc/spapr: init lrdr-capapcity phys with ram size if maxmem not provided 4 days ago
spapr_caps.c include/system: Move exec/ram_addr.h to system/ram_addr.h 5 months ago
spapr_cpu_core.c qom: Constify TypeInfo::class_data 5 months ago
spapr_drc.c qom: Have class_init() take a const data argument 5 months ago
spapr_events.c
spapr_hcall.c hw/ppc/spapr: Use tb_invalidate_phys_range in h_page_init 1 week ago
spapr_iommu.c qom: Have class_init() take a const data argument 5 months ago
spapr_irq.c
spapr_nested.c include: Remove 'exec/exec-all.h' 5 months ago
spapr_numa.c
spapr_nvdimm.c qom: Have class_init() take a const data argument 5 months ago
spapr_ovec.c exec/cpu-all: remove system/memory include 5 months ago
spapr_pci.c qom: Make InterfaceInfo[] uses const 5 months ago
spapr_pci_vfio.c include/hw/vfio/vfio-container.h: rename file to vfio-container-legacy.h 1 week ago
spapr_rng.c qom: Have class_init() take a const data argument 5 months ago
spapr_rtas.c cpus: properly kick CPUs out of inner execution loop 2 weeks ago
spapr_rtas_ddw.c
spapr_rtc.c qom: Have class_init() take a const data argument 5 months ago
spapr_tpm_proxy.c hw/ppc/spapr_tpm_proxy: skip automatic zero-init of large arrays 4 months ago
spapr_vhyp_mmu.c
spapr_vio.c qom: Have class_init() take a const data argument 5 months ago
spapr_vof.c
trace-events
trace.h
virtex_ml507.c system/datadir: Add new type constant for DTB files 5 months ago
vof.c include/system: Move exec/address-spaces.h to system/address-spaces.h 5 months ago