]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/mshyperv: Add support for extended Hyper-V features
authorStanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Fri, 14 Mar 2025 19:28:48 +0000 (12:28 -0700)
committerWei Liu <wei.liu@kernel.org>
Thu, 20 Mar 2025 21:23:03 +0000 (21:23 +0000)
commit8cac51796ecb162c437cc651f37152095af76591
tree327b8d61856c7e00b718dad69340c3cfc00aa9ce
parent3817854ba892016ddb03ee31208e9f8e440f5bee
x86/mshyperv: Add support for extended Hyper-V features

Extend the "ms_hyperv_info" structure to include a new field,
"ext_features", for capturing extended Hyper-V features.
Update the "ms_hyperv_init_platform" function to retrieve these features
using the cpuid instruction and include them in the informational output.

Signed-off-by: Stanislav Kinsburskii <skinsburskii@linux.microsoft.com>
Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Easwar Hariharan <eahariha@linux.microsoft.com>
Reviewed-by: Roman Kisel <romank@linux.microsoft.com>
Reviewed-by: Tianyu Lan <tiala@microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Link: https://lore.kernel.org/r/1741980536-3865-3-git-send-email-nunodasneves@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <1741980536-3865-3-git-send-email-nunodasneves@linux.microsoft.com>
arch/x86/kernel/cpu/mshyperv.c
include/asm-generic/mshyperv.h