Skip to content
Commit d9efdc7d authored by Lukas Funke's avatar Lukas Funke Committed by Michal Simek
Browse files

arm64: zynqmp: dynamically mark r5 cores as used



When Linux boot takes over control of the pmu
(by signaling PM_INIT_FINALIZE via ipi), pmu will switch off 'unused'
rpu cores. The Xilinx zynqmp fsbl prevents switching off those cores by
marking rpu cores as 'used' when loading code partitions to those cores.
The current u-boot SPL is missing this behaviour, which results in
halting rpu cores during Linux boot.

This commit mimics the xilinx zynqmp fsbl behavior by marking r5 cores as
used when they are released during boot.

Signed-off-by: default avatarLukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: default avatarLukas Funke <lukas.funke-oss@weidmueller.com>
Link: https://lore.kernel.org/r/20221028121547.26464-2-lukas.funke-oss@weidmueller.com


Signed-off-by: default avatarMichal Simek <michal.simek@amd.com>
parent f3558be9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment