]> git.baikalelectronics.ru Git - kernel.git/commit
mei: me: do not load the driver if the FW doesn't support MEI interface
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 25 Mar 2014 19:25:18 +0000 (21:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 19:24:16 +0000 (12:24 -0700)
commit492d61bc47913660f5518e44a37f9e03f2a93601
tree67545420a93a61b87ce975fe3360d98c78b54b60
parent40cd9005abb04ec411c7ae5b3dc84a3855ab8b1a
mei: me: do not load the driver if the FW doesn't support MEI interface

NM and SPS  FW types that may run on ME device on server platforms
do not have valid MEI/HECI interface and driver should not
be bound to it as this might lead to system hung.
In practice not all BIOSes effectively hide such devices from the
OS and in some cases it is not possible.

We determine FW type by examining Host FW status registers in order to
unbind the driver.
In this patch we are adding check for ME on Cougar Point, Lynx Point
Devices

Cc: stable <stable@vger.kernel.org> # 3.10+
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Tested-by: Nikola Ciprich <nikola.ciprich@linuxbox.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/hw-me-regs.h
drivers/misc/mei/pci-me.c