diff options
author | Huaitong Han <huaitong.han@intel.com> | 2016-03-22 11:51:19 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-03-22 18:21:06 +0300 |
commit | 2d344105f57ca77fc9c5d4377f65d1082f71ac4b (patch) | |
tree | b1455c8e0ee021c59d7a702f1828a69dec42030b /block/blk-mq.c | |
parent | 1be0e61c1f255faaeab04a390e00c8b9b9042870 (diff) | |
download | linux-2d344105f57ca77fc9c5d4377f65d1082f71ac4b.tar.xz |
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 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions