linux-stable/arch
Huang Shijie ce3c5039e6 arm64: irq: set the correct node for shadow call stack
commit 7b1a09e44d upstream.

The init_irq_stacks() has been changed to use the correct node:
https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/commit/?id=75b5e0bf90bf

The init_irq_scs() has the same issue with init_irq_stacks():
	cpu_to_node() is not initialized yet, it does not work.

This patch uses early_cpu_to_node() to set the init_irq_scs()
with the correct node.

Signed-off-by: Huang Shijie <shijie@os.amperecomputing.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/20231213012046.12014-1-shijie@os.amperecomputing.com
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-02-23 08:54:55 +01:00
..
alpha alpha: remove __init annotation from exported page_is_ram() 2023-08-16 18:22:03 +02:00
arc ARC: fix spare error 2024-01-25 14:52:30 -08:00
arm ARM: dts: imx23/28: Fix the DMA controller node name 2024-02-23 08:54:44 +01:00
arm64 arm64: irq: set the correct node for shadow call stack 2024-02-23 08:54:55 +01:00
csky arch: consolidate arch_irq_work_raise prototypes 2024-02-23 08:54:39 +01:00
h8300
hexagon
ia64 memblock: allow to specify flags with memblock_add_node() 2023-12-20 15:17:33 +01:00
m68k memblock: allow to specify flags with memblock_add_node() 2023-12-20 15:17:33 +01:00
microblaze
mips mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan 2024-02-23 08:54:36 +01:00
nds32
nios2 nios2: dts: Fix tse_mac "max-frame-size" property 2023-06-21 15:59:14 +02:00
openrisc openrisc: Properly store r31 to pt_regs on unhandled exceptions 2023-05-11 23:00:37 +09:00
parisc parisc/firmware: Fix F-extend for PDC addresses 2024-02-23 08:54:24 +01:00
powerpc arch: consolidate arch_irq_work_raise prototypes 2024-02-23 08:54:39 +01:00
riscv arch: consolidate arch_irq_work_raise prototypes 2024-02-23 08:54:39 +01:00
s390 KVM: s390: fix setting of fpc register 2024-02-23 08:54:40 +01:00
sh sh: bios: Revive earlyprintk support 2023-11-20 11:08:23 +01:00
sparc sparc32: fix a braino in fault handling in csum_and_copy_..._user() 2023-11-08 17:26:42 +01:00
um um: time-travel: fix time corruption 2024-02-23 08:54:50 +01:00
x86 arch: consolidate arch_irq_work_raise prototypes 2024-02-23 08:54:39 +01:00
xtensa xtensa: boot/lib: fix function prototypes 2023-10-06 13:18:14 +02:00
.gitignore
Kconfig init: Provide arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00