aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-02-26 00:15:29 +0000
committerPaolo Bonzini <[email protected]>2022-03-08 09:31:53 -0500
commit966da62adaf1792c56fe909fc78f3833208ef5ae (patch)
treece62ddc803568d17cb548b0a3bc99ce8c70fc993 /net/lapb/lapb_timer.c
parent0e587aa7335588ac5e12ef707f7979ff91b11751 (diff)
KVM: x86/mmu: WARN if old _or_ new SPTE is REMOVED in non-atomic path
WARN if the new_spte being set by __tdp_mmu_set_spte() is a REMOVED_SPTE, which is called out by the comment as being disallowed but not actually checked. Keep the WARN on the old_spte as well, because overwriting a REMOVED_SPTE in the non-atomic path is also disallowed (as evidence by lack of splats with the existing WARN). Fixes: 08f07c800e9d ("KVM: x86/mmu: Flush TLBs after zap in TDP MMU PF handler") Cc: Ben Gardon <[email protected]> Signed-off-by: Sean Christopherson <[email protected]> Reviewed-by: Ben Gardon <[email protected]> Message-Id: <[email protected]> Reviewed-by: Mingwei Zhang <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions