diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-15 14:23:45 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-15 14:24:34 -0400 |
commit | 4a605bc08e98381d8df61c30a4acb2eac15eb7da (patch) | |
tree | dda5c8c5c3ad9964560f22a1c4daee87db3e5ad8 | |
parent | eca6be566d47029f945a5f8e1c94d374e31df2ca (diff) |
kvm: vmx: fix formatting of a comment
Eliminate a gratuitous conflict with 5.0.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | arch/x86/kvm/vmx/vmx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86/kvm/vmx/vmx.c index 4950bb20e06a..886930db77c5 100644 --- a/arch/x86/kvm/vmx/vmx.c +++ b/arch/x86/kvm/vmx/vmx.c | |||
@@ -1213,13 +1213,13 @@ static void vmx_vcpu_pi_load(struct kvm_vcpu *vcpu, int cpu) | |||
1213 | new.control) != old.control); | 1213 | new.control) != old.control); |
1214 | 1214 | ||
1215 | /* | 1215 | /* |
1216 | * Clear SN before reading the bitmap; this ensures that any | 1216 | * Clear SN before reading the bitmap. The VT-d firmware |
1217 | * interrupt that comes after the bitmap is read sets ON. The | 1217 | * writes the bitmap and reads SN atomically (5.2.3 in the |
1218 | * VT-d firmware * writes the bitmap and reads SN atomically (5.2.3 | 1218 | * spec), so it doesn't really have a memory barrier that |
1219 | * in the spec), so it doesn't really have a memory barrier that | 1219 | * pairs with this, but we cannot do that and we need one. |
1220 | * pairs with this. However, we cannot do that and we need one. | ||
1221 | */ | 1220 | */ |
1222 | smp_mb__after_atomic(); | 1221 | smp_mb__after_atomic(); |
1222 | |||
1223 | if (!bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS)) | 1223 | if (!bitmap_empty((unsigned long *)pi_desc->pir, NR_VECTORS)) |
1224 | pi_set_on(pi_desc); | 1224 | pi_set_on(pi_desc); |
1225 | } | 1225 | } |