linux_dsm_epyc7002/arch/arm64/kernel
James Morse f7daa9c8fd arm64: hibernate: Clean the __hyp_text to PoC after resume
During resume hibernate restores all physical memory. Any memory
that is accessed with the MMU disabled needs to be cleaned to the
PoC.

KVMs __hyp_text was previously ommitted as it runs with the MMU
enabled, but now that the hyp-stub is located in this section,
we must clean __hyp_text too.

This ensures secondary CPUs that come online after hibernate
has finished resuming, and load KVM via the freshly written
hyp-stub see the correct instructions.

Signed-off-by: James Morse <james.morse@arm.com>
Cc: stable@vger.kernel.org
Signed-off-by: Will Deacon <will.deacon@arm.com>
2019-02-01 14:10:02 +00:00
..
probes arm64: kprobe: Always blacklist the KVM world-switch code 2019-02-01 14:09:50 +00:00
vdso
.gitignore
acpi_numa.c
acpi_parking_protocol.c
acpi.c
alternative.c
armv8_deprecated.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
asm-offsets.c
cacheinfo.c
cpu_errata.c arm64: kpti: Avoid rewriting early page tables when KASLR is enabled 2019-01-10 17:49:35 +00:00
cpu_ops.c
cpu-reset.h
cpu-reset.S
cpufeature.c arm64: kpti: Avoid rewriting early page tables when KASLR is enabled 2019-01-10 17:49:35 +00:00
cpuidle.c
cpuinfo.c arm64: add basic pointer authentication support 2018-12-13 16:42:46 +00:00
crash_core.c
crash_dump.c
debug-monitors.c
efi-entry.S
efi-header.S
efi-rt-wrapper.S
efi.c
entry-fpsimd.S
entry-ftrace.S
entry.S arm64: entry: remove unused register aliases 2019-01-03 18:03:41 +00:00
fpsimd.c
ftrace.c Tracing changes for v4.21: 2018-12-31 11:46:59 -08:00
head.S arm64: kpti: Avoid rewriting early page tables when KASLR is enabled 2019-01-10 17:49:35 +00:00
hibernate-asm.S
hibernate.c arm64: hibernate: Clean the __hyp_text to PoC after resume 2019-02-01 14:10:02 +00:00
hw_breakpoint.c
hyp-stub.S arm64: hyp-stub: Forbid kprobing of the hyp-stub 2019-02-01 14:10:01 +00:00
image.h
insn.c
io.c
irq.c
jump_label.c jump_label: move 'asm goto' support test to Kconfig 2019-01-06 09:46:51 +09:00
kaslr.c arm64: kaslr: ensure randomized quantities are clean also when kaslr is off 2019-02-01 14:07:23 +00:00
kexec_image.c
kgdb.c kgdb/treewide: constify struct kgdb_arch arch_kgdb_ops 2018-12-30 08:33:06 +00:00
kuser32.S
machine_kexec_file.c arm64: kexec_file: return successfully even if kaslr-seed doesn't exist 2019-01-11 10:10:51 +00:00
machine_kexec.c
Makefile arm64: replace arm64-obj-* in Makefile with obj-* 2019-01-04 10:09:21 +00:00
module-plts.c
module.c
module.lds
paravirt.c
pci.c
perf_callchain.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
perf_event.c
perf_regs.c
pointer_auth.c arm64: ptr auth: Move per-thread keys from thread_info to thread_struct 2018-12-13 16:42:47 +00:00
process.c Tracing changes for v4.21: 2018-12-31 11:46:59 -08:00
psci.c
ptrace.c arm64: expose user PAC bit positions via ptrace 2018-12-13 16:42:46 +00:00
reloc_test_core.c
reloc_test_syms.S
relocate_kernel.S
return_address.c arm64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack 2018-12-22 08:21:02 -05:00
sdei.c
setup.c arm64: kaslr: print PHYS_OFFSET in dump_kernel_offset() 2018-12-14 09:33:49 +00:00
signal32.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
signal.c Remove 'type' argument from access_ok() function 2019-01-03 18:57:57 -08:00
sleep.S
smccc-call.S
smp_spin_table.c
smp.c
ssbd.c
stacktrace.c arm64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack 2018-12-22 08:21:02 -05:00
suspend.c
sys32.c
sys_compat.c arm64 fixes for -rc1 2019-01-05 11:28:39 -08:00
sys.c
syscall.c arm64: compat: Don't pull syscall number from regs in arm_compat_syscall 2019-01-04 14:18:01 +00:00
time.c arm64: Use ftrace_graph_get_ret_stack() instead of curr_ret_stack 2018-12-22 08:21:02 -05:00
topology.c
trace-events-emulation.h
traps.c Tracing changes for v4.21: 2018-12-31 11:46:59 -08:00
vdso.c
vmlinux.lds.S