lkml.org 
[lkml]   [2023]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] KVM: x86: Use cpu_feature_enabled() for PKU instead of #ifdef
From
On Thu, 01 Jun 2023 18:05:50 -0700, Sean Christopherson wrote:
> Replace an #ifdef on CONFIG_X86_INTEL_MEMORY_PROTECTION_KEYS with a
> cpu_feature_enabled() check on X86_FEATURE_PKU. The macro magic of
> DISABLED_MASK_BIT_SET() means that cpu_feature_enabled() provides the
> same end result (no code generated) when PKU is disabled by Kconfig.
>
> No functional change intended.
>
> [...]

Applied to kvm-x86 misc, thanks!

[1/1] KVM: x86: Use cpu_feature_enabled() for PKU instead of #ifdef
https://github.com/kvm-x86/linux/commit/056b9919a16a

--
https://github.com/kvm-x86/linux/tree/next
https://github.com/kvm-x86/linux/tree/fixes

\
 
 \ /
  Last update: 2023-06-07 02:55    [W:0.051 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site