Commit 6d697e8a authored by Will Deacon's avatar Will Deacon Committed by Quentin Perret
Browse files

ANDROID: KVM: arm64: Reset primary vCPU according to PVM firmware boot protocol



When a PVM firmware image is present for a protected VM, treat the first
running vCPU as the "primary" vCPU and reset its registers accordingly,
in particular by initialising its PC to enter the firmware at startup.

Signed-off-by: default avatarWill Deacon <will@kernel.org>
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Bug: 254819795
Change-Id: I26676637145c7d809c5dc5ac0ad0e1fadaf275d2
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
parent fffed9c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment