Messages in this thread | | | Date | Tue, 6 Jun 2023 17:53:42 -0700 | Subject | Re: [PATCH] KVM: x86: Use cpu_feature_enabled() for PKU instead of #ifdef | From | Sean Christopherson <> |
| |
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
| |