Re: [PATCH] svm: Fix AVIC DFR and LDR handling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux