x86/Kconfig: introduce option to select retpoline usage
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 31 Mar 2022 08:57:23 +0000 (10:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 31 Mar 2022 08:57:23 +0000 (10:57 +0200)
commitdd359f9f505e7df960aad13116bc6f576f5fdd94
tree1074311ad555f66c4f13f4e2001eb2e56c8d52f6
parentdc24f4342b718c570ec794a0fc953e82e894ee3c
x86/Kconfig: introduce option to select retpoline usage

Add a new Kconfig option under the "Speculative hardening" section
that allows selecting whether to enable retpoline. This depends on the
underlying compiler having retpoline support.

Requested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 95d9ab46143685f169f636cfdd7997e2fc630e86
master date: 2022-02-21 18:17:56 +0000
xen/arch/x86/Kconfig
xen/common/Kconfig