diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-03-08 16:30:17 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-03-15 10:32:33 +0100 |
commit | 156ff4a544ae13c5fd6759a09ecb069f7059c1a1 (patch) | |
tree | 4e429b976672a1634463f7792a84604a80a63d82 /drivers/hwspinlock | |
parent | 5cff2086b01526b8c7deacc86473ffbab0cddfa9 (diff) | |
download | linux-stable-156ff4a544ae13c5fd6759a09ecb069f7059c1a1.tar.gz linux-stable-156ff4a544ae13c5fd6759a09ecb069f7059c1a1.tar.bz2 linux-stable-156ff4a544ae13c5fd6759a09ecb069f7059c1a1.zip |
x86/ibt: Base IBT bits
Add Kconfig, Makefile and basic instruction support for x86 IBT.
(Ab)use __DISABLE_EXPORTS to disable IBT since it's already employed
to mark compressed and purgatory. Additionally mark realmode with it
as well to avoid inserting ENDBR instructions there. While ENDBR is
technically a NOP, inserting them was causing some grief due to code
growth. There's also a problem with using __noendbr in code compiled
without -fcf-protection=branch.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Link: https://lore.kernel.org/r/20220308154317.519875203@infradead.org
Diffstat (limited to 'drivers/hwspinlock')
0 files changed, 0 insertions, 0 deletions