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

ANDROID: KVM: arm64: relay entropy requests from protected guests directly to secure



As pKVM does not trust the host, it should not be involved in the
handling of, or be able to observe the response to entropy requests
issues by protected guests.

When an SMC-based implementation of the ARM SMCCC TRNG interface is
present, pass any HVC-based requests directly on to the secure firmware.

Co-developed-by: default avatarArd Biesheuvel <ardb@google.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@google.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
Bug: 209580772
Change-Id: Ica492ce49fd059a62ecc31bb7ac13c9adb773a08
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
Signed-off-by: default avatarQuentin Perret <qperret@google.com>
parent 2fa4eeb9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment