diff options
author | Huaitong Han <huaitong.han@intel.com> | 2016-03-22 16:51:21 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 16:38:17 +0100 |
commit | b9baba861489041b37b54fc7ee0b0006b5327151 (patch) | |
tree | 28a3d76b7d602a2b886356b08097e82d4a7169ed /arch/blackfin/include/asm/segment.h | |
parent | be94f6b71067df47d623fc6c6983a8dee504fb4d (diff) |
KVM, pkeys: expose CPUID/CR4 to guest
X86_FEATURE_PKU is referred to as "PKU" in the hardware documentation:
CPUID.7.0.ECX[3]:PKU. X86_FEATURE_OSPKE is software support for pkeys,
enumerated with CPUID.7.0.ECX[4]:OSPKE, and it reflects the setting of
CR4.PKE(bit 22).
This patch disables CPUID:PKU without ept, because pkeys is not yet
implemented for shadow paging.
Signed-off-by: Huaitong Han <huaitong.han@intel.com>
Reviewed-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/blackfin/include/asm/segment.h')
0 files changed, 0 insertions, 0 deletions