mei: gsc: retrieve the firmware version
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 19 Apr 2022 19:33:12 +0000 (12:33 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 21 Apr 2022 18:34:32 +0000 (11:34 -0700)
commit1bc22fc53a536c051bfbcc377ed50eb217c1fe7e
treed8e97ff9be7ee0ef6fcb55d69b455cd0dba67768
parentad10a35461a5fc4e4d09a7259ede2508f042c6dd
mei: gsc: retrieve the firmware version

Add a hook to retrieve the firmware version of the
GSC devices to bus-fixup.
GSC has a different MKHI clients GUIDs but the same message structure
to retrieve the firmware version as MEI so mei_fwver() can be reused.

CC: Ashutosh Dixit <ashutosh.dixit@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220419193314.526966-6-daniele.ceraolospurio@intel.com
drivers/misc/mei/bus-fixup.c
drivers/misc/mei/hw-me.c