Commit ebc59b12 authored by Will Deacon's avatar Will Deacon
Browse files

drivers/virt: pkvm: Hook up mem_encrypt API using pKVM hypercalls



If we detect the presence of pKVM's SHARE and UNSHARE hypercalls, then
register a backend implementation of the mem_encrypt API so that things
like DMA buffers can be shared appropriately with the host.

Acked-by: default avatarMarc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240830130150.8568-5-will@kernel.org


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent e7bafbf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment