<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/misc/mei/mei_dev.h, branch linux-4.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-10-17T20:45:10Z</updated>
<entry>
<title>mei: avoid FW version request on Ibex Peak and earlier</title>
<updated>2019-10-17T20:45:10Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2019-10-04T18:17:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce20fd3e1530b4158008cef147576e1e6ec5175e'/>
<id>urn:sha1:ce20fd3e1530b4158008cef147576e1e6ec5175e</id>
<content type='text'>
commit f8204f0ddd62966a0e79c2804963a21e3540dd82 upstream.

The fixed MKHI client on PCH 6 gen platforms
does not support fw version retrieval.
The error is not fatal, but it fills up the kernel logs and
slows down the driver start.
This patch disables requesting FW version on GEN6 and earlier platforms.

Fixes warning:
[   15.964298] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: Could not read FW version
[   15.964301] mei mei::55213584-9a29-4916-badf-0fb7ed682aeb:01: version command failed -5

Cc: &lt;stable@vger.kernel.org&gt; +v4.18
Cc: Paul Menzel &lt;pmenzel@molgen.mpg.de&gt;
Signed-off-by: Alexander Usyskin &lt;alexander.usyskin@intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Link: https://lore.kernel.org/r/20191004181722.31374-1-tomas.winkler@intel.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mei: restrict dma ring support to hbm version 2.1</title>
<updated>2018-08-02T08:18:30Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2018-07-31T06:35:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c2bd9fc13d0ca1926bfd8b8e6d88f93d84a51f2a'/>
<id>urn:sha1:c2bd9fc13d0ca1926bfd8b8e6d88f93d84a51f2a</id>
<content type='text'>
Only a firmware with version 2.1 and above supports dma ring feature.

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: hbm: introduce dma bit in the message header</title>
<updated>2018-08-02T08:18:30Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2018-07-31T06:35:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9d89ddfc624649e200aeec57912635dbe259d07b'/>
<id>urn:sha1:9d89ddfc624649e200aeec57912635dbe259d07b</id>
<content type='text'>
Add dma_ring bit in the mei message header for conveying
that the message data itself are on the dma ring.

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: add support for variable length mei headers.</title>
<updated>2018-08-02T08:18:29Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2018-07-31T06:35:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=98e70866aacb1fcaa7b710fc6bca9862bf47421a'/>
<id>urn:sha1:98e70866aacb1fcaa7b710fc6bca9862bf47421a</id>
<content type='text'>
Remove header size knowledge from me and txe hw layers,
this requires to change the write handler to accept
header and its length as well as data and its length.

HBM messages are fixed to use basic header, hence we add mei_hbm2slots()
that converts HBM message length and mei message header,
while mei_data2slots() converts data length directly to the slots.

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 mei_msg_hdr_init wrapper.</title>
<updated>2018-07-24T12:16:57Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2018-07-23T10:21:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a1c4d08b6b95a0e296285ee53cc1438b3f168f98'/>
<id>urn:sha1:a1c4d08b6b95a0e296285ee53cc1438b3f168f98</id>
<content type='text'>
Wrap the mei header boilerplate initialization code in
mei_msg_hdr_init function. On the way remove 'completed'
field from mei_cl_cb structure as this information
is already included in the header and is local to particular
fragment.

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 hbuf_depth from the mei device to the hw modules</title>
<updated>2018-07-24T12:16:57Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2018-07-23T10:21:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c8d964ce90f16877b76c3f00b27165bf865af69'/>
<id>urn:sha1:8c8d964ce90f16877b76c3f00b27165bf865af69</id>
<content type='text'>
The host buffer depth is hardware specific so it's better to
handle it inside the me and txe hw modules. In me the depth
is read from register in txe it's a constant number.
The value is now retrieved via mei_hbuf_depth accessor,
while it replaces mei_hbuf_max_len.

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: cleanup slots to data conversions</title>
<updated>2018-07-24T12:16:57Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2018-07-23T10:21:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9fc5f0f8ad28405145b30fd3b905e368063ee14c'/>
<id>urn:sha1:9fc5f0f8ad28405145b30fd3b905e368063ee14c</id>
<content type='text'>
Cleanup conversions between slots and data.
Define MEI_SLOT_SIZE instead of using 4 or sizeof(u32) across
the source code.

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: expose fw version to sysfs</title>
<updated>2018-07-03T11:11:20Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2018-06-24T21:11:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3cfaeb33530592b02b2ceb76b379364c55ca612e'/>
<id>urn:sha1:3cfaeb33530592b02b2ceb76b379364c55ca612e</id>
<content type='text'>
The ME FW version is constantly used by detection and update tools.
To improve the reliability and simplify these tools provide
a sysfs interface to access version of the platform ME firmware
in the following format:
&lt;platform&gt;:&lt;major&gt;.&lt;minor&gt;.&lt;milestone&gt;.&lt;build&gt;.
There can be up to three such blocks for different FW components.

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 optional timeout to internal bus recv</title>
<updated>2018-07-03T11:11:20Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2018-06-24T21:11:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a7c0b69b6e765c655133ef530876aea3da71d58'/>
<id>urn:sha1:9a7c0b69b6e765c655133ef530876aea3da71d58</id>
<content type='text'>
Add optional timeout to internal bus recv function to
enable break out of internal flows in case of no answer from FW.

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: limit the number of queued writes</title>
<updated>2018-03-14T18:33:13Z</updated>
<author>
<name>Alexander Usyskin</name>
</author>
<published>2018-02-25T18:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af336cabe08363ba8493e7d7e5d070353eb30caa'/>
<id>urn:sha1:af336cabe08363ba8493e7d7e5d070353eb30caa</id>
<content type='text'>
Limit the number of queued writes per client.
Writes above this threshold are blocked till place
in the transmit queue is available.
The limit is configurable via sysfs and defaults to 50.
The implementation should provide blocking I/O behavior.
Prior to this change one would end up in the hands of OOM.

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>
