summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-01-18 19:51:49 +0100
committerTakashi Iwai <tiwai@suse.de>2021-01-18 19:51:49 +0100
commitc23010ffb20acb02a1d41dc025131609916ed633 (patch)
tree8a6ce10eb17196a3e22cccf92daa9e36d2651eab /virt
parent532a208ad61018b586cebfca8431291fe9c10ce7 (diff)
parent7505c06dabb5e814bda610c8d83338544f15db45 (diff)
Merge tag 'asoc-fix-v5.11-rc4' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v5.11 A few more fixes for v5.11, mostly around HDA jack detection, plus a couple of updates to the MAINTAINERS entries.
Diffstat (limited to 'virt')
-rw-r--r--virt/kvm/kvm_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 5f260488e999..fa9e3614d30e 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -485,9 +485,8 @@ static int kvm_mmu_notifier_invalidate_range_start(struct mmu_notifier *mn,
kvm->mmu_notifier_count++;
need_tlb_flush = kvm_unmap_hva_range(kvm, range->start, range->end,
range->flags);
- need_tlb_flush |= kvm->tlbs_dirty;
/* we've to flush the tlb before the pages can be freed */
- if (need_tlb_flush)
+ if (need_tlb_flush || kvm->tlbs_dirty)
kvm_flush_remote_tlbs(kvm);
spin_unlock(&kvm->mmu_lock);