mei: add mei_quirk_probe function
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 1 Dec 2014 22:29:53 +0000 (00:29 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Dec 2014 16:24:00 +0000 (16:24 +0000)
commit7250ff7dd18b7a7a650af4079bbf940f20fd4253
tree0cf58d237cb54b34a2a24ec59f08529649c26b7f
parent5debff3f190462800f5590682b93bfbe0084cb4a
mei: add mei_quirk_probe function

commit 9a123f19832702753805afe0e93db26799b91b07 upstream.

The main purpose of this function is to exclude ME devices
without support for MEI/HECI interface from binding

Currently affected systems are C600/X79 based servers
that expose PCI device even though it doesn't supported ME Interface.
MEI driver accessing such nonfunctional device can corrupt
the system.

[Backported to 3.2: files were moved]
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/staging/mei/main.c