]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: zynqmp: dynamically mark r5 cores as used
authorLukas Funke <lukas.funke@weidmueller.com>
Fri, 28 Oct 2022 12:15:47 +0000 (14:15 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 5 Dec 2022 07:55:54 +0000 (08:55 +0100)
commit9c2fc945431a824905895d66cd21d60323bc06ac
tree826900f0e798a9abac7a00c724585dfebc1c814f
parent55579bc783a784c79ab8885ce7ad01fadecd54ed
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: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Lukas Funke <lukas.funke-oss@weidmueller.com>
Link: https://lore.kernel.org/r/20221028121547.26464-2-lukas.funke-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/arm/mach-zynqmp/include/mach/hardware.h
arch/arm/mach-zynqmp/mp.c