]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: Split out the XIP fixups into their own file
authorPalmer Dabbelt <palmer@rivosinc.com>
Wed, 20 Apr 2022 03:02:16 +0000 (20:02 -0700)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 25 May 2022 21:43:33 +0000 (14:43 -0700)
commitcb1c7ad84358cad4413ddaa7727e290bfb67114b
tree404652315465a559ad3f53da2653eed569f61396
parent522753d5230fa320da41402e9f74bd204a86c4f3
RISC-V: Split out the XIP fixups into their own file

This was broken by the original refactoring (as the XIP definitions
depend on <asm/pgtable.h>) and then more broken by the merge (as I
accidentally took the old version).  This fixes both breakages, while
also pulling this out of <asm/asm.h> to avoid polluting most assembly
files with the XIP fixups.

Fixes: 9b313e90b7f1 ("RISC-V CPU Idle Support")
Fixes: 38dc2227e3c6 ("RISC-V: Add arch functions for non-retentive suspend entry/exit")
Link: https://lore.kernel.org/r/20220420184056.7886-4-palmer@rivosinc.com
Reviewed-by: Guo Ren <guoren@kernel.org>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/asm/asm.h
arch/riscv/include/asm/xip_fixup.h [new file with mode: 0644]
arch/riscv/kernel/head.S
arch/riscv/kernel/suspend_entry.S