<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/kernel/printk.c, branch v2.6.28.9</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>System call wrappers part 27</title>
<updated>2009-01-18T18:44:00+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2009-01-14T13:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=508d497ce4de9b7399d8662e4ef090f2567bbf19'/>
<id>508d497ce4de9b7399d8662e4ef090f2567bbf19</id>
<content type='text'>
commit 1e7bfb2134dfec37ce04fb3a4ca89299e892d10c upstream.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.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 1e7bfb2134dfec37ce04fb3a4ca89299e892d10c upstream.

Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sys_syslog a conditional system call</title>
<updated>2009-01-18T18:43:52+00:00</updated>
<author>
<name>Heiko Carstens</name>
<email>heiko.carstens@de.ibm.com</email>
</author>
<published>2009-01-14T13:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2742fb1139b080aa4cd4c004577bd6eb2d221017'/>
<id>2742fb1139b080aa4cd4c004577bd6eb2d221017</id>
<content type='text'>
commit f627a741d24f12955fa2d9f8831c3b12860635bd upstream.

Remove the -ENOSYS implementation for !CONFIG_PRINTK and use
the cond_syscall infrastructure instead.

Acked-by: Kyle McMartin &lt;kyle@redhat.com&gt;
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.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 f627a741d24f12955fa2d9f8831c3b12860635bd upstream.

Remove the -ENOSYS implementation for !CONFIG_PRINTK and use
the cond_syscall infrastructure instead.

Acked-by: Kyle McMartin &lt;kyle@redhat.com&gt;
Signed-off-by: Heiko Carstens &lt;heiko.carstens@de.ibm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>printk: remove unused code from kernel/printk.c</title>
<updated>2008-10-23T19:54:29+00:00</updated>
<author>
<name>roel kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2008-10-21T23:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=acff181d3574244e651913df77332e897b88bff4'/>
<id>acff181d3574244e651913df77332e897b88bff4</id>
<content type='text'>
both log_buf_copy() and log_buf_len are unused.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
both log_buf_copy() and log_buf_len are unused.

Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip</title>
<updated>2008-10-16T22:17:40+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-10-16T22:17:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e533b227055598b1f7dc8503a3b4f36b14b9da8a'/>
<id>e533b227055598b1f7dc8503a3b4f36b14b9da8a</id>
<content type='text'>
* 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  do_generic_file_read: s/EINTR/EIO/ if lock_page_killable() fails
  softirq, warning fix: correct a format to avoid a warning
  softirqs, debug: preemption check
  x86, pci-hotplug, calgary / rio: fix EBDA ioremap()
  IO resources, x86: ioremap sanity check to catch mapping requests exceeding, fix
  IO resources, x86: ioremap sanity check to catch mapping requests exceeding the BAR sizes
  softlockup: Documentation/sysctl/kernel.txt: fix softlockup_thresh description
  dmi scan: warn about too early calls to dmi_check_system()
  generic: redefine resource_size_t as phys_addr_t
  generic: make PFN_PHYS explicitly return phys_addr_t
  generic: add phys_addr_t for holding physical addresses
  softirq: allocate less vectors
  IO resources: fix/remove printk
  printk: robustify printk, update comment
  printk: robustify printk, fix #2
  printk: robustify printk, fix
  printk: robustify printk

Fixed up conflicts in:
	arch/powerpc/include/asm/types.h
	arch/powerpc/platforms/Kconfig.cputype
manually.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 'core-v28-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
  do_generic_file_read: s/EINTR/EIO/ if lock_page_killable() fails
  softirq, warning fix: correct a format to avoid a warning
  softirqs, debug: preemption check
  x86, pci-hotplug, calgary / rio: fix EBDA ioremap()
  IO resources, x86: ioremap sanity check to catch mapping requests exceeding, fix
  IO resources, x86: ioremap sanity check to catch mapping requests exceeding the BAR sizes
  softlockup: Documentation/sysctl/kernel.txt: fix softlockup_thresh description
  dmi scan: warn about too early calls to dmi_check_system()
  generic: redefine resource_size_t as phys_addr_t
  generic: make PFN_PHYS explicitly return phys_addr_t
  generic: add phys_addr_t for holding physical addresses
  softirq: allocate less vectors
  IO resources: fix/remove printk
  printk: robustify printk, update comment
  printk: robustify printk, fix #2
  printk: robustify printk, fix
  printk: robustify printk

Fixed up conflicts in:
	arch/powerpc/include/asm/types.h
	arch/powerpc/platforms/Kconfig.cputype
manually.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add kerneldoc documentation for new printk format extensions</title>
<updated>2008-10-16T18:21:32+00:00</updated>
<author>
<name>Andi Kleen</name>
<email>andi@firstfloor.org</email>
</author>
<published>2008-10-16T05:02:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=20036fdcaf05fac0a84ed81a56906493a7d822e2'/>
<id>20036fdcaf05fac0a84ed81a56906493a7d822e2</id>
<content type='text'>
Add documentation in kerneldoc for new printk format extensions

This patch documents the new %pS/%pF options in printk in kernel doc.

Hope I didn't miss any other extension.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add documentation in kerneldoc for new printk format extensions

This patch documents the new %pS/%pF options in printk in kernel doc.

Hope I didn't miss any other extension.

Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Andrew Morton's old email accounts</title>
<updated>2008-10-16T18:21:32+00:00</updated>
<author>
<name>Francois Cami</name>
<email>francois.cami@free.fr</email>
</author>
<published>2008-10-16T05:01:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e1f8e87449147ffe5ea3de64a46af7de450ce279'/>
<id>e1f8e87449147ffe5ea3de64a46af7de450ce279</id>
<content type='text'>
People can use the real name an an index into MAINTAINERS to find the
current email address.

Signed-off-by: Francois Cami &lt;francois.cami@free.fr&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
People can use the real name an an index into MAINTAINERS to find the
current email address.

Signed-off-by: Francois Cami &lt;francois.cami@free.fr&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branches 'core/softlockup', 'core/softirq', 'core/resources', 'core/printk' and 'core/misc' into core-v28-for-linus</title>
<updated>2008-10-15T10:48:44+00:00</updated>
<author>
<name>Ingo Molnar</name>
<email>mingo@elte.hu</email>
</author>
<published>2008-10-15T10:48:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6b2ada82101a08e2830fb29d7dc9b858be637dd4'/>
<id>6b2ada82101a08e2830fb29d7dc9b858be637dd4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tty: Move tty_write_message out of kernel/printk</title>
<updated>2008-10-13T16:51:41+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@redhat.com</email>
</author>
<published>2008-10-13T09:39:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=95f9bfc6b76e862265a2d70ae061eec18fe14140'/>
<id>95f9bfc6b76e862265a2d70ae061eec18fe14140</id>
<content type='text'>
This is pure tty code so put it in the tty layer where it can be with the
locking relevant material it uses

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is pure tty code so put it in the tty layer where it can be with the
locking relevant material it uses

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>printk: robustify printk, update comment</title>
<updated>2008-08-20T13:39:59+00:00</updated>
<author>
<name>Jiri Kosina</name>
<email>jkosina@suse.cz</email>
</author>
<published>2008-08-20T12:40:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1fa63a817d27af7dc0d5ed454eb8fe5dec65fac7'/>
<id>1fa63a817d27af7dc0d5ed454eb8fe5dec65fac7</id>
<content type='text'>
Remove the comment describing the possibility of printk() deadlocking on
runqueue lock.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Acked-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the comment describing the possibility of printk() deadlocking on
runqueue lock.

Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Acked-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>printk: robustify printk, fix #2</title>
<updated>2008-08-20T10:22:37+00:00</updated>
<author>
<name>Peter Zijlstra</name>
<email>a.p.zijlstra@chello.nl</email>
</author>
<published>2008-08-20T07:31:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fa33507a22623b3bd543b15a21c362cf364b6cff'/>
<id>fa33507a22623b3bd543b15a21c362cf364b6cff</id>
<content type='text'>
Dmitry Adamushko reported:

&gt; [*] btw., with DEBUG being enabled, pr_debug() generates [1] when
&gt; debug_smp_processor_id() is used (CONFIG_DEBUG_PREEMPT).
&gt;
&gt; the problem seems to be caused by the following commit:
&gt; commit b845b517b5e3706a3729f6ea83b88ab85f0725b0
&gt; Author: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
&gt; Date:   Fri Aug 8 21:47:09 2008 +0200
&gt;
&gt;     printk: robustify printk
&gt;
&gt;
&gt; wake_up_klogd() -&gt; __get_cpu_var() -&gt; smp_processor_id()
&gt;
&gt; and that's being called from release_console_sem() which is, in turn,
&gt; said to be "may be called from any context" [2]
&gt;
&gt; and in this case, it seems to be called from some non-preemptible
&gt; context (although, it can't be printk()...
&gt; although, I haven't looked carefully yet).
&gt;
&gt; Provided [2], __get_cpu_var() is perhaps not the right solution there.
&gt;
&gt;
&gt; [1]
&gt;
&gt; [ 7697.942005] BUG: using smp_processor_id() in preemptible [00000000] code: syslogd/3542
&gt; [ 7697.942005] caller is wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005] Pid: 3542, comm: syslogd Not tainted 2.6.27-rc3-tip-git #2
&gt; [ 7697.942005] Call Trace:
&gt; [ 7697.942005]  [&lt;ffffffff8036b398&gt;] debug_smp_processor_id+0xe8/0xf0
&gt; [ 7697.942005]  [&lt;ffffffff80239d3b&gt;] wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005]  [&lt;ffffffff8023a047&gt;] release_console_sem+0x1e7/0x200
&gt; [ 7697.942005]  [&lt;ffffffff803c0f17&gt;] do_con_write+0xb7/0x1f30
&gt; [ 7697.942005]  [&lt;ffffffff8020d920&gt;] ? show_trace+0x10/0x20
&gt; [ 7697.942005]  [&lt;ffffffff8020dc42&gt;] ? dump_stack+0x72/0x80
&gt; [ 7697.942005]  [&lt;ffffffff8036392d&gt;] ? __ratelimit+0xbd/0xe0
&gt; [ 7697.942005]  [&lt;ffffffff8036b398&gt;] ? debug_smp_processor_id+0xe8/0xf0
&gt; [ 7697.942005]  [&lt;ffffffff80239d3b&gt;] ? wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005]  [&lt;ffffffff8023a047&gt;] ? release_console_sem+0x1e7/0x200
&gt; [ 7697.942005]  [&lt;ffffffff803c2de9&gt;] con_write+0x19/0x30
&gt; [ 7697.942005]  [&lt;ffffffff803b37b6&gt;] write_chan+0x276/0x3c0
&gt; [ 7697.942005]  [&lt;ffffffff80232b20&gt;] ? default_wake_function+0x0/0x10
&gt; [ 7697.942005]  [&lt;ffffffff804cb872&gt;] ? _spin_lock_irqsave+0x22/0x50
&gt; [ 7697.942005]  [&lt;ffffffff803b1334&gt;] tty_write+0x194/0x260
&gt; [ 7697.942005]  [&lt;ffffffff803b3540&gt;] ? write_chan+0x0/0x3c0
&gt; [ 7697.942005]  [&lt;ffffffff803b14a4&gt;] redirected_tty_write+0xa4/0xb0
&gt; [ 7697.942005]  [&lt;ffffffff803b1400&gt;] ? redirected_tty_write+0x0/0xb0
&gt; [ 7697.942005]  [&lt;ffffffff802a88c2&gt;] do_loop_readv_writev+0x52/0x80
&gt; [ 7697.942005]  [&lt;ffffffff802a939d&gt;] do_readv_writev+0x1bd/0x1d0
&gt; [ 7697.942005]  [&lt;ffffffff802a93e9&gt;] vfs_writev+0x39/0x60
&gt; [ 7697.942005]  [&lt;ffffffff802a9870&gt;] sys_writev+0x50/0x90
&gt; [ 7697.942005]  [&lt;ffffffff8020bb3b&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Reported-by: Dmitry Adamushko &lt;dmitry.adamushko@gmail.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dmitry Adamushko reported:

&gt; [*] btw., with DEBUG being enabled, pr_debug() generates [1] when
&gt; debug_smp_processor_id() is used (CONFIG_DEBUG_PREEMPT).
&gt;
&gt; the problem seems to be caused by the following commit:
&gt; commit b845b517b5e3706a3729f6ea83b88ab85f0725b0
&gt; Author: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
&gt; Date:   Fri Aug 8 21:47:09 2008 +0200
&gt;
&gt;     printk: robustify printk
&gt;
&gt;
&gt; wake_up_klogd() -&gt; __get_cpu_var() -&gt; smp_processor_id()
&gt;
&gt; and that's being called from release_console_sem() which is, in turn,
&gt; said to be "may be called from any context" [2]
&gt;
&gt; and in this case, it seems to be called from some non-preemptible
&gt; context (although, it can't be printk()...
&gt; although, I haven't looked carefully yet).
&gt;
&gt; Provided [2], __get_cpu_var() is perhaps not the right solution there.
&gt;
&gt;
&gt; [1]
&gt;
&gt; [ 7697.942005] BUG: using smp_processor_id() in preemptible [00000000] code: syslogd/3542
&gt; [ 7697.942005] caller is wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005] Pid: 3542, comm: syslogd Not tainted 2.6.27-rc3-tip-git #2
&gt; [ 7697.942005] Call Trace:
&gt; [ 7697.942005]  [&lt;ffffffff8036b398&gt;] debug_smp_processor_id+0xe8/0xf0
&gt; [ 7697.942005]  [&lt;ffffffff80239d3b&gt;] wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005]  [&lt;ffffffff8023a047&gt;] release_console_sem+0x1e7/0x200
&gt; [ 7697.942005]  [&lt;ffffffff803c0f17&gt;] do_con_write+0xb7/0x1f30
&gt; [ 7697.942005]  [&lt;ffffffff8020d920&gt;] ? show_trace+0x10/0x20
&gt; [ 7697.942005]  [&lt;ffffffff8020dc42&gt;] ? dump_stack+0x72/0x80
&gt; [ 7697.942005]  [&lt;ffffffff8036392d&gt;] ? __ratelimit+0xbd/0xe0
&gt; [ 7697.942005]  [&lt;ffffffff8036b398&gt;] ? debug_smp_processor_id+0xe8/0xf0
&gt; [ 7697.942005]  [&lt;ffffffff80239d3b&gt;] ? wake_up_klogd+0x1b/0x50
&gt; [ 7697.942005]  [&lt;ffffffff8023a047&gt;] ? release_console_sem+0x1e7/0x200
&gt; [ 7697.942005]  [&lt;ffffffff803c2de9&gt;] con_write+0x19/0x30
&gt; [ 7697.942005]  [&lt;ffffffff803b37b6&gt;] write_chan+0x276/0x3c0
&gt; [ 7697.942005]  [&lt;ffffffff80232b20&gt;] ? default_wake_function+0x0/0x10
&gt; [ 7697.942005]  [&lt;ffffffff804cb872&gt;] ? _spin_lock_irqsave+0x22/0x50
&gt; [ 7697.942005]  [&lt;ffffffff803b1334&gt;] tty_write+0x194/0x260
&gt; [ 7697.942005]  [&lt;ffffffff803b3540&gt;] ? write_chan+0x0/0x3c0
&gt; [ 7697.942005]  [&lt;ffffffff803b14a4&gt;] redirected_tty_write+0xa4/0xb0
&gt; [ 7697.942005]  [&lt;ffffffff803b1400&gt;] ? redirected_tty_write+0x0/0xb0
&gt; [ 7697.942005]  [&lt;ffffffff802a88c2&gt;] do_loop_readv_writev+0x52/0x80
&gt; [ 7697.942005]  [&lt;ffffffff802a939d&gt;] do_readv_writev+0x1bd/0x1d0
&gt; [ 7697.942005]  [&lt;ffffffff802a93e9&gt;] vfs_writev+0x39/0x60
&gt; [ 7697.942005]  [&lt;ffffffff802a9870&gt;] sys_writev+0x50/0x90
&gt; [ 7697.942005]  [&lt;ffffffff8020bb3b&gt;] system_call_fastpath+0x16/0x1b

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Reported-by: Dmitry Adamushko &lt;dmitry.adamushko@gmail.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</pre>
</div>
</content>
</entry>
</feed>
