diff options
author | Peter Zijlstra <peterz@infradead.org> | 2022-06-27 22:21:17 +0000 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2022-06-29 17:43:41 +0200 |
commit | f43b9876e857c739d407bc56df288b0ebe1a9164 (patch) | |
tree | 22fcf2716b615556869c460a71ed3fd9b1393bd6 /scripts/Makefile.lib | |
parent | 26aae8ccbc1972233afd08fb3f368947c0314265 (diff) | |
download | lwn-f43b9876e857c739d407bc56df288b0ebe1a9164.tar.gz lwn-f43b9876e857c739d407bc56df288b0ebe1a9164.zip |
x86/retbleed: Add fine grained Kconfig knobs
Do fine-grained Kconfig for all the various retbleed parts.
NOTE: if your compiler doesn't support return thunks this will
silently 'upgrade' your mitigation to IBPB, you might not like this.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r-- | scripts/Makefile.lib | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index d1425778664b..3fb6a99e78c4 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -236,6 +236,7 @@ objtool_args = \ $(if $(CONFIG_FTRACE_MCOUNT_USE_OBJTOOL), --mcount) \ $(if $(CONFIG_UNWINDER_ORC), --orc) \ $(if $(CONFIG_RETPOLINE), --retpoline) \ + $(if $(CONFIG_RETHUNK), --rethunk) \ $(if $(CONFIG_SLS), --sls) \ $(if $(CONFIG_STACK_VALIDATION), --stackval) \ $(if $(CONFIG_HAVE_STATIC_CALL_INLINE), --static-call) \ |