Skip to content

Commit

Permalink
kvm: vmx: fix formatting of a comment
Browse files Browse the repository at this point in the history
Eliminate a gratuitous conflict with 5.0.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
Paolo Bonzini committed Mar 15, 2019
1 parent eca6be5 commit 4a605bc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions arch/x86/kvm/vmx/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1213,13 +1213,13 @@ static void vmx_vcpu_pi_load(struct kvm_vcpu *vcpu, int cpu)
new.control) != old.control);

/*
* Clear SN before reading the bitmap; this ensures that any
* interrupt that comes after the bitmap is read sets ON. The
* VT-d firmware * writes the bitmap and reads SN atomically (5.2.3
* in the spec), so it doesn't really have a memory barrier that
* pairs with this. However, we cannot do that and we need one.
* Clear SN before reading the bitmap. The VT-d firmware
* writes the bitmap and reads SN atomically (5.2.3 in the
* spec), so it doesn't really have a memory barrier that
* pairs with this, but we cannot do that and we need one.
*/
smp_mb__after_atomic();

if (!bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS))
pi_set_on(pi_desc);
}
Expand Down

0 comments on commit 4a605bc

Please sign in to comment.