diff options
author | James Morse <james.morse@arm.com> | 2019-01-24 16:32:57 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-02-01 14:10:02 +0000 |
commit | f7daa9c8fd191724b9ab9580a7be55cd1a67d799 (patch) | |
tree | 596174a269bafb0bd8977633aa4b9ad2828db324 /drivers/fpga/xilinx-spi.c | |
parent | 8fac5cbdfe0f01254d9d265c6aa1a95f94f58595 (diff) |
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>
Diffstat (limited to 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions