]> git.karo-electronics.de Git - linux-beck.git/commit
mei: bus: enable OS version only for SPT and newer
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 10 Jan 2017 23:27:21 +0000 (01:27 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Jan 2017 06:43:57 +0000 (07:43 +0100)
commit7ee7f45a763bd68c3a606595a8c1bb08c3e6146b
treea42e4971126677c3758e46e4e0f0a20a8d8d41f5
parenta121103c922847ba5010819a3f250f1f7fc84ab8
mei: bus: enable OS version only for SPT and newer

Sending OS version for support of TPM2_ChangeEPS() is required only
for SPT FW (HMB version 2.0) and newer.
On older platforms the command should be just ignored by the firmware
but some older platforms misbehave so it's safer to send the command
only if required.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=192051
Fixes: 7279b238bade (mei: send OS type to the FW)
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Tested-by: Jan Niehusmann <jan@gondor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus-fixup.c
drivers/misc/mei/debugfs.c
drivers/misc/mei/hbm.c
drivers/misc/mei/hw.h
drivers/misc/mei/mei_dev.h