<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/misc, branch v3.10.22</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/misc?h=v3.10.22</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/misc?h=v3.10.22'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-11-29T19:11:52Z</updated>
<entry>
<title>mei: nfc: fix memory leak in error path</title>
<updated>2013-11-29T19:11:52Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-10-21T19:05:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bd7e08189efba225bfa173372b05682ac141af88'/>
<id>urn:sha1:bd7e08189efba225bfa173372b05682ac141af88</id>
<content type='text'>
commit 4bff7208f332b2b1d7cf1338e50527441283a198 upstream.

The flow may reach the err label without freeing cl and cl_info

cl and cl_info weren't assigned to ndev-&gt;cl and cl_info
so they weren't freed in mei_nfc_free called on error path

Cc: 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: atmel_pwm: add deferred-probing support</title>
<updated>2013-11-20T20:27:47Z</updated>
<author>
<name>Johan Hovold</name>
<email>jhovold@gmail.com</email>
</author>
<published>2013-10-22T16:32:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ccd24ec4c98c1aa76e73d4fa80bf8146b5e62175'/>
<id>urn:sha1:ccd24ec4c98c1aa76e73d4fa80bf8146b5e62175</id>
<content type='text'>
commit 5c6d6fd1564138ad048564e48639f842714a90c6 upstream.

Two drivers (atmel-pwm-bl and leds-atmel-pwm) currently depend on the
atmel_pwm driver to have bound to any pwm-device before their devices
are probed.

Support deferred probing of such devices by making sure to return
-EPROBE_DEFER from pwm_channel_alloc when no pwm-device has yet been
bound.

Signed-off-by: Johan Hovold &lt;jhovold@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mei: cancel stall timers in mei_reset</title>
<updated>2013-10-05T14:13:10Z</updated>
<author>
<name>Alexander Usyskin</name>
<email>alexander.usyskin@intel.com</email>
</author>
<published>2013-09-02T10:29:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=51d4e0771c3c69bb021d3052433e49effa6e4f65'/>
<id>urn:sha1:51d4e0771c3c69bb021d3052433e49effa6e4f65</id>
<content type='text'>
commit 4a704575cc1afb3b848f096778fa9b8d7b3d5813 upstream.

Unset init_clients_timer and amthif_stall_timers
in mei_reset in order to cancel timer ticking and hence
avoid recursive reset calls.

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: bus: stop wait for read during cl state transition</title>
<updated>2013-10-05T14:13:10Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-09-02T10:29:46Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=18f48d9e784339c954eb1641fef600e00c7a53c0'/>
<id>urn:sha1:18f48d9e784339c954eb1641fef600e00c7a53c0</id>
<content type='text'>
commit e2b31644e999e8bfe3efce880fb32840299abf41 upstream.

Bus layer omitted check for client state transition while waiting
for read completion
The client state transition may occur for example as result
of firmware initiated reset

Add mei_cl_is_transitioning wrapper to reduce the code
repetition.:

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: make me client counters less error prone</title>
<updated>2013-10-05T14:13:10Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-09-02T10:29:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cb4af713f95f049056c25e0c18f652c3338c2bc7'/>
<id>urn:sha1:cb4af713f95f049056c25e0c18f652c3338c2bc7</id>
<content type='text'>
commit 1aee351a739153529fbb98ee461777b2abd5e1c9 upstream.

1. u8 counters are prone to hard to detect overflow:
 make them unsigned long to match bit_ functions argument type

2. don't check me_clients_num for negativity, it is unsigned.

3. init all the me client counters from one place

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>drivers/misc/hpilo: Correct panic when an AUX iLO is detected</title>
<updated>2013-09-08T05:09:59Z</updated>
<author>
<name>Mark Rusk</name>
<email>Mark.Rusk@hp.com</email>
</author>
<published>2013-08-14T20:30:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=39d163b38728dd85291afb2ba84f760368d9e8eb'/>
<id>urn:sha1:39d163b38728dd85291afb2ba84f760368d9e8eb</id>
<content type='text'>
commit eefbc594abbb1b7e6e7eeadb65ae7c7538474210 upstream.

 Using an uninitialized variable 'devnum' after 'goto out;' was causing
 panic.  Just go ahead and return, we need to ignore AUX iLO devs.

 Oops: 0002 [#1] SMP
   .
   .
   .
 RIP  [&lt;ffffffffa033e270&gt;] ilo_probe+0xec/0xe7c [hpilo]

Signed-off-by: Mark Rusk &lt;mark.rusk@hp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mei: me: fix hardware reset flow</title>
<updated>2013-09-08T05:09:59Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-07-30T11:11:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9c289c0c140b31ce6e3b29898fd1deb80ec04b88'/>
<id>urn:sha1:9c289c0c140b31ce6e3b29898fd1deb80ec04b88</id>
<content type='text'>
commit ff96066e3171acdea356b331163495957cb833d0 upstream.

Both H_IS and H_IE needs to be set to receive H_RDY
interrupt

1. Assert H_IS to clear the interrupts during hw reset
and use mei_me_reg_write instead of mei_hcsr_set as the later
strips down the H_IS

2. fix interrupt disablement embarrassing typo
  hcsr |= ~H_IE -&gt; hcsr &amp;= ~H_IE;
this will remove the unwanted interrupt on power down

3. remove useless debug print outs

Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Cc: Shuah Khan &lt;shuah.kh@samsung.com&gt;
Cc: Konstantin Khlebnikov &lt;khlebnikov@openvz.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mei: me: fix waiting for hw ready</title>
<updated>2013-08-29T16:47:40Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-07-17T12:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=644f5d570740c90439fdf69e8b47647584c6dc2f'/>
<id>urn:sha1:644f5d570740c90439fdf69e8b47647584c6dc2f</id>
<content type='text'>
commit dab9bf41b23fe700c4a74133e41eb6a21706031e upstream.

1. MEI_INTEROP_TIMEOUT is in seconds not in jiffies
so we use mei_secs_to_jiffies macro
While cold boot is fast this is relevant in resume
2. wait_event_interruptible_timeout can return with
-ERESTARTSYS so do not override it with -ETIMEDOUT
3.Adjust error message

Tested-by: Shuah Khan &lt;shuah.kh@samsung.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: don't have to clean the state on power up</title>
<updated>2013-08-29T16:47:40Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-07-17T12:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=47e1cf336bc708bb59ebfcc01540dffecd16862e'/>
<id>urn:sha1:47e1cf336bc708bb59ebfcc01540dffecd16862e</id>
<content type='text'>
commit 99f22c4ef24cf87b0dae6aabe6b5e620b62961d9 upstream.

When powering up, we don't have to clean up the device state
nothing is connected.

Tested-by: Shuah Khan &lt;shuah.kh@samsung.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: me: fix reset state machine</title>
<updated>2013-08-29T16:47:40Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-07-17T12:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7dae89cb15ebdc7e286b884cd79f3a4b94fcdff4'/>
<id>urn:sha1:7dae89cb15ebdc7e286b884cd79f3a4b94fcdff4</id>
<content type='text'>
commit 315a383ad7dbd484fafb93ef08038e3dbafbb7a8 upstream.

ME HW ready bit is down after hw reset was asserted or on error.
Only on error we need to enter the reset flow, additional reset
need to be prevented when reset was triggered during
initialization , power up/down or a reset is already in progress

Tested-by: Shuah Khan &lt;shuah.kh@samsung.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>
