x86/retpoline: split retpoline compiler support into separate option
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 31 Mar 2022 08:54:08 +0000 (10:54 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 31 Mar 2022 08:54:08 +0000 (10:54 +0200)
commit0caab659704bb0944a62f7535f3c726f5db922c5
treed3a1267e862407266544396df734820236b0b038
parent4dcddbba664cc91e2c1952498e80d8025891b9ad
x86/retpoline: split retpoline compiler support into separate option

Keep the previous option as a way to signal generic retpoline support
regardless of the underlying compiler, while introducing a new
CC_HAS_INDIRECT_THUNK that signals whether the underlying compiler
supports retpoline.

No functional change intended.

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