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/include/hw/arm
Clément Chigot 5dc8e4e892 hw/arm: make cpu targeted by arm_load_kernel the primary CPU.
Currently, arm booting processus assumes that the first_cpu is the CPU
that will boot: `arm_load_kernel` is powering off all but the `first_cpu`;
`do_cpu_reset` is setting the loader address only for this `first_cpu`.

For most of the boards, this isn't an issue as the kernel is loaded and
booted on the first CPU anyway. However, for zynqmp, the option
"boot-cpu" allows to choose any CPUs.

Create a new arm_boot_info entry `primary_cpu` recording which CPU will
be boot first. This one is set when `arm_boot_kernel` is called.

Signed-off-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20250526085523.809003-2-chigot@adacore.com
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2 weeks ago
..
allwinner-a10.h include: Rename sysemu/ -> system/ 6 months ago
allwinner-h3.h include: Rename sysemu/ -> system/ 6 months ago
allwinner-r40.h include: Rename sysemu/ -> system/ 6 months ago
armsse-version.h
armsse.h
armv7m.h hw/arm/armv7m: alias the NVIC "num-prio-bits" property 1 year ago
aspeed.h hw/arm/aspeed: Add support for loading vbootrom image via "-bios" 2 months ago
aspeed_soc.h hw/arm/aspeed_ast27x0-tsp: Introduce AST27x0 A1 TSP SoC 2 months ago
bcm2835_peripherals.h hw/arm: Connect OTP device to BCM2835 1 year ago
bcm2836.h hw/arm/bcm2853_peripherals: Split out common part of peripherals 1 year ago
bcm2838.h hw/arm/bcm2838: Add GIC-400 to BCM2838 SoC 1 year ago
bcm2838_peripherals.h hw/arm/bcm2838_peripherals: Add clock_isp stub 1 year ago
boot.h hw/arm: make cpu targeted by arm_load_kernel the primary CPU. 2 weeks ago
bsa.h target/arm: Implement SEL2 physical and virtual timers 4 months ago
digic.h
exynos4210.h
fdt.h
fsl-imx6.h include/system: Move exec/memory.h to system/memory.h 2 months ago
fsl-imx6ul.h include/system: Move exec/memory.h to system/memory.h 2 months ago
fsl-imx7.h hw/pci-host/designware: Expose MSI IRQ 5 months ago
fsl-imx8mp.h hw/arm/fsl-imx8mp: Remove unused define 3 months ago
fsl-imx25.h include/system: Move exec/memory.h to system/memory.h 2 months ago
fsl-imx31.h include/system: Move exec/memory.h to system/memory.h 2 months ago
linux-boot-if.h
msf2-soc.h hw/arm/msf2: Simplify setting MachineClass::valid_cpu_types[] 1 year ago
npcm7xx.h hw/misc: Move NPCM7XX CLK to NPCM CLK 4 months ago
npcm8xx.h hw/arm: Add GMAC devices to NPCM8XX SoC 1 month ago
nrf51.h
nrf51_soc.h hw/arm/nrf51: Rename ARMv7MState 'cpu' -> 'armv7m' 5 months ago
omap.h hw/arm: Replace TABs for spaces in OMAP board and device code 2 months ago
primecell.h
raspberrypi-fw-defs.h hw/misc: Implement mailbox properties for customer OTP and device specific private keys 1 year ago
raspi_platform.h hw/arm: Add memory region for BCM2837 RPiVid ASB 1 year ago
sharpsl.h hw/arm: Replace TABs for spaces in OMAP board and device code 2 months ago
smmu-common.h hw/arm/smmu: Introduce smmu_configs_inv_sid_range() helper 4 months ago
smmuv3.h
soc_dma.h hw/arm: Replace TABs for spaces in OMAP board and device code 2 months ago
stm32f100_soc.h hw/arm/stm32f100: Report error when incorrect CPU is used 2 years ago
stm32f205_soc.h hw/arm/stm32f205: Report error when incorrect CPU is used 2 years ago
stm32f405_soc.h hw/arm/stm32f405: Add RCC device to stm32f405 SoC 9 months ago
stm32l4x5_soc.h include/system: Move exec/memory.h to system/memory.h 2 months ago
virt.h hw/arm/virt: Remove VirtMachineClass::no_highmem_ecam field 2 months ago
xen_arch_hvm.h
xlnx-versal.h hw/arm/xlnx: Connect secondary CGEM IRQs 9 months ago
xlnx-zynqmp.h hw/arm/xlnx: Connect secondary CGEM IRQs 9 months ago