<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/misc/mei/interrupt.c, branch linux-4.1.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.1.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-4.1.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2015-04-03T14:18:56Z</updated>
<entry>
<title>mei: use mei_cl_is_connected consistently</title>
<updated>2015-04-03T14:18:56Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-03-26T22:27:58Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/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>
<entry>
<title>mei: allow read concurrency</title>
<updated>2015-03-02T03:37:00Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-02-10T08:39:46Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=a9bed61053af13c0768f82c9d1c8793515dd067c'/>
<id>urn:sha1:a9bed61053af13c0768f82c9d1c8793515dd067c</id>
<content type='text'>
Replace clunky read state machine with read stack
implemented as per client read list, this is important
mostly for mei drivers with unsolicited reads

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: simplify io callback disposal</title>
<updated>2015-03-02T03:37:00Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-02-10T08:39:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=928fa6664b362aad70c16f04483414f60743e15e'/>
<id>urn:sha1:928fa6664b362aad70c16f04483414f60743e15e</id>
<content type='text'>
Simplify disposal of io callback by removing the callback
implicitly from its lookup list inside mei_io_cb_free

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 only one buffer in callback</title>
<updated>2015-03-02T03:37:00Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-02-10T08:39:42Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=5db7514d9333c920791538c850cfb9dbd19025f7'/>
<id>urn:sha1:5db7514d9333c920791538c850cfb9dbd19025f7</id>
<content type='text'>
The callback structure is used exclusively for reading or writing
therefore there is no reason to hold both response and request buffers
in the callback structure

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: iamthif: use regular client read functions</title>
<updated>2015-03-02T03:37:00Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-02-10T08:39:41Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=331e4187017e5dc12fddfcca3f8041e5610ea23b'/>
<id>urn:sha1:331e4187017e5dc12fddfcca3f8041e5610ea23b</id>
<content type='text'>
Reduce code duplication in amthif by reusing
regular client read functions.

The change also removes the need for amthif
own buffering

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: iamthif: send flow control as a regular client</title>
<updated>2015-03-02T03:37:00Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-02-10T08:39:39Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c54bf3ab7536e062b507b625bfd2befb9b2cb841'/>
<id>urn:sha1:c54bf3ab7536e062b507b625bfd2befb9b2cb841</id>
<content type='text'>
Reuse common client mechanism for sending flow control
hbm message. Add new function mei_amthif_read_start
similar to mei_cl_read_start that puts control flow request
onto the control write queue and drop mei_amthif_irq_read function

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: iamthif: remove useless iamthif_ioctl variable</title>
<updated>2015-03-02T03:37:00Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-02-10T08:39:38Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=4e097bc5d5c948ff8a60ac38a5826f5b6699603d'/>
<id>urn:sha1:4e097bc5d5c948ff8a60ac38a5826f5b6699603d</id>
<content type='text'>
iamthif_ioctl is obsolete and can be safely dropped
Currently it is set to true during driver runtime

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: iamthif: fix device reset on mei_amthif_irq_read_msg</title>
<updated>2015-03-02T03:37:00Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-02-10T08:39:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=db4756fd2f16efae8469dd1e37710919a0af9370'/>
<id>urn:sha1:db4756fd2f16efae8469dd1e37710919a0af9370</id>
<content type='text'>
On failure mei_amthif_irq_read_msg returns an error
that will cause device reset but the issue is software one
so instead we should propagate error to caller and just
clean the read queues.
As a side effect also removes useless BUG_ONs

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 device reset on mei_cl_irq_read_msg allocation failure</title>
<updated>2015-03-02T03:36:59Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-02-10T08:39:36Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3d33ff2457355a9dd3c3178b04ab6669882b306c'/>
<id>urn:sha1:3d33ff2457355a9dd3c3178b04ab6669882b306c</id>
<content type='text'>
On memory allocation failure mei_cl_irq_read_msg will
return with error that will cause device reset.
Instead we should propagate error to caller and
just clean the read queues.

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 unneeded client NULL check in cb structure</title>
<updated>2014-11-03T23:52:48Z</updated>
<author>
<name>Alexander Usyskin</name>
<email>alexander.usyskin@intel.com</email>
</author>
<published>2014-10-02T10:39:31Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=140c7553231dcd119ebda8c27dec7f06aef7e323'/>
<id>urn:sha1:140c7553231dcd119ebda8c27dec7f06aef7e323</id>
<content type='text'>
The pointer to client in the callback structure (cb-&gt;cl)
can't be NULL with current locking.
We can drop check and warnings as in some cases this just
uselessly complicates the code flow.

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>
