summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/hw.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2015-07-26 09:54:17 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-03 17:26:45 -0700
commit4d99877d871da0bbb924b2d7aa4ccb27e1ffa93a (patch)
tree7bb725573f21ede0e5844d0be5103bdc46374e5c /drivers/misc/mei/hw.h
parent965ae37ab86eb8cd327c5752dc9e2190d33db25c (diff)
downloadlinux-stable-4d99877d871da0bbb924b2d7aa4ccb27e1ffa93a.tar.gz
linux-stable-4d99877d871da0bbb924b2d7aa4ccb27e1ffa93a.tar.bz2
linux-stable-4d99877d871da0bbb924b2d7aa4ccb27e1ffa93a.zip
mei: enable async event notifications only from hbm version 2.0
Only FW version 2.0 and newer support the async event notification. For backward compatibility block the feature if the FW version is older then 2.0 Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/hw.h')
-rw-r--r--drivers/misc/mei/hw.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/misc/mei/hw.h b/drivers/misc/mei/hw.h
index a2c7aaba25d4..3f8901a503a6 100644
--- a/drivers/misc/mei/hw.h
+++ b/drivers/misc/mei/hw.h
@@ -58,6 +58,12 @@
#define HBM_MINOR_VERSION_DOT 0
#define HBM_MAJOR_VERSION_DOT 2
+/*
+ * MEI version with notifcation support
+ */
+#define HBM_MINOR_VERSION_EV 0
+#define HBM_MAJOR_VERSION_EV 2
+
/* Host bus message command opcode */
#define MEI_HBM_CMD_OP_MSK 0x7f
/* Host bus message command RESPONSE */