summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/machine_kexec.c
diff options
context:
space:
mode:
authorPasha Tatashin <pasha.tatashin@soleen.com>2021-09-30 14:31:01 +0000
committerWill Deacon <will@kernel.org>2021-10-01 13:30:59 +0100
commita347f601452ff3e7cc15bc31307915cea3b3f3f5 (patch)
tree3dc87e4920d7e14e4a95e5af021b8cf15b2d5244 /arch/arm64/kernel/machine_kexec.c
parent788bfdd97434982b6d575062581e8e72eea755af (diff)
arm64: hibernate: abstract ttrb0 setup function
Currently, only hibernate sets custom ttbr0 with safe idmaped function. Kexec, is also going to be using this functionality when relocation code is going to be idmapped. Move the setup sequence to a dedicated cpu_install_ttbr0() for custom ttbr0. Suggested-by: James Morse <james.morse@arm.com> Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Link: https://lore.kernel.org/r/20210930143113.1502553-4-pasha.tatashin@soleen.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/kernel/machine_kexec.c')
0 files changed, 0 insertions, 0 deletions