x86/Kconfig: Add CONFIG_CALL_THUNKS
authorThomas Gleixner <tglx@linutronix.de>
Thu, 15 Sep 2022 11:11:17 +0000 (13:11 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 17 Oct 2022 14:41:10 +0000 (16:41 +0200)
commit8f7c0d8b23c3f5f740a48db31ebadef28af17a22
tree0a8ffceaa5e5ced02671727a3b95b41090f91288
parentcb855971d717a2dd752241f66fedad9dc178388c
x86/Kconfig: Add CONFIG_CALL_THUNKS

In preparation for mitigating the Intel SKL RSB underflow issue in
software, add a new configuration symbol which allows to build the
required call thunk infrastructure conditionally.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111146.849523555@infradead.org
arch/x86/Kconfig