]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: 9420/1: smp: Fix SMP for xip kernels
authorHarith G <harith.g@alifsemi.com>
Wed, 18 Sep 2024 05:57:53 +0000 (06:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 18:50:41 +0000 (19:50 +0100)
commit07df4a754746f0fff6ff3479ba2642d484c6b9de
treecfbb3efab37a559362ca9482cefca6cf50493956
parent2b55ec8d9c49eec5d5ab3d974ac7e18828ce9956
ARM: 9420/1: smp: Fix SMP for xip kernels

[ Upstream commit 9e9b0cf9319b4db143014477b0bc4b39894248f1 ]

Fix the physical address calculation of the following to get smp working
on xip kernels.
- secondary_data needed for secondary cpu bootup.
- secondary_startup address passed through psci.
- identity mapped code region needed for enabling mmu for secondary cpus.

Signed-off-by: Harith George <harith.g@alifsemi.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/kernel/head.S
arch/arm/kernel/psci_smp.c
arch/arm/mm/idmap.c