aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorAnirudh Rayabharam (Microsoft) <[email protected]>2025-05-21 09:40:48 +0000
committerSudeep Holla <[email protected]>2025-06-11 12:55:41 +0000
commit1733432638f323d80ec3d6ba411794cc20e2465f (patch)
tree2246872d0074b043877a08b064bce45e993c2cdf /rust/helpers/helpers.c
parentLinux 6.16-rc1 (diff)
downloadkernel-1733432638f323d80ec3d6ba411794cc20e2465f.tar.gz
kernel-1733432638f323d80ec3d6ba411794cc20e2465f.zip
firmware: smccc: Support both smc and hvc conduits for getting hyp UUID
When Linux is running as the root partition under Microsoft Hypervisor (MSHV) a.k.a Hyper-V, smc is used as the conduit for smc calls. Extend arm_smccc_hypervisor_has_uuid() to support this usecase. Use arm_smccc_1_1_invoke to retrieve and use the appropriate conduit instead of supporting only hvc. Boot tested on MSHV guest, MSHV root & KVM guest. Signed-off-by: Anirudh Rayabharam (Microsoft) <[email protected]> Reviewed-by: Sudeep Holla <[email protected]> Tested-by: Roman Kisel <[email protected]> Reviewed-by: Roman Kisel <[email protected]> Message-Id: <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions