Commit cd26f684 authored by Will Deacon's avatar Will Deacon Committed by Keir Fraser
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>
Bug: 357781595
Change-Id: Ica492ce49fd059a62ecc31bb7ac13c9adb773a08
Signed-off-by: default avatarArd Biesheuvel <ardb@google.com>
Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent c8960028
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment