OSDN Git Service

mei: bus: enable sending gsc commands
authorTomas Winkler <tomas.winkler@intel.com>
Wed, 28 Sep 2022 00:41:32 +0000 (17:41 -0700)
committerDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 3 Oct 2022 18:29:08 +0000 (11:29 -0700)
commit5d5bc18971543e82f6adf0b31745cf6545bc47a7
treed80e3e3742473de28652174cb5bb3eb22584d287
parent4ed1cc997f24c861df7a13d6309479b980d901b2
mei: bus: enable sending gsc commands

GSC command is and extended header containing a scatter gather
list and without a data buffer. Using MEI_CL_IO_SGL flag,
the caller send the GSC command as a data and the function internally
moves it to the extended header.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Vitaly Lubart <vitaly.lubart@intel.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220928004145.745803-3-daniele.ceraolospurio@intel.com
drivers/misc/mei/bus.c
drivers/misc/mei/mei_dev.h