ANDROID: KVM: arm64: Add smc64 trap handling for protected guests
Introduce a new interface to allow vendor modules to register a SMC handler for a given protected guest. The pkvm will trap the SMC instruction on the protected guest, and delegate the control flow to the registered SMC handler. Bug: 360102915 Change-Id: I928a8ad890de264ce376ad174a2f4205c7c24688 Signed-off-by: Nikita Ioffe <ioffe@google.com> Signed-off-by: Sebastian Ene <sebastianene@google.com>
This commit is contained in:
committed by
Carlos Llamas
parent
2c1385ae0e
commit
128144da22
@@ -343,6 +343,9 @@
|
||||
ARM_SMCCC_OWNER_STANDARD, \
|
||||
0x53)
|
||||
|
||||
#define ARM_CCA_FUNC_END 0x840001CF
|
||||
#define ARM_CCA_64BIT_FUNC_END 0xC40001CF
|
||||
|
||||
/*
|
||||
* Return codes defined in ARM DEN 0070A
|
||||
* ARM DEN 0070A is now merged/consolidated into ARM DEN 0028 C
|
||||
|
||||
Reference in New Issue
Block a user