]> git.karo-electronics.de Git - linux-beck.git/commit
mei: support for dynamic clients
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 23 Jul 2015 18:37:12 +0000 (21:37 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:25:51 +0000 (17:25 -0700)
commit70ef835c84b3b88e274a53bf80a70940ae178a91
tree8404cb25e3671d6ab273f0c48de87c2435e8868b
parent6009595a66e460af0b170d736398c49395cb4499
mei: support for dynamic clients

HBM version 2.0 and above allows ME clients in the system to
register/unregister after the system is fully initialized.
Clients may be added or removed after enum_resp message was
received

1. To preserve backward compatibility the driver can opt-in to receive
client add messages by setting allow_add field in enum_req

2. A new client is added upon reception of MEI_HBM_ADD_CLIENT_REQ_CMD

3. A client is removed in a lazy manner when connection request
respond with MEI_HBMS_CLIENT_NOT_FOUND status

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/debugfs.c
drivers/misc/mei/hbm.c
drivers/misc/mei/hw.h
drivers/misc/mei/mei_dev.h