Subject: [PATCH] arm64: KVM: Obey RES0/1 reserved bits when setting CPTR_EL2

From: [email-masked] (Marc Zyngier)
Date: Tue, 19 Jan 2016 16:32:43 +0000

On 19/01/16 16:20, Dave Martin wrote:
> Some bits in CPTR are defined as RES1 in the architecture.  Setting
> these bits to zero may unintentionally enable future architecture
> extensions, allowing guests to use them without supervision by the host.
> 
> This would be bad: for forwards compatibility, this patch makes
> sure the affected bits are always written with 1, not 0.
> 
> This patch only addresses CPTR_EL2.  Initialisation of other system
> registers may still need review.
> 
> Signed-off-by: Dave Martin <[email-masked]>

Thanks for putting this together:

Reviewed-by: Marc Zyngier <[email-masked]>

Unless someone has an objection, I plan to queue this post -rc1.

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