lkml.org 
[lkml]   [2019]   [Jan]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] svm: Fix AVIC DFR and LDR handling
From
Date
On 29/01/19 09:08, Suthikulpanit, Suravee wrote:
> +static void avic_inv_logical_id_entry(struct kvm_vcpu *vcpu)
> +{
> + struct vcpu_svm *svm = to_svm(vcpu);
> + bool flat = svm->dfr_reg == APIC_DFR_FLAT;
> + u32 *entry = avic_get_logical_id_entry(vcpu, svm->ldr_reg, flat);
> +
> + if (entry)
> + WRITE_ONCE(*entry, (u32) ~AVIC_LOGICAL_ID_ENTRY_VALID_MASK);
> +}
> +

Renamed the function with s/inv/invalidate/ and queued, thanks.

Paolo

\
 
 \ /
  Last update: 2019-01-30 17:11    [W:0.029 / U:46.544 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site