mei: bus: add more client attributes to sysfs
authorAlexander Usyskin <alexander.usyskin@intel.com>
Sat, 16 Nov 2019 14:21:36 +0000 (16:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Nov 2019 11:58:54 +0000 (12:58 +0100)
commit64498695dd800bcb494d96b94f99356ece91ea90
tree494f44da13d7837a9f1abd66db5ca70709f554c9
parent87ff16007cff64a36ef31f50d45b69211d88da1d
mei: bus: add more client attributes to sysfs

Export more client attributes via sysfs that are usually obtained
upon connection. In some cases, for example a monitoring application
may wish to know the attributes without actually performing the connection.
Added attributes:
max number of connections, fixed address, max message length.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Link: https://lore.kernel.org/r/20191116142136.17535-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-bus-mei
drivers/misc/mei/bus.c
drivers/misc/mei/client.h