diff options
author | Dave Martin <Dave.Martin@arm.com> | 2016-01-19 16:20:18 +0000 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2016-01-24 21:55:58 +0000 |
commit | a7e0ac295d964086af3bf98352614f33c381213e (patch) | |
tree | 7529af0368e5df69e650d5fda9ba73b6667406c7 /arch/arm64/Kconfig | |
parent | 8fc153cda9c9e6aed2a4a7235970dd6c6cb6e954 (diff) |
arm64: KVM: Obey RES0/1 reserved bits when setting CPTR_EL2
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.
Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/Kconfig')
0 files changed, 0 insertions, 0 deletions