diff options
author | Sean Christopherson <[email protected]> | 2020-05-27 01:49:09 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-05-27 13:06:45 -0400 |
commit | 6129ed877d409037b79866327102c9dc59a302fe (patch) | |
tree | 436caffb190c60cc761564da81bf40bb89159652 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | d43e2675e96fc6ae1a633b6a69d296394448cc32 (diff) |
KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
Set the mmio_value to '0' instead of simply clearing the present bit to
squash a benign warning in kvm_mmu_set_mmio_spte_mask() that complains
about the mmio_value overlapping the lower GFN mask on systems with 52
bits of PA space.
Opportunistically clean up the code and comments.
Cc: [email protected]
Fixes: d43e2675e96fc ("KVM: x86: only do L1TF workaround on affected processors")
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions