diff options
author | Peter Zijlstra <[email protected]> | 2020-09-02 15:25:50 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2020-09-04 15:09:29 +0200 |
commit | 662a0221893a3d58aa72719671844264306f6e4b (patch) | |
tree | 8e261b7b2011e4e669c066528dc8aba50a715960 /scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h | |
parent | 2356bb4b8221d7dc8c7beb810418122ed90254c9 (diff) |
x86/entry: Fix AC assertion
The WARN added in commit 3c73b81a9164 ("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: 3c73b81a9164 ("x86/entry, selftests: Further improve user entry sanity checks")
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Tested-by: Daniel Thompson <[email protected]>
Acked-by: Andy Lutomirski <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/gcc-generate-simple_ipa-pass.h')
0 files changed, 0 insertions, 0 deletions