<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/base, branch tegra-10.7.1</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>Merge commit 'v2.6.32.9' into android-2.6.32</title>
<updated>2010-03-11T00:38:33+00:00</updated>
<author>
<name>Arve Hjønnevåg</name>
<email>arve@android.com</email>
</author>
<published>2010-03-11T00:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=67078ecae3edb5b4657dcb9f67f744ecccd18a97'/>
<id>67078ecae3edb5b4657dcb9f67f744ecccd18a97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>class: Free the class private data in class_release</title>
<updated>2010-02-23T15:37:57+00:00</updated>
<author>
<name>Laurent Pinchart</name>
<email>laurent.pinchart@ideasonboard.com</email>
</author>
<published>2010-02-10T12:32:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a206591bd37f7f63d1ccaabf73cbaff25b29f51d'/>
<id>a206591bd37f7f63d1ccaabf73cbaff25b29f51d</id>
<content type='text'>
commit 18d19c96457d172d913510c083bc7411ed40cb10 upstream.

Fix a memory leak by freeing the memory allocated in __class_register
for the class private data.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 18d19c96457d172d913510c083bc7411ed40cb10 upstream.

Fix a memory leak by freeing the memory allocated in __class_register
for the class private data.

Signed-off-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Artem Bityutskiy &lt;Artem.Bityutskiy@nokia.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: power: Add watchdog timer to catch drivers which lockup during suspend.</title>
<updated>2010-02-08T23:36:01+00:00</updated>
<author>
<name>San Mehat</name>
<email>san@google.com</email>
</author>
<published>2009-08-13T16:40:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d20c38c796134b43b46dc97faf9d09d3df437041'/>
<id>d20c38c796134b43b46dc97faf9d09d3df437041</id>
<content type='text'>
	Rather than hard-lock the kernel, we now BUG() when a driver takes
&gt; 3 seconds to suspend. If the underlying platform supports panic dumps,
then the data can be collected for debug.

Signed-off-by: San Mehat &lt;san@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Rather than hard-lock the kernel, we now BUG() when a driver takes
&gt; 3 seconds to suspend. If the underlying platform supports panic dumps,
then the data can be collected for debug.

Signed-off-by: San Mehat &lt;san@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>driver-core: fix devtmpfs crash on s390</title>
<updated>2010-01-28T23:00:45+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2010-01-18T13:36:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1b715f18181d2156290bfb8f116e233ffc8fb362'/>
<id>1b715f18181d2156290bfb8f116e233ffc8fb362</id>
<content type='text'>
commit f776c5ec4690b21b3668ad5956774a22c86f541a upstream.

On Mon, Jan 18, 2010 at 05:26:20PM +0530, Sachin Sant wrote:
&gt; Hello Heiko,
&gt;
&gt; Today while trying to boot next-20100118 i came across
&gt; the following Oops :
&gt;
&gt; Brought up 4 CPUs
&gt; Unable to handle kernel pointer dereference at virtual kernel address 0000000000
&gt; 543000
&gt; Oops: 0004 #1 SMP
&gt; Modules linked in:
&gt; CPU: 0 Not tainted 2.6.33-rc4-autotest-next-20100118-5-default #1
&gt; Process swapper (pid: 1, task: 00000000fd792038, ksp: 00000000fd797a30)
&gt; Krnl PSW : 0704200180000000 00000000001eb0b8 (shmem_parse_options+0xc0/0x328)
&gt;           R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:0 CC:2 PM:0 EA:3
&gt; Krnl GPRS: 000000000054388a 000000000000003d 0000000000543836 000000000000003d
&gt;           0000000000000000 0000000000483f28 0000000000536112 00000000fd797d00
&gt;           00000000fd4ba100 0000000000000100 0000000000483978 0000000000543832
&gt;           0000000000000000 0000000000465958 00000000001eb0b0 00000000fd797c58
&gt; Krnl Code: 00000000001eb0aa: c0e5000994f1       brasl   %r14,31da8c
&gt;           00000000001eb0b0: b9020022           ltgr    %r2,%r2
&gt;           00000000001eb0b4: a784010b           brc     8,1eb2ca
&gt;          &gt;00000000001eb0b8: 92002000           mvi     0(%r2),0
&gt;           00000000001eb0bc: a7080000           lhi     %r0,0
&gt;           00000000001eb0c0: 41902001           la      %r9,1(%r2)
&gt;           00000000001eb0c4: b9040016           lgr     %r1,%r6
&gt;           00000000001eb0c8: b904002b           lgr     %r2,%r11
&gt; Call Trace:
&gt; (&lt;00000000fd797c50&gt; 0xfd797c50)
&gt; &lt;00000000001eb5da&gt; shmem_fill_super+0x13a/0x25c
&gt; &lt;0000000000228cfa&gt; get_sb_single+0xbe/0xdc
&gt; &lt;000000000034ffc0&gt; dev_get_sb+0x2c/0x38
&gt; &lt;000000000066c602&gt; devtmpfs_init+0x46/0xc0
&gt; &lt;000000000066c53e&gt; driver_init+0x22/0x60
&gt; &lt;000000000064d40a&gt; kernel_init+0x24e/0x3d0
&gt; &lt;000000000010a7ea&gt; kernel_thread_starter+0x6/0xc
&gt; &lt;000000000010a7e4&gt; kernel_thread_starter+0x0/0xc
&gt;
&gt; I never tried to boot a kernel with DEVTMPFS enabled on a s390 box.
&gt; So am wondering if this is supported or not ? If you think this
&gt; is supported i will send a mail to community on this.

There is nothing arch specific to devtmpfs. This part crashes because the
kernel tries to modify the data read-only section which is write protected
on s390.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Acked-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit f776c5ec4690b21b3668ad5956774a22c86f541a upstream.

On Mon, Jan 18, 2010 at 05:26:20PM +0530, Sachin Sant wrote:
&gt; Hello Heiko,
&gt;
&gt; Today while trying to boot next-20100118 i came across
&gt; the following Oops :
&gt;
&gt; Brought up 4 CPUs
&gt; Unable to handle kernel pointer dereference at virtual kernel address 0000000000
&gt; 543000
&gt; Oops: 0004 #1 SMP
&gt; Modules linked in:
&gt; CPU: 0 Not tainted 2.6.33-rc4-autotest-next-20100118-5-default #1
&gt; Process swapper (pid: 1, task: 00000000fd792038, ksp: 00000000fd797a30)
&gt; Krnl PSW : 0704200180000000 00000000001eb0b8 (shmem_parse_options+0xc0/0x328)
&gt;           R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:0 CC:2 PM:0 EA:3
&gt; Krnl GPRS: 000000000054388a 000000000000003d 0000000000543836 000000000000003d
&gt;           0000000000000000 0000000000483f28 0000000000536112 00000000fd797d00
&gt;           00000000fd4ba100 0000000000000100 0000000000483978 0000000000543832
&gt;           0000000000000000 0000000000465958 00000000001eb0b0 00000000fd797c58
&gt; Krnl Code: 00000000001eb0aa: c0e5000994f1       brasl   %r14,31da8c
&gt;           00000000001eb0b0: b9020022           ltgr    %r2,%r2
&gt;           00000000001eb0b4: a784010b           brc     8,1eb2ca
&gt;          &gt;00000000001eb0b8: 92002000           mvi     0(%r2),0
&gt;           00000000001eb0bc: a7080000           lhi     %r0,0
&gt;           00000000001eb0c0: 41902001           la      %r9,1(%r2)
&gt;           00000000001eb0c4: b9040016           lgr     %r1,%r6
&gt;           00000000001eb0c8: b904002b           lgr     %r2,%r11
&gt; Call Trace:
&gt; (&lt;00000000fd797c50&gt; 0xfd797c50)
&gt; &lt;00000000001eb5da&gt; shmem_fill_super+0x13a/0x25c
&gt; &lt;0000000000228cfa&gt; get_sb_single+0xbe/0xdc
&gt; &lt;000000000034ffc0&gt; dev_get_sb+0x2c/0x38
&gt; &lt;000000000066c602&gt; devtmpfs_init+0x46/0xc0
&gt; &lt;000000000066c53e&gt; driver_init+0x22/0x60
&gt; &lt;000000000064d40a&gt; kernel_init+0x24e/0x3d0
&gt; &lt;000000000010a7ea&gt; kernel_thread_starter+0x6/0xc
&gt; &lt;000000000010a7e4&gt; kernel_thread_starter+0x0/0xc
&gt;
&gt; I never tried to boot a kernel with DEVTMPFS enabled on a s390 box.
&gt; So am wondering if this is supported or not ? If you think this
&gt; is supported i will send a mail to community on this.

There is nothing arch specific to devtmpfs. This part crashes because the
kernel tries to modify the data read-only section which is write protected
on s390.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Acked-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Driver-Core: devtmpfs - set root directory mode to 0755</title>
<updated>2010-01-28T23:00:44+00:00</updated>
<author>
<name>Kay Sievers</name>
<email>kay.sievers@vrfy.org</email>
</author>
<published>2009-10-30T11:48:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=da30443952067e4abb1f3e50b226b8669c62dc02'/>
<id>da30443952067e4abb1f3e50b226b8669c62dc02</id>
<content type='text'>
commit 03d673e6af6490371aaf64dfe1f84c658c48b71d upstream.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Mark Rosenstand &lt;rosenstand@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 03d673e6af6490371aaf64dfe1f84c658c48b71d upstream.

Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Cc: Mark Rosenstand &lt;rosenstand@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Driver core: fix race in dev_driver_string</title>
<updated>2009-12-18T22:04:17+00:00</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2009-12-04T16:06:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fa8e26457e28606446f9afd6566cead9d0418b73'/>
<id>fa8e26457e28606446f9afd6566cead9d0418b73</id>
<content type='text'>
commit 3589972e51fac1e02d0aaa576fa47f568cb94d40 upstream.

This patch (as1310) works around a race in dev_driver_string().  If
the device is unbound while the function is running, dev-&gt;driver might
become NULL after we test it and before we dereference it.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: Oliver Neukum &lt;oliver@neukum.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 3589972e51fac1e02d0aaa576fa47f568cb94d40 upstream.

This patch (as1310) works around a race in dev_driver_string().  If
the device is unbound while the function is running, dev-&gt;driver might
become NULL after we test it and before we dereference it.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Cc: Oliver Neukum &lt;oliver@neukum.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>PM / Runtime: Fix lockdep warning in __pm_runtime_set_status()</title>
<updated>2009-12-18T22:03:10+00:00</updated>
<author>
<name>Rafael J. Wysocki</name>
<email>rjw@sisk.pl</email>
</author>
<published>2009-12-03T19:21:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7f112f35f0da073a10d4d3bfdfcef2955555e4f7'/>
<id>7f112f35f0da073a10d4d3bfdfcef2955555e4f7</id>
<content type='text'>
commit bab636b921017f0db6e0c2979438f50b898a9808 upstream.

Lockdep complains about taking the parent lock in
__pm_runtime_set_status(), so mark it as nested.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Reported-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit bab636b921017f0db6e0c2979438f50b898a9808 upstream.

Lockdep complains about taking the parent lock in
__pm_runtime_set_status(), so mark it as nested.

Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
Reported-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>PM: fix irq enable/disable in runtime PM code</title>
<updated>2009-11-29T15:51:27+00:00</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2009-11-25T00:06:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=862f89b3d4c6bf3caab7fc69661fc6e725edd00a'/>
<id>862f89b3d4c6bf3caab7fc69661fc6e725edd00a</id>
<content type='text'>
This patch (as1305) fixes a bug in the irq-enable settings and removes
some related overhead in the runtime PM code.

	In __pm_runtime_resume(), within the scope of the original
	spin_lock_irq(), we know that irqs are disabled.  There's no
	reason to go through a pair of enable/disable cycles when
	acquiring and releasing the parent's lock.

	In __pm_runtime_set_status(), irqs are already disabled when
	the parent's lock is acquired, and they must remain disabled
	when it is released.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch (as1305) fixes a bug in the irq-enable settings and removes
some related overhead in the runtime PM code.

	In __pm_runtime_resume(), within the scope of the original
	spin_lock_irq(), we know that irqs are disabled.  There's no
	reason to go through a pair of enable/disable cycles when
	acquiring and releasing the parent's lock.

	In __pm_runtime_set_status(), irqs are already disabled when
	the parent's lock is acquired, and they must remain disabled
	when it is released.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PM: Remove some debug messages producing too much noise</title>
<updated>2009-11-03T10:18:18+00:00</updated>
<author>
<name>Pavel Machek</name>
<email>pavel@ucw.cz</email>
</author>
<published>2009-10-28T21:56:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2ddac2a6a8f13e95664fe7ad1b728ac84fb1bd07'/>
<id>2ddac2a6a8f13e95664fe7ad1b728ac84fb1bd07</id>
<content type='text'>
pm_runtime_idle() is somewhat noisy. Remove debug prints.

Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pm_runtime_idle() is somewhat noisy. Remove debug prints.

Signed-off-by: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>PM: Fix warning on suspend errors</title>
<updated>2009-11-03T10:03:33+00:00</updated>
<author>
<name>Romit Dasgupta</name>
<email>romit@ti.com</email>
</author>
<published>2009-10-28T21:56:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e528e876897217465d5cd7cb28130d8489596e34'/>
<id>e528e876897217465d5cd7cb28130d8489596e34</id>
<content type='text'>
Fixes the point where we need to complete the power transition when
device suspend fails, so that we don't print warnings about devices
added to the device hierarchy after a failing suspend.

[rjw: Modified changelog.]

Signed-off-by: Romit Dasgupta &lt;romit@ti.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes the point where we need to complete the power transition when
device suspend fails, so that we don't print warnings about devices
added to the device hierarchy after a failing suspend.

[rjw: Modified changelog.]

Signed-off-by: Romit Dasgupta &lt;romit@ti.com&gt;
Signed-off-by: Rafael J. Wysocki &lt;rjw@sisk.pl&gt;
</pre>
</div>
</content>
</entry>
</feed>
