<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/Documentation/misc-devices/mei, branch v4.8</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>watchdog: mei_wdt: implement MEI iAMT watchdog driver</title>
<updated>2016-02-07T06:11:06+00:00</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2016-01-07T22:49:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=222818c3d84c1f3190767f5f09f2b9b9a0e0ca7f'/>
<id>222818c3d84c1f3190767f5f09f2b9b9a0e0ca7f</id>
<content type='text'>
Create a driver with the generic watchdog interface
for the MEI iAMT watchdog device.

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create a driver with the generic watchdog interface
for the MEI iAMT watchdog device.

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>mei: add async event notification ioctls</title>
<updated>2015-08-04T00:30:00+00:00</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2015-07-26T06:54:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3c7c8468e5d993dfe377a67e41cbb23cda93af9e'/>
<id>3c7c8468e5d993dfe377a67e41cbb23cda93af9e</id>
<content type='text'>
Add ioctl IOCTL_MEI_NOTIFY_SET for enabling and disabling
async event notification.
Add ioctl IOCTL_MEI_NOTIFY_GET for receiving and acking
an event notification.

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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add ioctl IOCTL_MEI_NOTIFY_SET for enabling and disabling
async event notification.
Add ioctl IOCTL_MEI_NOTIFY_GET for receiving and acking
an event notification.

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;
</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation/misc-devices/mei: Fix indentation of embedded code.</title>
<updated>2015-01-29T19:56:20+00:00</updated>
<author>
<name>Julian Brost</name>
<email>linux-kernel@0x4a42.net</email>
</author>
<published>2015-01-11T23:58:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5e857b667cc4b2778a1b4edb95177381d0b36243'/>
<id>5e857b667cc4b2778a1b4edb95177381d0b36243</id>
<content type='text'>
Some of the source code embedded in mei-client-bus.txt was indented
using spaces. This properly indents it with tabs and also removes a
single space that was placed in front of a closing curly brace.

Reviewed-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Julian Brost &lt;linux-kernel@0x4a42.net&gt;
Signed-off-by: Fabian Hofmann &lt;fabian.hofmann@fau.de&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some of the source code embedded in mei-client-bus.txt was indented
using spaces. This properly indents it with tabs and also removes a
single space that was placed in front of a closing curly brace.

Reviewed-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Julian Brost &lt;linux-kernel@0x4a42.net&gt;
Signed-off-by: Fabian Hofmann &lt;fabian.hofmann@fau.de&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation/misc-devices/mei: Fix indentation of enumeration.</title>
<updated>2015-01-29T19:55:58+00:00</updated>
<author>
<name>Julian Brost</name>
<email>linux-kernel@0x4a42.net</email>
</author>
<published>2015-01-11T23:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=21ef5673230e613f71917730a19f5bd838407592'/>
<id>21ef5673230e613f71917730a19f5bd838407592</id>
<content type='text'>
Properly indent a list in mei.txt in the same way as another list in
that file.

Reviewed-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Julian Brost &lt;linux-kernel@0x4a42.net&gt;
Signed-off-by: Fabian Hofmann &lt;fabian.hofmann@fau.de&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Properly indent a list in mei.txt in the same way as another list in
that file.

Reviewed-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Julian Brost &lt;linux-kernel@0x4a42.net&gt;
Signed-off-by: Fabian Hofmann &lt;fabian.hofmann@fau.de&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation/misc-devices/mei: Fix spacing around parentheses.</title>
<updated>2015-01-29T19:55:41+00:00</updated>
<author>
<name>Julian Brost</name>
<email>linux-kernel@0x4a42.net</email>
</author>
<published>2015-01-11T23:58:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ccd7b014083a76405f6a9871e980db44af452dbd'/>
<id>ccd7b014083a76405f6a9871e980db44af452dbd</id>
<content type='text'>
Add a space before opening and after closing parentheses where
appropriate.

Reviewed-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Julian Brost &lt;linux-kernel@0x4a42.net&gt;
Signed-off-by: Fabian Hofmann &lt;fabian.hofmann@fau.de&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a space before opening and after closing parentheses where
appropriate.

Reviewed-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Julian Brost &lt;linux-kernel@0x4a42.net&gt;
Signed-off-by: Fabian Hofmann &lt;fabian.hofmann@fau.de&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation/misc-devices/mei: Fix formatting of headings.</title>
<updated>2015-01-29T19:55:03+00:00</updated>
<author>
<name>Julian Brost</name>
<email>linux-kernel@0x4a42.net</email>
</author>
<published>2015-01-11T23:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cfba67841b7daf254b76fbe467cf6be40e15f6b8'/>
<id>cfba67841b7daf254b76fbe467cf6be40e15f6b8</id>
<content type='text'>
Make the heading underlines fit the length of the heading, remove colons
at the end of headings and consistently place an empty line after each
heading and two empty lines before each that is preceded by a paragraph.

Reviewed-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Julian Brost &lt;linux-kernel@0x4a42.net&gt;
Signed-off-by: Fabian Hofmann &lt;fabian.hofmann@fau.de&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the heading underlines fit the length of the heading, remove colons
at the end of headings and consistently place an empty line after each
heading and two empty lines before each that is preceded by a paragraph.

Reviewed-by: Jeremiah Mahler &lt;jmmahler@gmail.com&gt;
Signed-off-by: Julian Brost &lt;linux-kernel@0x4a42.net&gt;
Signed-off-by: Fabian Hofmann &lt;fabian.hofmann@fau.de&gt;
Signed-off-by: Jonathan Corbet &lt;corbet@lwn.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation: use subdir-y to avoid unnecessary built-in.o files</title>
<updated>2014-09-26T09:02:55+00:00</updated>
<author>
<name>Peter Foley</name>
<email>pefoley2@pefoley.com</email>
</author>
<published>2014-09-25T18:23:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=df68a01014fd5dea890349321787ca08a5377f0b'/>
<id>df68a01014fd5dea890349321787ca08a5377f0b</id>
<content type='text'>
Change the Documentation makefiles from obj-m to subdir-y
to avoid generating unnecessary built-in.o files since nothing
in Documentation/ is ever linked in to vmlinux.

Signed-off-by: Peter Foley &lt;pefoley2@pefoley.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the Documentation makefiles from obj-m to subdir-y
to avoid generating unnecessary built-in.o files since nothing
in Documentation/ is ever linked in to vmlinux.

Signed-off-by: Peter Foley &lt;pefoley2@pefoley.com&gt;
Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Documentation/misc-devices/mei/mei-amt-version.c: remove unneeded call of mei_deinit()</title>
<updated>2014-01-08T23:20:20+00:00</updated>
<author>
<name>Paul Bolle</name>
<email>pebolle@tiscali.nl</email>
</author>
<published>2014-01-03T22:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=aa98a28563d2abcd904d07fd5e54553290c85f91'/>
<id>aa98a28563d2abcd904d07fd5e54553290c85f91</id>
<content type='text'>
Building mei-amt-version.o triggers a GCC warning:
    Documentation/misc-devices/mei/mei-amt-version.c: In function 'main':
    Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
      if (cl-&gt;fd != -1)
         ^
    Documentation/misc-devices/mei/mei-amt-version.c:443:21: note: 'acmd.fd' was declared here
      struct amt_host_if acmd;
                         ^

GCC is correct. See, the call chain that GCC detects must be
    main()
        amt_host_if_init()
            mei_init()
                mei_deinit()

But when we enter mei_deinit() struct amt_host_if acmd is still
unitialized. That makes the test for (effectively) amt_host_if-&gt;mei_cl-&gt;fd
bogus.

But it turns out that call of mei_deinit() isn't needed at all. All of
the members of mei_cl will be set later in mei_init() and none will be
used before they are set. So we can simply drop this call of
mei_deinit().

Signed-off-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Cc: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Reported-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Building mei-amt-version.o triggers a GCC warning:
    Documentation/misc-devices/mei/mei-amt-version.c: In function 'main':
    Documentation/misc-devices/mei/mei-amt-version.c:103:5: warning: 'acmd.fd' is used uninitialized in this function [-Wuninitialized]
      if (cl-&gt;fd != -1)
         ^
    Documentation/misc-devices/mei/mei-amt-version.c:443:21: note: 'acmd.fd' was declared here
      struct amt_host_if acmd;
                         ^

GCC is correct. See, the call chain that GCC detects must be
    main()
        amt_host_if_init()
            mei_init()
                mei_deinit()

But when we enter mei_deinit() struct amt_host_if acmd is still
unitialized. That makes the test for (effectively) amt_host_if-&gt;mei_cl-&gt;fd
bogus.

But it turns out that call of mei_deinit() isn't needed at all. All of
the members of mei_cl will be set later in mei_init() and none will be
used before they are set. So we can simply drop this call of
mei_deinit().

Signed-off-by: Paul Bolle &lt;pebolle@tiscali.nl&gt;
Cc: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Reported-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: David Howells &lt;dhowells@redhat.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>doc: fix misspellings with 'codespell' tool</title>
<updated>2013-05-28T10:02:12+00:00</updated>
<author>
<name>Anatol Pomozov</name>
<email>anatol.pomozov@gmail.com</email>
</author>
<published>2013-05-08T23:56:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f884ab15afdc5514e88105c92a4e2e1e6539869a'/>
<id>f884ab15afdc5514e88105c92a4e2e1e6539869a</id>
<content type='text'>
Signed-off-by: Anatol Pomozov &lt;anatol.pomozov@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anatol Pomozov &lt;anatol.pomozov@gmail.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mei: bus: Add device enabling and disabling API</title>
<updated>2013-04-08T23:57:15+00:00</updated>
<author>
<name>Samuel Ortiz</name>
<email>sameo@linux.intel.com</email>
</author>
<published>2013-04-08T22:51:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e46980a10a76ec3282dd6832c1974b880acd23d3'/>
<id>e46980a10a76ec3282dd6832c1974b880acd23d3</id>
<content type='text'>
It should be left to the drivers to enable and disable the device on the
MEI bus when e.g getting probed.
For drivers to be able to safely call the enable and disable hooks, the
mei_cl_ops must be set before it's probed and thus this should happen
before registering the device on the MEI bus. Hence the mei_cl_add_device()
prototype change.

Signed-off-by: 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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It should be left to the drivers to enable and disable the device on the
MEI bus when e.g getting probed.
For drivers to be able to safely call the enable and disable hooks, the
mei_cl_ops must be set before it's probed and thus this should happen
before registering the device on the MEI bus. Hence the mei_cl_add_device()
prototype change.

Signed-off-by: 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;
</pre>
</div>
</content>
</entry>
</feed>
