summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mshyperv.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2015-08-01 16:08:20 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-04 22:30:44 -0700
commitcc2dd4027a43bb36c846f195a764edabc0828602 (patch)
tree5e7d1fc796c9a11c6dd79645d3b06a6ae327b7ed /arch/x86/include/asm/mshyperv.h
parent4a54243fc08f0edda1303bb666f0da68c378c036 (diff)
downloadop-kernel-dev-cc2dd4027a43bb36c846f195a764edabc0828602.zip
op-kernel-dev-cc2dd4027a43bb36c846f195a764edabc0828602.tar.gz
mshyperv: fix recognition of Hyper-V guest crash MSR's
Hypervisor Top Level Functional Specification v3.1/4.0 notes that cpuid (0x40000003) EDX's 10th bit should be used to check that Hyper-V guest crash MSR's functionality available. This patch should fix this recognition. Currently the code checks EAX register instead of EDX. Signed-off-by: Andrey Smetanin <asmetanin@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include/asm/mshyperv.h')
-rw-r--r--arch/x86/include/asm/mshyperv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mshyperv.h b/arch/x86/include/asm/mshyperv.h
index d02f9c9..aaf59b7 100644
--- a/arch/x86/include/asm/mshyperv.h
+++ b/arch/x86/include/asm/mshyperv.h
@@ -7,6 +7,7 @@
struct ms_hyperv_info {
u32 features;
+ u32 misc_features;
u32 hints;
};
OpenPOWER on IntegriCloud