<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/serial/sh-sci.c, branch tegra-9.12.14</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>serial: sh-sci: disable callback typo fix</title>
<updated>2009-11-06T08:23:04+00:00</updated>
<author>
<name>Magnus Damm</name>
<email>damm@opensource.se</email>
</author>
<published>2009-11-05T14:34:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=345e5a7672f561b539b3249cbe437b8d6595ab1b'/>
<id>345e5a7672f561b539b3249cbe437b8d6595ab1b</id>
<content type='text'>
Avoid invoking the disable callback in case of NULL.

Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Avoid invoking the disable callback in case of NULL.

Signed-off-by: Magnus Damm &lt;damm@opensource.se&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: kill off uart_info</title>
<updated>2009-09-19T20:13:28+00:00</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2009-09-19T20:13:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ebd2c8f6d2ec4012c267ecb95e72a57b8355a705'/>
<id>ebd2c8f6d2ec4012c267ecb95e72a57b8355a705</id>
<content type='text'>
We moved this into uart_state, now move the fields out of the separate
structure and kill it off.

Signed-off-by: Alan Cox &lt;alan@linux.intel.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>
We moved this into uart_state, now move the fields out of the separate
structure and kill it off.

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Add initial support for SH7757 CPU subtype</title>
<updated>2009-08-21T08:25:47+00:00</updated>
<author>
<name>Yoshihiro Shimoda</name>
<email>shimoda.yoshihiro@renesas.com</email>
</author>
<published>2009-08-21T07:30:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c01f0f1a4a96eb3acc5850e18cc43f24366966d0'/>
<id>c01f0f1a4a96eb3acc5850e18cc43f24366966d0</id>
<content type='text'>
Signed-off-by: Yoshihiro Shimoda &lt;shimoda.yoshihiro@renesas.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yoshihiro Shimoda &lt;shimoda.yoshihiro@renesas.com&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: Rework irqflags tracing to fix up CONFIG_PROVE_LOCKING.</title>
<updated>2009-07-29T14:01:24+00:00</updated>
<author>
<name>Stuart Menefy</name>
<email>stuart.menefy@st.com</email>
</author>
<published>2009-07-29T14:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fd78a76aefb5bf28a11d6960d29e03a11db62320'/>
<id>fd78a76aefb5bf28a11d6960d29e03a11db62320</id>
<content type='text'>
This cleans up the irqflags tracing code quite a bit and ties it
in to various missing callsites that caused an imbalance when
CONFIG_PROVE_LOCKING was enabled.

Previously this was catching on:

 987 #ifdef CONFIG_PROVE_LOCKING
 988     DEBUG_LOCKS_WARN_ON(!p-&gt;hardirqs_enabled);
 989     DEBUG_LOCKS_WARN_ON(!p-&gt;softirqs_enabled);
 990 #endif
 991     retval = -EAGAIN;

with hardirqs being doubly enabled, and subsequently bailing out
with the following call trace:

	Call trace:
	[&lt;88035224&gt;] __lock_acquire+0x616/0x6a6
	[&lt;88015a8c&gt;] do_fork+0xf8/0x2b0
	[&lt;880331ec&gt;] trace_hardirqs_on_caller+0xd4/0x114
	[&lt;88241074&gt;] _spin_unlock_irq+0x20/0x64
	[&lt;88035224&gt;] __lock_acquire+0x616/0x6a6
	[&lt;8800386c&gt;] kernel_thread+0x48/0x70
	[&lt;88024ecc&gt;] ____call_usermodehelper+0x0/0x110
	[&lt;88024ecc&gt;] ____call_usermodehelper+0x0/0x110
	[&lt;88003894&gt;] kernel_thread_helper+0x0/0x14
	[&lt;88024bac&gt;] __call_usermodehelper+0x38/0x70
	[&lt;88025dc0&gt;] worker_thread+0x150/0x274
	[&lt;88035b9c&gt;] lock_release+0x0/0x198
	[&lt;88024b74&gt;] __call_usermodehelper+0x0/0x70
	[&lt;88028cf0&gt;] autoremove_wake_function+0x0/0x30
	[&lt;88028bf2&gt;] kthread+0x3e/0x70
	[&lt;88025c70&gt;] worker_thread+0x0/0x274
	[&lt;8800389c&gt;] kernel_thread_helper+0x8/0x14
	[&lt;88028bb4&gt;] kthread+0x0/0x70
	[&lt;88003894&gt;] kernel_thread_helper+0x0/0x14

Reported-by: Nobuhiro Iwamatsu &lt;iwamatsu.nobuhiro@renesas.com&gt;
Signed-off-by: Stuart Menefy &lt;stuart.menefy@st.com&gt;
Signed-off-by: Matt Fleming &lt;matt@console-pimps.org&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This cleans up the irqflags tracing code quite a bit and ties it
in to various missing callsites that caused an imbalance when
CONFIG_PROVE_LOCKING was enabled.

Previously this was catching on:

 987 #ifdef CONFIG_PROVE_LOCKING
 988     DEBUG_LOCKS_WARN_ON(!p-&gt;hardirqs_enabled);
 989     DEBUG_LOCKS_WARN_ON(!p-&gt;softirqs_enabled);
 990 #endif
 991     retval = -EAGAIN;

with hardirqs being doubly enabled, and subsequently bailing out
with the following call trace:

	Call trace:
	[&lt;88035224&gt;] __lock_acquire+0x616/0x6a6
	[&lt;88015a8c&gt;] do_fork+0xf8/0x2b0
	[&lt;880331ec&gt;] trace_hardirqs_on_caller+0xd4/0x114
	[&lt;88241074&gt;] _spin_unlock_irq+0x20/0x64
	[&lt;88035224&gt;] __lock_acquire+0x616/0x6a6
	[&lt;8800386c&gt;] kernel_thread+0x48/0x70
	[&lt;88024ecc&gt;] ____call_usermodehelper+0x0/0x110
	[&lt;88024ecc&gt;] ____call_usermodehelper+0x0/0x110
	[&lt;88003894&gt;] kernel_thread_helper+0x0/0x14
	[&lt;88024bac&gt;] __call_usermodehelper+0x38/0x70
	[&lt;88025dc0&gt;] worker_thread+0x150/0x274
	[&lt;88035b9c&gt;] lock_release+0x0/0x198
	[&lt;88024b74&gt;] __call_usermodehelper+0x0/0x70
	[&lt;88028cf0&gt;] autoremove_wake_function+0x0/0x30
	[&lt;88028bf2&gt;] kthread+0x3e/0x70
	[&lt;88025c70&gt;] worker_thread+0x0/0x274
	[&lt;8800389c&gt;] kernel_thread_helper+0x8/0x14
	[&lt;88028bb4&gt;] kthread+0x0/0x70
	[&lt;88003894&gt;] kernel_thread_helper+0x0/0x14

Reported-by: Nobuhiro Iwamatsu &lt;iwamatsu.nobuhiro@renesas.com&gt;
Signed-off-by: Stuart Menefy &lt;stuart.menefy@st.com&gt;
Signed-off-by: Matt Fleming &lt;matt@console-pimps.org&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: sh-sci: fix sci interrupt handler</title>
<updated>2009-07-07T07:51:21+00:00</updated>
<author>
<name>SUGIOKA Toshinobu</name>
<email>sugioka@itonet.co.jp</email>
</author>
<published>2009-07-07T05:32:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=dd4da3a55f99efbfd46674ebefdcc2878a57ef2a'/>
<id>dd4da3a55f99efbfd46674ebefdcc2878a57ef2a</id>
<content type='text'>
Fix up the error bit handling on SCI ports.

Signed-off-by: SUGIOKA Toshinobu &lt;sugioka@itonet.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix up the error bit handling on SCI ports.

Signed-off-by: SUGIOKA Toshinobu &lt;sugioka@itonet.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sh-sci: update receive error handling for muxed irqs</title>
<updated>2009-07-03T08:45:58+00:00</updated>
<author>
<name>Magnus Damm</name>
<email>damm@igel.co.jp</email>
</author>
<published>2009-07-03T08:39:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=44e18e9eda1f5c318a888989d929188eea93c8dc'/>
<id>44e18e9eda1f5c318a888989d929188eea93c8dc</id>
<content type='text'>
This patch updates the receive error code for muxed
interrupts in the sh-sci driver.

Receive error interrupts may be generated by the hardware
if RE or REIE bits in SCSCR are set. Update the muxed
interrupt handling code to acknowledge error interrupts
if RE or REIE is set, instead of only acknowledging if
REIE is set.

Without this patch error interrupts may be generated but
never acked resulting in a "nobody cared" crash.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch updates the receive error code for muxed
interrupts in the sh-sci driver.

Receive error interrupts may be generated by the hardware
if RE or REIE bits in SCSCR are set. Update the muxed
interrupt handling code to acknowledge error interrupts
if RE or REIE is set, instead of only acknowledging if
REIE is set.

Without this patch error interrupts may be generated but
never acked resulting in a "nobody cared" crash.

Signed-off-by: Magnus Damm &lt;damm@igel.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: sh-sci: Move over to dev_pm_ops.</title>
<updated>2009-06-14T22:07:38+00:00</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2009-06-14T22:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6daa79b3c113bf95793aee95fcfb4008e85614eb'/>
<id>6daa79b3c113bf95793aee95fcfb4008e85614eb</id>
<content type='text'>
Presently the boot log whines about suspend/resume hooks at the platform
driver level, move these over to dev_pm_ops.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Presently the boot log whines about suspend/resume hooks at the platform
driver level, move these over to dev_pm_ops.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: sh-sci: Fix up PORT_SCI console output ordering.</title>
<updated>2009-06-02T03:11:18+00:00</updated>
<author>
<name>SUGIOKA Toshinobu</name>
<email>sugioka@itonet.co.jp</email>
</author>
<published>2009-06-01T03:53:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=dd0a3e77c825c9f5c6d2a97deb047f8d52026581'/>
<id>dd0a3e77c825c9f5c6d2a97deb047f8d52026581</id>
<content type='text'>
Fix SCI transmission sequence in console output function.

This reorders the write sequence to match the SH-3 manual, and corrects
a console corruption bug observed on SH-3 SCI.

Signed-off-by: Toshinobu Sugioka &lt;sugioka@itonet.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix SCI transmission sequence in console output function.

This reorders the write sequence to match the SH-3 manual, and corrects
a console corruption bug observed on SH-3 SCI.

Signed-off-by: Toshinobu Sugioka &lt;sugioka@itonet.co.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sh: clkfwk: module_clk -&gt; peripheral_clk rename.</title>
<updated>2009-05-13T07:59:40+00:00</updated>
<author>
<name>Paul Mundt</name>
<email>lethal@linux-sh.org</email>
</author>
<published>2009-05-13T07:59:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=af777ce42d3d51cdef353ce296d6f99dc503feef'/>
<id>af777ce42d3d51cdef353ce296d6f99dc503feef</id>
<content type='text'>
For consistenct naming, and to allow us to fix up some confusion in the
SH-Mobile clock framework, amongst other places.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For consistenct naming, and to allow us to fix up some confusion in the
SH-Mobile clock framework, amongst other places.

Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>serial: sh-sci: Fix up h8300 support.</title>
<updated>2009-05-08T14:54:47+00:00</updated>
<author>
<name>Yoshinori Sato</name>
<email>ysato@users.sourceforge.jp</email>
</author>
<published>2009-04-28T04:40:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=168f36237b16e2b3159e24c7d3b658e3c912d149'/>
<id>168f36237b16e2b3159e24c7d3b658e3c912d149</id>
<content type='text'>
- Dummy SCIF functions define.
- h8300 specific header include.

Signed-off-by: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Dummy SCIF functions define.
- h8300 specific header include.

Signed-off-by: Yoshinori Sato &lt;ysato@users.sourceforge.jp&gt;
Signed-off-by: Paul Mundt &lt;lethal@linux-sh.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
