diff options
author | Roman Kisel <romank@linux.microsoft.com> | 2025-04-28 14:07:33 -0700 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2025-05-23 16:30:55 +0000 |
commit | 36ebd328a57ac6138470ecaea2f9ec0864e3db0f (patch) | |
tree | 1c350d7e2e1ce19f4a7b57af547254ec57818edd /tools/perf/scripts/python/syscall-counts.py | |
parent | 13423063c7cb7d1c34104a78cae85eb0281bae90 (diff) |
arm64: hyperv: Use SMCCC to detect hypervisor presence
The arm64 Hyper-V startup path relies on ACPI to detect
running under a Hyper-V compatible hypervisor. That
doesn't work on non-ACPI systems.
Hoist the ACPI detection logic into a separate function. Then
use the vendor-specific hypervisor service call (implemented
recently in Hyper-V) via SMCCC in the non-ACPI case.
Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/20250428210742.435282-3-romank@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250428210742.435282-3-romank@linux.microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions