Patchwork [2/6] x86/hyper-v: Drop HV_X64_CONFIGURE_PROFILER definition

login
register
mail settings
Submitter Vitaly Kuznetsov
Date Dec. 6, 2018, 4:58 p.m.
Message ID <20181206165825.1832-3-vkuznets@redhat.com>
Download mbox | patch
Permalink /patch/674385/
State New
Headers show

Comments

Vitaly Kuznetsov - Dec. 6, 2018, 4:58 p.m.
BIT(13) in HYPERV_CPUID_FEATURES.EBX is described as "ConfigureProfiler" in
TLFS v4.0 but starting 5.0 it is replaced with 'Reserved'. As we don't
currently us it in kernel it can just be dropped.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
---
 arch/x86/include/asm/hyperv-tlfs.h | 1 -
 1 file changed, 1 deletion(-)
Michael Kelley - Dec. 9, 2018, 5:45 p.m.
From: Vitaly Kuznetsov <vkuznets@redhat.com> Sent: Thursday, December 6, 2018 8:58 AM
> 
> BIT(13) in HYPERV_CPUID_FEATURES.EBX is described as "ConfigureProfiler" in
> TLFS v4.0 but starting 5.0 it is replaced with 'Reserved'. As we don't
> currently us it in kernel it can just be dropped.
> 
> Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>

Reviewed-by: Michael Kelley <mikelley@microsoft.com>

Patch

diff --git a/arch/x86/include/asm/hyperv-tlfs.h b/arch/x86/include/asm/hyperv-tlfs.h
index 9e6f70e989c2..11546619a65c 100644
--- a/arch/x86/include/asm/hyperv-tlfs.h
+++ b/arch/x86/include/asm/hyperv-tlfs.h
@@ -93,7 +93,6 @@ 
 #define HV_X64_ACCESS_STATS			BIT(8)
 #define HV_X64_DEBUGGING			BIT(11)
 #define HV_X64_CPU_POWER_MANAGEMENT		BIT(12)
-#define HV_X64_CONFIGURE_PROFILER		BIT(13)
 
 /*
  * Feature identification. EDX indicates which miscellaneous features