]> www.infradead.org Git - users/jedix/linux-maple.git/commit
MIPS: CPS: Introduce struct cluster_boot_config
authorPaul Burton <paulburton@kernel.org>
Wed, 29 Jan 2025 12:32:49 +0000 (13:32 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 21 Feb 2025 09:19:34 +0000 (10:19 +0100)
commit75fa6a583882e8e09fa567eb3a3d8e115fa5c59f
tree2b7dd0a8c3b365f45caad128206eb8f1f3020a33
parent00a134fc2bb4a5f8fada58cf7ff4259149691d64
MIPS: CPS: Introduce struct cluster_boot_config

In preparation for supporting multi-cluster systems, introduce a struct
cluster_boot_config as an extra layer in the boot configuration
maintained by the MIPS Coherent Processing System (CPS) SMP
implementation. For now only one struct cluster_boot_config will be
allocated & we'll simply defererence its core_config field to find the
struct core_boot_config array which can be used to boot as usual.

Signed-off-by: Paul Burton <paulburton@kernel.org>
Signed-off-by: Dragan Mladjenovic <dragan.mladjenovic@syrmia.com>
Signed-off-by: Aleksandar Rikalo <arikalo@gmail.com>
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/include/asm/smp-cps.h
arch/mips/kernel/asm-offsets.c
arch/mips/kernel/cps-vec.S
arch/mips/kernel/pm-cps.c
arch/mips/kernel/smp-cps.c