diff options
author | Chenyi Qiang <chenyi.qiang@intel.com> | 2021-10-21 15:10:22 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-21 11:09:29 -0400 |
commit | a3ca5281bb771d8103ea16f0a6a8a5df9a7fb4f3 (patch) | |
tree | 27a872ad72424bb825cedf0ee3a7b79c210b6758 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3a25dfa67fe40f3a2690af2c562e0947a78bd6a0 (diff) |
KVM: MMU: Reset mmu->pkru_mask to avoid stale data
When updating mmu->pkru_mask, the value can only be added but it isn't
reset in advance. This will make mmu->pkru_mask keep the stale data.
Fix this issue.
Fixes: 2d344105f57c ("KVM, pkeys: introduce pkru_mask to cache conditions")
Signed-off-by: Chenyi Qiang <chenyi.qiang@intel.com>
Message-Id: <20211021071022.1140-1-chenyi.qiang@intel.com>
Reviewed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions