diff options
author | Roman Kisel <romank@linux.microsoft.com> | 2025-04-28 14:07:32 -0700 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2025-05-23 16:30:55 +0000 |
commit | 13423063c7cb7d1c34104a78cae85eb0281bae90 (patch) | |
tree | 7bff72ae9d6a10634987069fd33da4ffbb7de675 /tools/perf/scripts/python/syscall-counts.py | |
parent | a9c0b33ef2306327dd2db02c6274107065ff9307 (diff) |
arm64: kvm, smccc: Introduce and use API for getting hypervisor UUID
The KVM/arm64 uses SMCCC to detect hypervisor presence. That code is
private, and it follows the SMCCC specification. Other existing and
emerging hypervisor guest implementations can and should use that
standard approach as well.
Factor out a common infrastructure that the guests can use, update KVM
to employ the new API. The central notion of the SMCCC method is the
UUID of the hypervisor, and the new API follows that.
No functional changes. Validated with a KVM/arm64 guest.
Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20250428210742.435282-2-romank@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250428210742.435282-2-romank@linux.microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions