diff options
author | Huaitong Han <huaitong.han@intel.com> | 2016-03-22 16:51:19 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 16:21:06 +0100 |
commit | 2d344105f57ca77fc9c5d4377f65d1082f71ac4b (patch) | |
tree | b1455c8e0ee021c59d7a702f1828a69dec42030b /arch/x86/kvm/mmu.h | |
parent | 1be0e61c1f255faaeab04a390e00c8b9b9042870 (diff) | |
download | blackbird-op-linux-2d344105f57ca77fc9c5d4377f65d1082f71ac4b.tar.gz blackbird-op-linux-2d344105f57ca77fc9c5d4377f65d1082f71ac4b.zip |
KVM, pkeys: introduce pkru_mask to cache conditions
PKEYS defines a new status bit in the PFEC. PFEC.PK (bit 5), if some
conditions is true, the fault is considered as a PKU violation.
pkru_mask indicates if we need to check PKRU.ADi and PKRU.WDi, and
does cache some conditions for permission_fault.
[ Huaitong: Xiao helps to modify many sections. ]
Signed-off-by: Huaitong Han <huaitong.han@intel.com>
Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/mmu.h')
0 files changed, 0 insertions, 0 deletions