Re: [PATCH 03/10] ARM: KVM: vgic: don't rely on vgic_hcr default value

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

 



On Wed, Nov 21, 2012 at 1:15 PM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote:
> Do not "or" vgic_hcr with VGIC_HCR_EN, just assign it.
> There should be nothing we care about in there.
>
> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>
> ---
>  arch/arm/kvm/vgic.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/kvm/vgic.c b/arch/arm/kvm/vgic.c
> index ffe2260..dc2f611 100644
> --- a/arch/arm/kvm/vgic.c
> +++ b/arch/arm/kvm/vgic.c
> @@ -1077,7 +1077,7 @@ int kvm_vgic_vcpu_init(struct kvm_vcpu *vcpu)
>
>         vgic_cpu->vgic_vmcr = default_vmcr;
>
> -       vgic_cpu->vgic_hcr |= VGIC_HCR_EN; /* Get the show on the road... */
> +       vgic_cpu->vgic_hcr = VGIC_HCR_EN; /* Get the show on the road... */
>
>         return 0;
>  }
> --
> 1.7.12
>
applied, thanks.
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm


[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux