]> 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>
Thu, 5 Dec 2024 12:52:42 +0000 (13:52 +0100)
commit9813278e45b233069b29cb9a957cb2c981fac385
tree8086aa8214d9d216ab93343af3e7f2a64dfd586a
parentb4325477af6b032f606923844e88a5d3c3228869
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