Skip to content

Commit 4a605bc

Browse files
committed
kvm: vmx: fix formatting of a comment
Eliminate a gratuitous conflict with 5.0. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
1 parent eca6be5 commit 4a605bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/x86/kvm/vmx/vmx.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,13 +1213,13 @@ static void vmx_vcpu_pi_load(struct kvm_vcpu *vcpu, int cpu)
12131213
new.control) != old.control);
12141214

12151215
/*
1216-
* Clear SN before reading the bitmap; this ensures that any
1217-
* interrupt that comes after the bitmap is read sets ON. The
1218-
* VT-d firmware * writes the bitmap and reads SN atomically (5.2.3
1219-
* in the spec), so it doesn't really have a memory barrier that
1220-
* pairs with this. However, we cannot do that and we need one.
1216+
* Clear SN before reading the bitmap. The VT-d firmware
1217+
* writes the bitmap and reads SN atomically (5.2.3 in the
1218+
* spec), so it doesn't really have a memory barrier that
1219+
* pairs with this, but we cannot do that and we need one.
12211220
*/
12221221
smp_mb__after_atomic();
1222+
12231223
if (!bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS))
12241224
pi_set_on(pi_desc);
12251225
}

0 commit comments

Comments
 (0)