<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/misc/mei/main.c, branch linux-3.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-07-10T17:45:07Z</updated>
<entry>
<title>mei: pci_resume: set IRQF_ONESHOT for msi request_threaded_irq</title>
<updated>2012-07-10T17:45:07Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2012-06-27T14:14:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=16a50b1270455a6d41f9f6d8f99a72cf9d76824a'/>
<id>urn:sha1:16a50b1270455a6d41f9f6d8f99a72cf9d76824a</id>
<content type='text'>
when the default irq quick handler is used then IRQF_ONESHOT must be set
otherwise the request fails and following error is displayed:

mei 0000:00:16.0: irq 48 for MSI/MSI-X
genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 48
mei 0000:00:16.0: request_threaded_irq failed: irq = 48.
dpm_run_callback(): pci_pm_resume+0x0/0x140 returns -22
PM: Device 0000:00:16.0 failed to resume async: error -22

Reported-by: Peter Wu &lt;lekensteyn@gmail.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Tested-by: Peter Wu &lt;lekensteyn@gmail.com&gt;
Signed-off-by: Roland Dreier &lt;roland@purestorage.com&gt;
Cc: stable &lt;stable@vger.kernel.org&gt; # 3.5
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>misc: mei: Disable MSI when IRQ registration fails</title>
<updated>2012-06-13T22:34:31Z</updated>
<author>
<name>Samuel Ortiz</name>
</author>
<published>2012-06-11T09:18:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=169dc388685f8a1c1e09546882a114ac850a5d6b'/>
<id>urn:sha1:169dc388685f8a1c1e09546882a114ac850a5d6b</id>
<content type='text'>
Since MSI is enabled right before that, we should disable it when
registration fails.

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>
</entry>
<entry>
<title>misc: mei: unregister misc device in pci_remove function</title>
<updated>2012-06-13T20:52:14Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2012-05-29T13:39:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a44cab4aff7e72e7052521121fd8ceca51351534'/>
<id>urn:sha1:a44cab4aff7e72e7052521121fd8ceca51351534</id>
<content type='text'>
Since the misc device is registered only in the pci probe function
it has to be also unregistered in the counterpart pci remove function
and not in the module exit function.
In case of probe failure the driver was oopsing in module exit 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>misc: mei: set IRQF_ONESHOT for msi request_threaded_irq</title>
<updated>2012-06-13T20:52:14Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2012-05-29T13:39:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aa189ecdc0c7fad2166ba6d133df8bd214550f68'/>
<id>urn:sha1:aa189ecdc0c7fad2166ba6d133df8bd214550f68</id>
<content type='text'>
when the default irq quick handler is used then IRQF_ONESHOT must be set
otherwise the request fails and following error is displayed:

genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq ...

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: export mei.h for the user space</title>
<updated>2012-05-09T20:58:06Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2012-05-09T13:38:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f3afe1d8c8e5dc41bb5820c01b4f3cfc2dc1205'/>
<id>urn:sha1:4f3afe1d8c8e5dc41bb5820c01b4f3cfc2dc1205</id>
<content type='text'>
The header exports API for application layer

1. move under include/linux and add to  the export list
2. update include path n the sources
3. update TODO

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: pci_probe/remove: use dev_err instead of printk(KERN_ERR</title>
<updated>2012-05-09T20:53:26Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2012-05-08T20:04:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32c826b66cc6f91831b5473a0ddceb410d4ffaf0'/>
<id>urn:sha1:32c826b66cc6f91831b5473a0ddceb410d4ffaf0</id>
<content type='text'>
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 pr_err instead of printk(KERN_ERR</title>
<updated>2012-05-09T20:53:26Z</updated>
<author>
<name>Tomas Winkler</name>
</author>
<published>2012-05-08T20:04:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=374212750b06ae2270e0e1e5843cfb33d5faf3f9'/>
<id>urn:sha1:374212750b06ae2270e0e1e5843cfb33d5faf3f9</id>
<content type='text'>
pr_ format is more compact and enable utilizing of pr_fmt macro

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>Staging: mei: move the mei code out of staging</title>
<updated>2012-05-01T22:23:38Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-05-01T22:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ffc2825c2942b57c5dbfbcb3ad798696438aed62'/>
<id>urn:sha1:ffc2825c2942b57c5dbfbcb3ad798696438aed62</id>
<content type='text'>
It's been cleaned up, and there's nothing else left to do, so move it
out of staging into drivers/misc/ where all can use it now.

Cc: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Cc: Oren Weil &lt;oren.jer.weil@intel.com&gt;
Cc: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
