summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-05-27 01:49:09 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-25 15:42:02 +0200
commitbcb5e31223420d1ef31f163b2ccd4ef513421586 (patch)
tree98a6b585e88acd42184cecfc4dd3efcea9d88ca6 /drivers
parent30870f278e76ef8781dfc0ff8d9a9f3b2becc8cc (diff)
KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
[ Upstream commit 6129ed877d409037b79866327102c9dc59a302fe ] 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: stable@vger.kernel.org Fixes: d43e2675e96fc ("KVM: x86: only do L1TF workaround on affected processors") Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200527084909.23492-1-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions