forked from Minki/linux
intel_telemetry: Remove Monitor MWAIT feature dependency
Telemetry capability does not depend on Monitor MWAIT feature. Signed-off-by: "Yu, Ong Hock" <ong.hock.yu@intel.com> Acked-by: Souvik Kumar Chakravarty <souvik.k.chakravarty@intel.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
This commit is contained in:
parent
1d6de071cb
commit
08a245160b
@ -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)) { \
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user