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
..
2019-02-01 14:09:50 +00:00
2018-07-18 01:18:05 +09:00
2012-09-17 13:42:21 +01:00
2018-10-31 08:54:16 -07:00
2017-06-29 11:33:15 +01:00
2018-10-31 08:54:16 -07:00
2018-08-08 11:20:54 +01:00
2019-01-03 18:57:57 -08:00
2018-12-12 18:45:31 +00:00
2018-05-17 17:28:09 +01:00
2019-01-10 17:49:35 +00:00
2017-12-01 13:05:08 +00:00
2018-07-04 18:34:24 +01:00
2018-12-06 14:38:53 +00:00
2019-01-10 17:49:35 +00:00
2018-01-02 13:50:34 +00:00
2018-12-13 16:42:46 +00:00
2018-09-11 11:08:49 +01:00
2018-11-02 17:24:17 +00:00
2018-09-27 21:54:43 +02:00
2018-02-06 22:53:13 +00:00
2017-04-04 17:50:59 +01:00
2018-03-09 08:58:22 +01:00
2018-03-09 08:58:22 +01:00
2018-05-17 18:19:53 +01:00
2018-12-10 11:50:12 +00:00
2019-01-03 18:03:41 +00:00
2018-09-27 21:55:23 +02:00
2018-12-31 11:46:59 -08:00
2019-01-10 17:49:35 +00:00
2018-12-10 18:42:17 +00:00
2019-02-01 14:10:02 +00:00
2018-06-26 09:07:56 +02:00
2019-02-01 14:10:01 +00:00
2018-12-10 18:57:17 +00:00
2018-11-27 18:47:33 +00:00
2017-10-24 16:23:07 +01:00
2018-08-03 12:14:09 +02:00
2019-01-06 09:46:51 +09:00
2019-02-01 14:07:23 +00:00
2018-12-07 15:28:21 +00:00
2018-12-30 08:33:06 +00:00
2014-07-10 11:02:40 +01:00
2019-01-11 10:10:51 +00:00
2018-12-06 14:38:53 +00:00
2019-01-04 10:09:21 +00:00
2018-11-27 19:00:45 +00:00
2018-11-27 19:00:45 +00:00
2017-12-01 13:04:59 +00:00
2018-09-03 16:50:35 +02:00
2018-09-17 16:33:23 -05:00
2019-01-03 18:57:57 -08:00
2018-11-21 13:16:34 +00:00
2018-04-19 13:29:54 +02:00
2018-12-13 16:42:47 +00:00
2018-12-31 11:46:59 -08:00
2018-10-01 11:57:04 +01:00
2018-12-13 16:42:46 +00:00
2018-03-19 18:14:25 +00:00
2018-03-19 18:14:25 +00:00
2018-12-06 14:38:53 +00:00
2018-12-22 08:21:02 -05:00
2018-07-31 12:08:22 +01:00
2018-12-14 09:33:49 +00:00
2019-01-03 18:57:57 -08:00
2019-01-03 18:57:57 -08:00
2018-09-25 15:10:54 +01:00
2018-12-10 11:50:11 +00:00
2017-01-12 15:05:39 +00:00
2018-12-10 18:42:18 +00:00
2018-09-14 17:46:19 +01:00
2018-12-22 08:21:02 -05:00
2018-09-18 12:02:27 +01:00
2018-07-12 14:49:48 +01:00
2019-01-05 11:28:39 -08:00
2018-07-12 14:49:48 +01:00
2019-01-04 14:18:01 +00:00
2018-12-22 08:21:02 -05:00
2018-07-06 13:18:18 +01:00
2017-11-02 11:10:55 +01:00
2018-12-31 11:46:59 -08:00
2017-08-09 12:16:28 +01:00
2018-12-04 12:48:25 +00:00