Commit 4a605bc0 authored by Paolo Bonzini's avatar Paolo Bonzini

kvm: vmx: fix formatting of a comment

Eliminate a gratuitous conflict with 5.0.
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent eca6be56
...@@ -1213,13 +1213,13 @@ static void vmx_vcpu_pi_load(struct kvm_vcpu *vcpu, int cpu) ...@@ -1213,13 +1213,13 @@ static void vmx_vcpu_pi_load(struct kvm_vcpu *vcpu, int cpu)
new.control) != old.control); new.control) != old.control);
/* /*
* Clear SN before reading the bitmap; this ensures that any * Clear SN before reading the bitmap. The VT-d firmware
* interrupt that comes after the bitmap is read sets ON. The * writes the bitmap and reads SN atomically (5.2.3 in the
* VT-d firmware * writes the bitmap and reads SN atomically (5.2.3 * spec), so it doesn't really have a memory barrier that
* 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.
* pairs with this. However, we cannot do that and we need one.
*/ */
smp_mb__after_atomic(); smp_mb__after_atomic();
if (!bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS)) if (!bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS))
pi_set_on(pi_desc); pi_set_on(pi_desc);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment