generic: mips: support harts to boot from mips_warm_boot

We program reset base for harts (other than hart 0) to boot at
mips_warm_boot that jumps to _start_warm. This helps to skip some code
sequence to speed up.

Signed-off-by: Chao-ying Fu <cfu@mips.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250723204010.9927-1-cfu@mips.com
Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Chao-ying Fu authored and Anup Patel committed 2025-08-28 11:00:16 +05:30
1 parent 6a1f53bc2d
commit 1ffbd063c4
3 files changed
+18 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
/*
* SPDX-License-Identifier: BSD-2-Clause
*
* Copyright (c) 2025 MIPS
*
*/
.text
.align 12
.globl mips_warm_boot
mips_warm_boot:
j _start_warm
.align 2