qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix secondary CPU reset for Xilinx Zynq 7000
@ 2024-09-23  3:56 Sebastian Huber
  2024-09-23  3:56 ` [PATCH 1/2] hw/arm/boot: Use hooks if PSCI is disabled Sebastian Huber
  2024-09-23  3:56 ` [PATCH 2/2] hw/arm/xilinx_zynq: Add CPU1 reset Sebastian Huber
  0 siblings, 2 replies; 6+ messages in thread
From: Sebastian Huber @ 2024-09-23  3:56 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-arm

I recently added the support for CPU1 to the xilinx-zynq-a9 machine
(hw/arm/xilinx_zynq.c). However, the reset behaviour doesn't match exactly with
the hardware. After a system reset (SRST), the CPU1 should execute a wfe
instruction and then load the start address from 0xfffffff0:

https://docs.amd.com/r/en-US/ug585-zynq-7000-SoC-TRM/Starting-Code-on-CPU-1

Sebastian Huber (2):
  hw/arm/boot: Use hooks if PSCI is disabled
  hw/arm/xilinx_zynq: Add CPU1 reset

 hw/arm/boot.c        | 30 +++++++++++++++++++-----------
 hw/arm/xilinx_zynq.c | 25 +++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 11 deletions(-)

-- 
2.35.3



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-10-04 10:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-23  3:56 [PATCH 0/2] Fix secondary CPU reset for Xilinx Zynq 7000 Sebastian Huber
2024-09-23  3:56 ` [PATCH 1/2] hw/arm/boot: Use hooks if PSCI is disabled Sebastian Huber
2024-09-30 15:16   ` Peter Maydell
2024-10-04  1:24     ` Sebastian Huber
2024-10-04 10:36       ` Peter Maydell
2024-09-23  3:56 ` [PATCH 2/2] hw/arm/xilinx_zynq: Add CPU1 reset Sebastian Huber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).