<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/misc/mei/main.c, branch linux-4.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2016-10-28T07:45:18Z</updated>
<entry>
<title>mei: fix return value on disconnection</title>
<updated>2016-10-28T07:45:18Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2016-06-22T21:25:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=02ff08421a0949e4bdf7dff287ec49833fe928b9'/>
<id>urn:sha1:02ff08421a0949e4bdf7dff287ec49833fe928b9</id>
<content type='text'>
commit 2d4d5481e2d6f93b25fcfb13a9f20bbfbf54266a upstream.

Correct errno on client disconnection is -ENODEV not -EBUSY

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: fix format string in debug prints</title>
<updated>2016-02-20T22:27:36Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-02-17T16:27:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=35bf7692e765c2275bf93fe573f7ca868ab73453'/>
<id>urn:sha1:35bf7692e765c2275bf93fe573f7ca868ab73453</id>
<content type='text'>
buf_idx type was changed to size_t, and few places
missed out to change the print format from %ld to %zu.
Use also uz for buf.size which is also of size_t

Fixes:
commit 56988f22e097 ("mei: fix possible integer overflow issue")'

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>Merge 4.5-rc4 into char-misc-next</title>
<updated>2016-02-14T22:25:59Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2016-02-14T22:25:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1b79dff672ca09a5461cc1d46ad81c62137841c5'/>
<id>urn:sha1:1b79dff672ca09a5461cc1d46ad81c62137841c5</id>
<content type='text'>
We want those fixes in here as well.

Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: fix double freeing of a cb during link reset</title>
<updated>2016-02-12T03:23:28Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-02-10T21:57:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6cbb097fd3903fd6b419303ee8dc7f72b47d06f0'/>
<id>urn:sha1:6cbb097fd3903fd6b419303ee8dc7f72b47d06f0</id>
<content type='text'>
Fix double freeing of the cb that can happen if link reset kicks  in the
middle of blocked write from a device on the cl bus.

Free cb inside mei_cl_write function on failure and drop cb free
operation from callers, during a link reset the mei_cl_write function
returns with an error,  but the caller doesn't know if the cb was
already queued or not so it doesn't know if the cb will be freed upon
queue reclaim or it has to free it itself.

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 reserved host client ids</title>
<updated>2016-02-07T22:47:20Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-02-07T21:35:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7851e008703e2f7073802e560293213e93dcdde6'/>
<id>urn:sha1:7851e008703e2f7073802e560293213e93dcdde6</id>
<content type='text'>
The reserved host clients can be obsoleted now, a portion of the
platforms is shipped without iAMT enabled, where the reservation is not
relevant and for platforms with iAMT dynamic allocation is sufficient.
Dropping reserved ids makes enumeration more flexible and generic

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: fixed address clients for the new platforms</title>
<updated>2016-02-07T22:47:20Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-02-07T21:35:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f4e06246183f187d1327fdba18a797eb091a7d03'/>
<id>urn:sha1:f4e06246183f187d1327fdba18a797eb091a7d03</id>
<content type='text'>
Enable by default connection to fixed address clients
from user-space for skylake and newer platform.

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: fill file pointer in read cb for fixed address client</title>
<updated>2016-02-07T22:47:20Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-02-07T21:35:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=06ee536bcb15ca12868289467762130fa0a426f3'/>
<id>urn:sha1:06ee536bcb15ca12868289467762130fa0a426f3</id>
<content type='text'>
The read callback created from a flow control request for
a fixed address client have NULL in the file pointer.
Fill the file pointer using a data from a write callback.

This allows us to drop workaround introduced in:
commit eeabfcf5a92a ("mei: connection to fixed address clients from user-space")

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: constify struct file pointer</title>
<updated>2016-02-07T22:47:20Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2016-02-07T21:35:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f23e2cc4bb1d8bbbe02dcd3539ed531a3f40277c'/>
<id>urn:sha1:f23e2cc4bb1d8bbbe02dcd3539ed531a3f40277c</id>
<content type='text'>
The struct file file pointer is used as an opaque handle to for a
connected client, for this part the pointer should be immutable and
should be set to count.

Reviewed-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: don't drop read packets on timeout</title>
<updated>2016-02-07T22:47:20Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2016-02-07T21:35:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d0df8dfb8582f50053bde6a771262571daedf5d0'/>
<id>urn:sha1:d0df8dfb8582f50053bde6a771262571daedf5d0</id>
<content type='text'>
Since the driver now uses a list for storing read packets instead of
single variable a pending read is no longer blocking other connections.
A pending read will be discarded up the file closure.

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: fix possible integer overflow issue</title>
<updated>2016-02-07T22:47:20Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2016-02-07T21:35:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f862b6b24f0ffd954633a55f39251a6873b664ca'/>
<id>urn:sha1:f862b6b24f0ffd954633a55f39251a6873b664ca</id>
<content type='text'>
There is a possible integer overflow following by a buffer overflow
when accumulating messages coming from the FW to compose a full payload.
Occurrence of wrap around has to be prevented for next message size
calculation.
For unsigned integer the addition overflow has occurred when the
result is smaller than one of the arguments.
To simplify the fix, the types of buf.size and buf_idx are set to the
same width, namely size_t also to be aligned with the type of length
parameter in file read/write ops.

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>
</feed>
