aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorBen Gardon <[email protected]>2021-02-02 10:57:27 -0800
committerPaolo Bonzini <[email protected]>2021-02-04 05:27:44 -0500
commit08f07c800e9d35b59d0c8346333f189160bd67d4 (patch)
tree44c42033d98884e06469bf488e178b399c40e75e /lib/mpi/mpi-mod.c
parent9a77daacc87dee9fd63e31243f21894132ed8407 (diff)
KVM: x86/mmu: Flush TLBs after zap in TDP MMU PF handler
When the TDP MMU is allowed to handle page faults in parallel there is the possiblity of a race where an SPTE is cleared and then imediately replaced with a present SPTE pointing to a different PFN, before the TLBs can be flushed. This race would violate architectural specs. Ensure that the TLBs are flushed properly before other threads are allowed to install any present value for the SPTE. Reviewed-by: Peter Feiner <[email protected]> Signed-off-by: Ben Gardon <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions