platform:x86: Remove Monitor MWAIT feature dependency
PATCH 1/1 platform:x86 Remove Monitor MWAIT feature dependency
In reply to [email protected]From: "Yu, Ong Hock" <[email protected]>
Telemetry capability does not depend on Monitor MWAIT feature.
--- drivers/platform/x86/intel_telemetry_debugfs.c | 2 +- drivers/platform/x86/intel_telemetry_pltdrv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/platform/x86/intel_telemetry_debugfs.c +1 -1
@@ -78,7 +78,7 @@#define TELEM_EVT_LEN (x) (sizeof(x)/sizeof((x)[0]))#define TELEM_DEBUGFS_CPU (model, data) \ - { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&data} + { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (unsigned long)&data}#define TELEM_CHECK_AND_PARSE_EVTS (EVTID ,EVTNUM ,BUF ,EVTLOG ,EVTDAT ,MASK ) { \ if (evtlog[index].telem_evtid == (EVTID)) { \
drivers/platform/x86/intel_telemetry_pltdrv.c +1 -1
@@ -82,7 +82,7 @@#define TELEM_SET_VERBOSITY_BITS (x, y) ((x) |= ((y) << 27))#define TELEM_CPU (model, data) \ - { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&data } + { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (unsigned long)&data }enum telemetry_action {TELEM_UPDATE =0 ,
Signature · 1 line
1.9.1
PATCH 1/1 platform:x86: Remove Monitor MWAIT feature dependency
From: "Yu, Ong Hock" <[email protected]>
This patch is to remove the MWAIT feature dependency from the driver. Telemetry capability does not depend on this feature. Please include me in the mailing list as I did not subscripe to open list.
Yu, Ong Hock (1):
platform:x86 Remove Monitor MWAIT feature dependency
drivers/platform/x86/intel_telemetry_debugfs.c | 2 +- drivers/platform/x86/intel_telemetry_pltdrv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.9.1
Re: [PATCH] platform:x86 Remove Monitor MWAIT feature dependency
In reply to [email protected]Quoted 5 lines · On Thu, Jun 23, 2016 at 02:59:58PM +0800, [email protected] wrote:
From: "Yu, Ong Hock" <[email protected]>
Telemetry capability does not depend on Monitor MWAIT feature.
Signed-off-by Yu, Ong Hock <[email protected]>
Souvik, any objection?
Quoted 35 lines
--- drivers/platform/x86/intel_telemetry_debugfs.c | 2 +- drivers/platform/x86/intel_telemetry_pltdrv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/platform/x86/intel_telemetry_debugfs.c +1
-1@@ -78,7 +78,7 @@#define TELEM_EVT_LEN (x) (sizeof(x)/sizeof((x)[0]))#define TELEM_DEBUGFS_CPU (model, data) \ - { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&data} + { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (unsigned long)&data}#define TELEM_CHECK_AND_PARSE_EVTS (EVTID ,EVTNUM ,BUF ,EVTLOG ,EVTDAT ,MASK ) { \ if (evtlog[index].telem_evtid == (EVTID)) { \drivers/platform/x86/intel_telemetry_pltdrv.c +1
-1@@ -82,7 +82,7 @@#define TELEM_SET_VERBOSITY_BITS (x, y) ((x) |= ((y) << 27))#define TELEM_CPU (model, data) \ - { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&data } + { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (unsigned long)&data }enum telemetry_action {TELEM_UPDATE =0 ,Signature · 1 line
1.9.1
Signature · 2 lines
Darren Hart Intel Open Source Technology Center
Chakravarty, Souvik K
Acked-byRE: [PATCH] platform:x86 Remove Monitor MWAIT feature dependency
Quoted 9 lines
-----Original Message-----
From: Darren Hart [mailto:[email protected]]
Sent: Wednesday, June 29, 2016 1:54 AM
To: Yu, Ong Hock <[email protected]>
Cc: Chakravarty, Souvik K <[email protected]>; platform-driver- [email protected]; [email protected]
Subject: Re: [PATCH] platform:x86 Remove Monitor MWAIT feature dependency
Quoted 6 lines
Quoted 5 lines · On Thu, Jun 23, 2016 at 02:59:58PM +0800, [email protected] wrote:
From: "Yu, Ong Hock" <[email protected]>
Telemetry capability does not depend on Monitor MWAIT feature.
Signed-off-by Yu, Ong Hock <[email protected]>
Quoted 2 lines
Souvik, any objection?
Seems reasonable, since I have not heard anything break from the Chrome guys as well.
Quoted 6 lines
Quoted 6 lines
--- drivers/platform/x86/intel_telemetry_debugfs.c | 2 +- drivers/platform/x86/intel_telemetry_pltdrv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Re: [PATCH] platform:x86 Remove Monitor MWAIT feature dependency
In reply to [email protected]Quoted 3 lines · On Thu, Jun 23, 2016 at 02:59:58PM +0800, [email protected] wrote:
From: "Yu, Ong Hock" <[email protected]>
Telemetry capability does not depend on Monitor MWAIT feature.
Thank you Ong Hock, queued to testing for 4.8.
Quoted 37 lines
Signed-off-by Yu, Ong Hock <[email protected]>--- drivers/platform/x86/intel_telemetry_debugfs.c | 2 +- drivers/platform/x86/intel_telemetry_pltdrv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)drivers/platform/x86/intel_telemetry_debugfs.c +1
-1@@ -78,7 +78,7 @@#define TELEM_EVT_LEN (x) (sizeof(x)/sizeof((x)[0]))#define TELEM_DEBUGFS_CPU (model, data) \ - { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&data} + { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (unsigned long)&data}#define TELEM_CHECK_AND_PARSE_EVTS (EVTID ,EVTNUM ,BUF ,EVTLOG ,EVTDAT ,MASK ) { \ if (evtlog[index].telem_evtid == (EVTID)) { \drivers/platform/x86/intel_telemetry_pltdrv.c +1
-1@@ -82,7 +82,7 @@#define TELEM_SET_VERBOSITY_BITS (x, y) ((x) |= ((y) << 27))#define TELEM_CPU (model, data) \ - { X86_VENDOR_INTEL, 6, model, X86_FEATURE_MWAIT, (unsigned long)&data } + { X86_VENDOR_INTEL, 6, model, X86_FEATURE_ANY, (unsigned long)&data }enum telemetry_action {TELEM_UPDATE =0 ,Signature · 1 line
1.9.1
Signature · 2 lines
Darren Hart Intel Open Source Technology Center