diff options
author | Huang Shijie <shijie@os.amperecomputing.com> | 2023-12-13 04:20:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-05 23:14:38 +0300 |
commit | e50c55c295d4641e1ed31757146a72145cb4f167 (patch) | |
tree | d5f9a2e207473ac1f5c31d0db3b2d4979c61f3f5 /include | |
parent | 4f3341db4ea7d247b0aa82c2550ceebbc5415d45 (diff) | |
download | linux-e50c55c295d4641e1ed31757146a72145cb4f167.tar.xz |
arm64: irq: set the correct node for shadow call stack
commit 7b1a09e44dc64f4f5930659b6d14a27183c00705 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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions