Commit 340ef6cb authored by Sebastian Ene's avatar Sebastian Ene Committed by Keir Fraser
Browse files

ANDROID: KVM: arm64: Add smc64 trap handling for protected guests



Introduce a new interface to allow vendor modules to register an smc
handler for the protected guests. The hypervisor will trap when an smc
instruction is executed on a protected guest and control will be
redirected to the registered SMCCC handler if the requested function is
not a standard secure service call.

Bug: 333300537
Change-Id: I07ed45944a5d863b132113e5ed9fab6ef9d3259a
Signed-off-by: default avatarSebastian Ene <sebastianene@google.com>
Signed-off-by: default avatarNikita Ioffe <ioffe@google.com>
parent 139cbbb5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment