linux/arch/arm64
James Morse 36d082dc57 arm64: hibernate: Clean the __hyp_text to PoC after resume
commit f7daa9c8fd upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2019-02-06 17:27:41 +01:00
..
boot arm64: dts: marvell: armada-ap806: reserve PSCI area 2019-01-22 21:09:55 +01:00
configs arm64: defconfig: Enable some IPMI configs 2018-11-02 11:39:50 -07:00
crypto crypto: arm64/aes-blk - ensure XTS mask is always loaded 2018-10-12 14:20:45 +08:00
include arm64: Fix minor issues with the dcache_by_line_op macro 2019-01-26 09:20:45 +01:00
kernel arm64: hibernate: Clean the __hyp_text to PoC after resume 2019-02-06 17:27:41 +01:00
kvm arm64/kvm: consistently handle host HCR_EL2 flags 2019-01-22 21:09:47 +01:00
lib arm64: lib: use C string functions with KASAN enabled 2018-10-26 16:25:18 -07:00
mm arm64: Do not issue IPIs for user executable ptes 2019-02-06 17:27:41 +01:00
net bpf, arm64: fix getting subprog addr from aux for calls 2018-11-26 17:34:24 -08:00
xen arm64: mm: Add additional parameter to uaccess_ttbr0_disable 2018-01-17 13:57:49 +01:00
Kconfig arm64: Add workaround for Cortex-A76 erratum 1286807 2018-11-29 16:45:45 +00:00
Kconfig.debug Kconfig: consolidate the "Kernel hacking" menu 2018-08-02 08:06:48 +09:00
Kconfig.platforms ARM: SoC platform updates for 4.20 2018-10-29 15:37:33 -07:00
Makefile arm64: relocatable: fix inconsistencies in linker script and options 2019-01-26 09:20:44 +01:00