x86/retbleed: Add fine grained Kconfig knobs
Peter Zijlstra authored
commit f43b9876

 upstream.

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: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
[cascardo: there is no CONFIG_OBJTOOL]
[cascardo: objtool calling and option parsing has changed]
Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@canonical.com>
[bwh: Backported to 5.10:
 - In scripts/Makefile.build, add the objtool option with an ifdef
   block, same as for other options
 - Adjust filename, context]
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
b24fdd0f
Name Last commit Last update
Documentation x86/bugs: Add retbleed=ibpb
LICENSES LICENSES/deprecated: add Zlib license text
arch x86/retbleed: Add fine grained Kconfig knobs
block block: Fix handling of offline queues in blk_mq_alloc_request_hctx()
certs certs/blacklist_hashes.c: fix const confusion in certs blacklist
crypto crypto: memneq - move into lib/
drivers intel_idle: Disable IBRS during long idle
fs ext4: fix race condition between ext4_write and ext4_convert_inline_data
include objtool: Re-add UNWIND_HINT_{SAVE_RESTORE}
init Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug
ipc ipc/mqueue: use get_tree_nodev() in mqueue_get_tree()
kernel signal handling: don't use BUG_ON() for debugging
lib ida: don't use BUG_ON() for debugging
mm mm: split huge PUD on wp_huge_pud fallback
net net: tipc: fix possible refcount leak in tipc_sk_create()
samples x86: Prepare inline-asm for straight-line-speculation
scripts x86/retbleed: Add fine grained Kconfig knobs
security x86/retbleed: Add fine grained Kconfig knobs
sound ASoC: madera: Fix event generation for rate controls
tools x86/retbleed: Add fine grained Kconfig knobs
usr usr/include/Makefile: add linux/nfc.h to the compile-test coverage
virt KVM: Prevent module exit until all VMs are freed
.clang-format Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes .gitattributes: use 'dts' diff driver for dts files
.gitignore kbuild: generate Module.symvers only when vmlinux exists
.mailmap mailmap: add two more addresses of Uwe Kleine-König
COPYING COPYING: state that all contributions really are covered by this file
CREDITS MAINTAINERS: Move Jason Cooper to CREDITS
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y
Kconfig kbuild: ensure full rebuild when the compiler is updated
MAINTAINERS MAINTAINERS: add Amir as xfs maintainer for 5.10.y
Makefile x86/retbleed: Add fine grained Kconfig knobs
README Drop all 00-INDEX files from Documentation/
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.