Commit 6b3f3123 authored by Oliver Upton's avatar Oliver Upton Committed by Treehugger Robot
Browse files

UPSTREAM: KVM: arm64: Treat PMCR_EL1.LC as RES1 on asymmetric systems



KVM does not support AArch32 on asymmetric systems. To that end, enforce
AArch64-only behavior on PMCR_EL1.LC when on an asymmetric system.

Bug: 254441685
Fixes: 2122a833 ("arm64: Allow mismatched 32-bit EL0 support")
Signed-off-by: default avatarOliver Upton <oliver.upton@linux.dev>
Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220816192554.1455559-2-oliver.upton@linux.dev


(cherry picked from commit f3c6efc7)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I980557ff6d0886059fb9b884c0925c7a9559d052
parent 36910846
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment