Files
linux/arch/x86/include/asm
Peter Zijlstra 662a022189 x86/entry: Fix AC assertion
The WARN added in commit 3c73b81a91 ("x86/entry, selftests: Further
improve user entry sanity checks") unconditionally triggers on a IVB
machine because it does not support SMAP.

For !SMAP hardware the CLAC/STAC instructions are patched out and thus if
userspace sets AC, it is still have set after entry.

Fixes: 3c73b81a91 ("x86/entry, selftests: Further improve user entry sanity checks")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200902133200.666781610@infradead.org
2020-09-04 15:09:29 +02:00
..
2020-08-03 07:48:39 +02:00
2020-06-09 09:39:13 -07:00
2020-06-15 19:29:36 +02:00
2019-07-22 12:00:51 +02:00
2020-01-23 10:41:20 -08:00
2018-12-03 10:49:13 +01:00
2020-06-11 15:15:23 +02:00
2020-05-07 16:06:20 +02:00
2020-06-11 15:15:26 +02:00
2020-08-20 11:18:36 +02:00
2020-07-27 14:29:23 -04:00
2020-09-04 15:09:29 +02:00
2018-08-15 13:44:10 -07:00
2019-04-16 12:26:18 +02:00
2019-04-22 11:42:59 +02:00
2020-06-11 15:17:57 +02:00
2019-07-22 12:00:51 +02:00
2020-04-22 10:53:50 +02:00
2018-03-20 10:01:57 +01:00
2020-06-02 10:59:12 -07:00
2019-04-10 09:53:31 +02:00
2020-03-21 16:03:25 +01:00
2020-08-12 10:57:58 -07:00
2020-01-14 12:20:58 +01:00
2020-03-23 18:45:14 +01:00
2020-01-14 12:20:58 +01:00