Re: [PATCH v2 05/15] x86: amend cpu_has_xen_[ibt,shstk}

2023-11-27 Thread Jan Beulich
On 24.11.2023 14:52, Andrew Cooper wrote: > In the subject, [ -> { > > ? Right, noticed (sadly) just after sending, and already corrected locally. > On 24/11/2023 8:38 am, Jan Beulich wrote: >> ... to evaluate to false at compile-time when the respective Kconfig >> control is off, thus allowing

Re: [PATCH v2 05/15] x86: amend cpu_has_xen_[ibt,shstk}

2023-11-24 Thread Andrew Cooper
In the subject, [ -> { ? On 24/11/2023 8:38 am, Jan Beulich wrote: > ... to evaluate to false at compile-time when the respective Kconfig > control is off, thus allowing the compiler to eliminate then-dead code. > > Signed-off-by: Jan Beulich Acked-by: Andrew Cooper I've got part of a series

[PATCH v2 05/15] x86: amend cpu_has_xen_[ibt,shstk}

2023-11-24 Thread Jan Beulich
... to evaluate to false at compile-time when the respective Kconfig control is off, thus allowing the compiler to eliminate then-dead code. Signed-off-by: Jan Beulich --- v2: New. --- a/xen/arch/x86/include/asm/cpufeature.h +++ b/xen/arch/x86/include/asm/cpufeature.h @@ -215,8 +215,10 @@ static