<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/misc/mei/interrupt.c, branch linux-4.10.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.10.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-11-15T09:56:52Z</updated>
<entry>
<title>mei: consolidate repeating code in mei_cl_irq_read_msg</title>
<updated>2016-11-15T09:56:52Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2016-11-11T01:00:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17ba8a08b58a01bbac35790ffca4388ca92b7790'/>
<id>urn:sha1:17ba8a08b58a01bbac35790ffca4388ca92b7790</id>
<content type='text'>
A cb is always placed on the completion queue
during discarding queue. Hence this can be performed
upon discard.

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: stop the stall timer worker if not needed</title>
<updated>2016-09-27T10:33:47Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-09-25T10:25:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1892fc2ee4c08d7ac17adb93f1341d9c3d7bdaf6'/>
<id>urn:sha1:1892fc2ee4c08d7ac17adb93f1341d9c3d7bdaf6</id>
<content type='text'>
The stall timer worker checks periodically if there is a stalled i/o
transaction. The issue with the current implementation is that the timer
is ticking also when there is no pending i/o transaction.
This patch provides a simple change that prevents rescheduling
of the delayed work when there is no pending i/o.

Cc: Andy Lutomirski &lt;luto@kernel.org&gt;
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: enqueue consecutive reads</title>
<updated>2016-08-30T12:39:42Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-07-25T22:06:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ff1586a7ea57a4758a3f10ad7c9cdb26edcbd7f3'/>
<id>urn:sha1:ff1586a7ea57a4758a3f10ad7c9cdb26edcbd7f3</id>
<content type='text'>
The FW supports only one pending read per host client, in order to
support  issuing of consecutive reads the driver  queues read requests
internally and send them to the firmware after pending one has
completed.

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: drop redundant krealloc and checks in irq read</title>
<updated>2016-08-30T12:39:42Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-07-25T22:06:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dfe5f753d06a4eaf362872a7f30aabe5f5fc968c'/>
<id>urn:sha1:dfe5f753d06a4eaf362872a7f30aabe5f5fc968c</id>
<content type='text'>
The read callback is always prepared with MTU-sized buffer and the FW
can't send more than the MTU in one message.
Checking for buffer existence and krealloc to increase receive buffer
size are redundant and may be safely discarded.

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: add read callback on demand for fixed_address clients</title>
<updated>2016-08-30T12:36:39Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-06-16T14:58:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a808c80cdaa83939b220176fcdffca8385d88ba6'/>
<id>urn:sha1:a808c80cdaa83939b220176fcdffca8385d88ba6</id>
<content type='text'>
The Fixed address clients do not work with the flow control, and the
packet RX callback was allocated upon TX with anticipation of a
following RX. This won't work if the clients with unsolicited Rx. Rather
than preparing read callback upon a write we allocate one directly on
the reciev path if one doesn't exists.

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: add file pointer to the host client structure</title>
<updated>2016-08-30T12:36:39Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-06-16T14:58:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=97d549b4d5fca22ebde0798cb8c16c19b4ae837a'/>
<id>urn:sha1:97d549b4d5fca22ebde0798cb8c16c19b4ae837a</id>
<content type='text'>
Store the file associated with a client in the host client structure,
this enables dropping the special amthif client file pointer from struct
mei_device, and this is also a preparation for changing the way rx
packet allocation for fixed_address clients

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: move read cb to complete queue if not connected</title>
<updated>2016-08-30T12:36:39Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-06-16T14:58:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a03c608f25fbe2eb5f2862a4dab1791948496215'/>
<id>urn:sha1:a03c608f25fbe2eb5f2862a4dab1791948496215</id>
<content type='text'>
Move read cb to the completion queue if a read finds out that client
is not connected. This expedite user space reader wake on error
condition.

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: amthif: drop iamthif_current_cb</title>
<updated>2016-08-30T12:35:14Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-05-24T20:03:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bca7dbacfd4c7f1f069a70e241e39aea5bd85808'/>
<id>urn:sha1:bca7dbacfd4c7f1f069a70e241e39aea5bd85808</id>
<content type='text'>
iamthif_current_cb was used in request cancel in amthif code.
Now a canceled request is discarded only at the end of the processing
and the variable lost its purpose and can be safely removed.

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: amthif: fix request cancel</title>
<updated>2016-08-30T12:35:14Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-05-24T20:03:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32a1dc1d02eb41196903278f40d6a4aef66ce535'/>
<id>urn:sha1:32a1dc1d02eb41196903278f40d6a4aef66ce535</id>
<content type='text'>
Currently, all requests cancelled by the user are immediately removed
from the queues. Such removal can cause unexpected behavior in the case
when a request is partially written or a  reply is received after the
request is cancelled.  To resolve this a request is always fully
processed and the result is discarded in case the request was canceled.
This completes the partial fix in commit:
9d04ee1 ("mei: amthif: discard not read messages")

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: amthif: discard not read messages</title>
<updated>2016-04-30T21:08:08Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-04-17T16:16:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d04ee11db7bf0d848266cbfd7db336097a0e239'/>
<id>urn:sha1:9d04ee11db7bf0d848266cbfd7db336097a0e239</id>
<content type='text'>
When a message is received and amthif client is not in reading state
the message is ignored and left dangling in the queue. This may happen
after one of the amthif host connections is closed w/o completing the
reading. Another client will pick up a wrong message on next read
attempt which will lead to link reset.
To prevent this the driver has to properly discard the message when
amthif client is not in reading state.

Cc: &lt;stable@vger.kernel.org&gt; #4.2+
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>
</feed>
