Re: [PATCH 02/10] ARM: KVM: vgic: sanitize GICH_VMCR value

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

 



On 21/11/12 18:15, Marc Zyngier wrote:
> We blindly use the GICH_VMCR value when initializing a new VCPU,
> happilly reusing whatever state was left in the register. Bad.
> 
> Instead, sample a default value at hyp-init time, sanitize it,
> and use it when setting up a new VCPU.
> 
> Reported-by: Will Deacon <will.deacon@xxxxxxx>
> Not-even-compile-tested-by: Marc Zyngier <marc.zyngier@xxxxxxx>

Despite what it says here, the code has actually been tested... ;-)

> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>

	M.
-- 
Jazz is not dead. It just smells funny...


_______________________________________________
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