[PATCH 4/4] x86: switch to cpu_feature_enabled() for X86_FEATURE_XENPV

2022-11-03 Thread Juergen Gross
Convert the remaining cases of static_cpu_has(X86_FEATURE_XENPV) and boot_cpu_has(X86_FEATURE_XENPV) to use cpu_feature_enabled(), allowing more efficient code in case the kernel is configured without CONFIG_XEN_PV. Signed-off-by: Juergen Gross --- arch/x86/kernel/cpu/amd.c| 2 +- arch/x86/k

Re: [PATCH 4/4] x86: switch to cpu_feature_enabled() for X86_FEATURE_XENPV

2022-11-03 Thread Brian Gerst
On Thu, Nov 3, 2022 at 8:37 AM Juergen Gross wrote: > > Convert the remaining cases of static_cpu_has(X86_FEATURE_XENPV) and > boot_cpu_has(X86_FEATURE_XENPV) to use cpu_feature_enabled(), allowing > more efficient code in case the kernel is configured without > CONFIG_XEN_PV. > > Signed-off-by: J

Re: [PATCH 4/4] x86: switch to cpu_feature_enabled() for X86_FEATURE_XENPV

2022-11-03 Thread Juergen Gross
On 03.11.22 14:19, Brian Gerst wrote: On Thu, Nov 3, 2022 at 8:37 AM Juergen Gross wrote: Convert the remaining cases of static_cpu_has(X86_FEATURE_XENPV) and boot_cpu_has(X86_FEATURE_XENPV) to use cpu_feature_enabled(), allowing more efficient code in case the kernel is configured without CON