mei: add support for mei extended header.
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 18 Aug 2020 11:51:38 +0000 (14:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Aug 2020 13:44:43 +0000 (15:44 +0200)
commit0cd7c01a60f850987e727b8f08683ace9546eac0
tree9e8ce820fd189df24abe15334d99a65aa6169c07
parent2dd1e5ae8c96f1262ce81d0e77225281ae55eb3d
mei: add support for mei extended header.

Add an extend header beyond existing 4 bytes of the mei message header.
The extension is of variable length, starting with meta header
that contains the number of headers and the overall size of
the extended headers excluding meta header itself followed by
TLV list of extended headers. Currently only supported extension is
the vtag. From the HW perspective the extended headers is already
part of the payload.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Link: https://lore.kernel.org/r/20200818115147.2567012-5-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/client.c
drivers/misc/mei/hbm.c
drivers/misc/mei/hw.h
drivers/misc/mei/interrupt.c
drivers/misc/mei/mei_dev.h