diff options
| author | Roman Kisel <romank@linux.microsoft.com> | 2025-10-09 02:34:05 +0300 |
|---|---|---|
| committer | Wei Liu <wei.liu@kernel.org> | 2025-11-15 09:18:14 +0300 |
| commit | 7c8b6c326d830ca5c6b95f390c703966e14167e6 (patch) | |
| tree | cc24bc24b928663a7e91600348834e64f8a94564 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6802d8af47d1dccd9a74a1f708fb9129244ef843 (diff) | |
| download | linux-7c8b6c326d830ca5c6b95f390c703966e14167e6.tar.xz | |
arch/x86: mshyperv: Discover Confidential VMBus availability
Confidential VMBus requires enabling paravisor SynIC, and
the x86_64 guest has to inspect the Virtualization Stack (VS)
CPUID leaf to see if Confidential VMBus is available. If it is,
the guest shall enable the paravisor SynIC.
Read the relevant data from the VS CPUID leaf. Refactor the
code to avoid repeating CPUID and add flags to the struct
ms_hyperv_info. For ARM64, the flag for Confidential VMBus
is not set which provides the desired behaviour for now as
it is not available on ARM64 just yet. Once ARM64 CCA guests
are supported, this flag will be set unconditionally when
running such a guest.
Signed-off-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
