arm64: smccc: Reserve block of KVM "vendor" services for pKVM hypercalls
authorWill Deacon <will@kernel.org>
Fri, 30 Aug 2024 13:01:50 +0000 (14:01 +0100)
committerWill Deacon <will@kernel.org>
Fri, 30 Aug 2024 15:30:41 +0000 (16:30 +0100)
commit21be9f7110d4c044c2b49bafbd7246335f236221
treee8e377f7c58bc85febec692d4e7e74d0f93c905e
parent0f12694958001c96bda811473fdb23f333c6d3ca
arm64: smccc: Reserve block of KVM "vendor" services for pKVM hypercalls

pKVM relies on hypercalls to expose services such as memory sharing to
protected guests. Tentatively allocate a block of 58 hypercalls (i.e.
fill the remaining space in the first 64 function IDs) for pKVM usage,
as future extensions such as pvIOMMU support, range-based memory sharing
and validation of assigned devices will require additional services.

Suggested-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/86a5h5yg5y.wl-maz@kernel.org
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20240830130150.8568-8-will@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
include/linux/arm-smccc.h