Commit 92c988d7 authored by Quentin Perret's avatar Quentin Perret Committed by Carlos Llamas
Browse files

ANDROID: KVM: arm64: Allow tweaking HCR_EL2 from modules



pKVM modules may need to enable additional traps on top of what pKVM
already enables. To allow this use-case, expose a function allowing to
manipulate HCR_EL2 on the current CPU. This configuration will be
persistent across power management cycles and such as it is propagated
all the way to the init params per-cpu struct.

Bug: 245034629
Change-Id: I21d596bd1d01f4edc48a188cc3c2eb78dc9a4444
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
parent efc340f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment