]> xenbits.xensource.com Git - people/tklengyel/xen.git/commit
x86/Kconfig: introduce option to select retpoline usage
authorRoger Pau Monne <roger.pau@citrix.com>
Fri, 18 Feb 2022 14:34:16 +0000 (15:34 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 21 Feb 2022 18:17:56 +0000 (18:17 +0000)
commit95d9ab46143685f169f636cfdd7997e2fc630e86
treefaedc3c4573bf9c1b8d5f0a4f676f49670745baa
parent9412486707f8f1ca2eb31c2ef330c5e39c0a2f30
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>
xen/arch/x86/Kconfig
xen/common/Kconfig