Re: [PATCH 3.18-stable] arm64: KVM: Sanitize PSTATE.M when being set from userspace

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

 



On Tue, Oct 02, 2018 at 06:27:04PM +0100, Marc Zyngier wrote:
> commit 2a3f93459d689d990b3ecfbe782fec89b97d3279 upstream.
> 
> Not all execution modes are valid for a guest, and some of them
> depend on what the HW actually supports. Let's verify that what
> userspace provides is compatible with both the VM settings and
> the HW capabilities.
> 
> Cc: <stable@xxxxxxxxxxxxxxx>
> Fixes: 0d854a60b1d7 ("arm64: KVM: enable initialization of a 32bit vcpu")
> Reviewed-by: Christoffer Dall <christoffer.dall@xxxxxxx>
> Reviewed-by: Mark Rutland <mark.rutland@xxxxxxx>
> Reviewed-by: Dave Martin <Dave.Martin@xxxxxxx>
> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>
> Signed-off-by: Will Deacon <will.deacon@xxxxxxx>
> Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx>

Now queue up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux