Mark Rutland
8b6e70fccf
arm64: traps: correctly handle MRS/MSR with XZR
...
Currently we hand-roll XZR-safe register handling in
user_cache_maint_handler(), though we forget to do the same in
ctr_read_handler(), and may erroneously write back to the user SP rather
than XZR.
Use the new helpers to handle these cases correctly and consistently.
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Fixes: 116c81f427ff6c53 ("arm64: Work around systems with mismatched cache line sizes")
Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2017-02-15 12:20:29 +00:00
..
2016-12-24 11:46:01 -08:00
2016-07-12 16:06:32 +01:00
2012-09-17 13:42:21 +01:00
2016-09-09 14:59:08 +01:00
2017-01-12 15:05:39 +00:00
2016-12-21 02:36:38 +01:00
2016-09-09 15:03:28 +01:00
2017-02-03 18:46:33 +00:00
2017-01-10 12:35:27 +00:00
2017-02-03 18:46:33 +00:00
2017-01-17 12:09:54 +00:00
2017-02-10 11:22:12 +00:00
2016-08-22 12:32:29 +01:00
2017-01-12 15:05:39 +00:00
2016-06-27 16:31:25 +01:00
2017-02-02 18:34:38 +00:00
2016-07-21 23:29:38 +02:00
2017-01-12 17:19:06 +00:00
2016-12-25 10:47:44 +01:00
2017-01-17 17:41:14 +00:00
2016-11-07 18:15:04 +00:00
2015-07-10 16:47:13 +01:00
2014-07-31 11:42:42 +01:00
2017-02-15 11:34:25 +00:00
2016-12-26 13:05:17 -05:00
2016-11-16 18:05:10 +00:00
2016-08-24 12:15:14 +02:00
2017-02-09 18:31:25 +00:00
2016-09-09 15:03:29 +01:00
2017-01-12 15:05:39 +00:00
2016-12-25 10:47:44 +01:00
2016-06-27 16:31:25 +01:00
2016-05-16 17:17:24 -07:00
2017-01-12 15:05:39 +00:00
2014-11-06 17:25:27 +00:00
2015-12-21 17:26:01 +00:00
2015-08-03 11:34:12 +02:00
2016-08-22 12:32:29 +01:00
2016-11-07 18:15:20 +00:00
2014-07-10 11:02:40 +01:00
2016-06-27 16:31:26 +01:00
2017-02-03 15:22:37 +00:00
2016-02-24 14:57:24 +00:00
2016-02-24 14:57:27 +00:00
2016-02-24 14:57:24 +00:00
2015-12-21 14:40:54 +00:00
2016-12-06 13:45:48 -06:00
2016-05-16 23:11:51 -03:00
2016-11-18 09:06:58 +00:00
2015-01-09 11:12:28 +01:00
2017-02-09 11:39:20 +00:00
2017-01-12 15:05:39 +00:00
2016-11-18 17:23:17 +00:00
2016-09-09 15:03:29 +01:00
2016-11-11 18:25:43 +00:00
2017-01-26 12:15:13 +00:00
2016-12-24 11:46:01 -08:00
2016-11-07 18:15:21 +00:00
2016-11-11 18:25:44 +00:00
2017-02-03 18:46:33 +00:00
2017-01-12 15:05:39 +00:00
2017-02-02 18:19:27 +00:00
2016-11-11 18:25:44 +00:00
2016-11-11 18:25:44 +00:00
2015-03-19 10:43:51 +00:00
2016-09-09 11:43:50 +01:00
2016-04-20 12:22:42 +01:00
2015-12-21 17:26:02 +00:00
2017-02-08 14:57:39 +00:00
2014-11-20 16:35:02 +00:00
2017-02-15 12:20:29 +00:00
2017-01-12 15:05:39 +00:00
2016-11-21 18:48:53 +00:00