]> git.karo-electronics.de Git - karo-tx-linux.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>
Tue, 6 May 2014 14:59:25 +0000 (07:59 -0700)
commit5716684805259aec90a6dc3d6b28340826d1e2ad
tree14781d1f793545f77fb87bbb2db153937b008788
parent331e449e92ba18f9f9f39f6e8776d3cd4d999146
mei: me: do not load the driver if the FW doesn't support MEI interface

commit 5e6533a6f52f1a8283b2f818f5828be99a417dd6 upstream.

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

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