<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/misc/mei/bus.c, branch linux-4.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-07-07T22:04:12Z</updated>
<entry>
<title>mei: nfc: fix deadlock on shutdown/suspend path</title>
<updated>2015-07-07T22:04:12Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2015-07-07T21:22:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f273959b850569253299987eee611927f048de7'/>
<id>urn:sha1:4f273959b850569253299987eee611927f048de7</id>
<content type='text'>
In function mei_nfc_host_exit mei_cl_remove_device cannot be called
under the device mutex as device removing flow invokes the device driver
remove handler that calls in turn to mei_cl_disable_device which
naturally acquires the device mutex.

Also remove mei_cl_bus_remove_devices which has the same issue, but is
never executed as currently the only device on the mei client bus is NFC
and a new device cannot be easily added till the bus revamp is
completed.

This fixes regression caused by commit be9b720a0ccb ("mei_phy: move all
nfc logic from mei driver to nfc")

Prior to this change the nfc driver remove handler called to no-op
disable function while actual nfc device was disabled directly from the
mei driver.

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Acked-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>mei: fix up uuid matching</title>
<updated>2015-05-31T03:14:00Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2015-05-28T00:17:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b144ce2d37619e05afdb0a15676500d76a64b1be'/>
<id>urn:sha1:b144ce2d37619e05afdb0a15676500d76a64b1be</id>
<content type='text'>
A previous commit, c93b76b34b4d ("mei: bus: report also uuid in module
alias") caused a build error as I missed applying a needed patch to add
some macros to uapi/linux/uuid.h.  Instead of those additional macros,
change the mei code to use the existing uuid structure directly.

Fixes: c93b76b34b4d
Cc: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>NFC: mei_phy: move all nfc logic from mei driver to nfc</title>
<updated>2015-05-24T18:15:54Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2015-05-07T12:54:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be9b720a0ccba096d669bc86634f900b82b9bf71'/>
<id>urn:sha1:be9b720a0ccba096d669bc86634f900b82b9bf71</id>
<content type='text'>
move nfc logic to mei_phy module, we prefer as much as
possible not to deal with a particualr client protocol
in the mei generic infrasutcutre

Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: bus: add name and uuid into device attributes</title>
<updated>2015-05-24T18:15:54Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2015-05-07T12:54:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=007d64eb2232b91aa86b51abc1742936807e0bd4'/>
<id>urn:sha1:007d64eb2232b91aa86b51abc1742936807e0bd4</id>
<content type='text'>
Export name and uuid via sysfs and uevent

Cc: linux-api@vger.kernel.org
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: bus: report also uuid in module alias</title>
<updated>2015-05-24T18:15:54Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2015-05-07T12:54:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c93b76b34b4d8dbe8e3443eb27e49ac60034342b'/>
<id>urn:sha1:c93b76b34b4d8dbe8e3443eb27e49ac60034342b</id>
<content type='text'>
In order to automate modules matching add device uuid
which is reported in client enumeration, keep also
the name that is needed in for nfc distinguishing radio vendor

Report mei:name:uuid

Cc: linux-api@vger.kernel.org
Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: add a reference from the host client to the me client</title>
<updated>2015-05-24T18:13:10Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2015-05-04T06:43:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d49ed64a6e3f73975b7eb570c4ea8f37e87d7e5d'/>
<id>urn:sha1:d49ed64a6e3f73975b7eb570c4ea8f37e87d7e5d</id>
<content type='text'>
Keep a pointer to associated me client in the host client object to
eliminate me client searches. Check if the me client is active in the
firmware by checking if its is linked on the me clients list
Add accessors for the me client properties from host client.

Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: revamp client connection</title>
<updated>2015-05-24T18:13:10Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2015-05-04T06:43:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0c53357ca4b3a03aafc211de663e84dba7c628e2'/>
<id>urn:sha1:0c53357ca4b3a03aafc211de663e84dba7c628e2</id>
<content type='text'>
Simplify connect state machine by changing the logic around
Connection request in progress - only check if we have a callback in
relevant queue.
Extract common code into mei_cl_send_connect() function

Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: revamp client disconnection flow</title>
<updated>2015-05-24T18:13:10Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2015-05-04T06:43:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3c66618295ca5fb0fde32e60e5f26557a5fcad5e'/>
<id>urn:sha1:3c66618295ca5fb0fde32e60e5f26557a5fcad5e</id>
<content type='text'>
Split disconnected state into two parts first reception disconnect
response from the firmware and second actually setting of disconnected
state.  Book keeping data are needed for processing and after firmware
disconnected the client and are cleaned when setting the disconnected
state in mei_cl_set_disconneted() function.
Add mei_cl_send_disconnect to reduce code duplication.

Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: replace check for connection instead of transitioning</title>
<updated>2015-04-03T14:18:56Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2015-03-26T22:27:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a84d63d22a0ac79ab422b69ef2b4d75002c5641'/>
<id>urn:sha1:6a84d63d22a0ac79ab422b69ef2b4d75002c5641</id>
<content type='text'>
The function mei_cl_is_transitioning is just opposite
of mei_cl_is_connected. What we actually wanted to
check is if we lost connection so we can discard
the check for transition and check for 'not connected'

Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: use mei_cl_is_connected consistently</title>
<updated>2015-04-03T14:18:56Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2015-03-26T22:27:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3de9b635d93a3d268adda428e1df94091506a42'/>
<id>urn:sha1:f3de9b635d93a3d268adda428e1df94091506a42</id>
<content type='text'>
Replace open coded check for cl-&gt;state !=/== MEI_FILE_CONNECTED
with mei_cl_is_connected function.

Note that cl-&gt;state != MEI_FILE_CONNECTED is not the same
as cl-&gt;state == MEI_FILE_DISCONNECTED

Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
