<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/arch/mips/lib/delay.c, branch v3.0.95</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>MIPS: delay: Fix use of current_cpu_data in preemptable code.</title>
<updated>2010-04-12T16:26:09+00:00</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2010-03-10T15:16:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=abe5b417fb4a52e9510fdb5a16e722e91bf89e92'/>
<id>abe5b417fb4a52e9510fdb5a16e722e91bf89e92</id>
<content type='text'>
This may lead to warnings like:

BUG: using smp_processor_id() in preemptible [00000000] code: reboot/1989
caller is __udelay+0x14/0x70
Call Trace:
[&lt;ffffffff8110ad28&gt;] dump_stack+0x8/0x34
[&lt;ffffffff812dde04&gt;] debug_smp_processor_id+0xf4/0x110
[&lt;ffffffff812d90bc&gt;] __udelay+0x14/0x70
[&lt;ffffffff81378274&gt;] md_notify_reboot+0x12c/0x148
[&lt;ffffffff81161054&gt;] notifier_call_chain+0x64/0xc8
[&lt;ffffffff811614dc&gt;] __blocking_notifier_call_chain+0x64/0xc0
[&lt;ffffffff8115566c&gt;] kernel_restart_prepare+0x1c/0x38
[&lt;ffffffff811556cc&gt;] kernel_restart+0x14/0x50
[&lt;ffffffff8115581c&gt;] SyS_reboot+0x10c/0x1f0
[&lt;ffffffff81103684&gt;] handle_sysn32+0x44/0x84

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This may lead to warnings like:

BUG: using smp_processor_id() in preemptible [00000000] code: reboot/1989
caller is __udelay+0x14/0x70
Call Trace:
[&lt;ffffffff8110ad28&gt;] dump_stack+0x8/0x34
[&lt;ffffffff812dde04&gt;] debug_smp_processor_id+0xf4/0x110
[&lt;ffffffff812d90bc&gt;] __udelay+0x14/0x70
[&lt;ffffffff81378274&gt;] md_notify_reboot+0x12c/0x148
[&lt;ffffffff81161054&gt;] notifier_call_chain+0x64/0xc8
[&lt;ffffffff811614dc&gt;] __blocking_notifier_call_chain+0x64/0xc0
[&lt;ffffffff8115566c&gt;] kernel_restart_prepare+0x1c/0x38
[&lt;ffffffff811556cc&gt;] kernel_restart+0x14/0x50
[&lt;ffffffff8115581c&gt;] SyS_reboot+0x10c/0x1f0
[&lt;ffffffff81103684&gt;] handle_sysn32+0x44/0x84

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: Fix __ndelay build error and add 'ull' suffix for 32-bit kernel</title>
<updated>2009-06-17T10:06:24+00:00</updated>
<author>
<name>Atsushi Nemoto</name>
<email>nemoto@toshiba-tops.co.jp</email>
</author>
<published>2009-06-09T02:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3cb3a66cf7559d9c5d47ddf58481530b8943052f'/>
<id>3cb3a66cf7559d9c5d47ddf58481530b8943052f</id>
<content type='text'>
Signed-off-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: Outline udelay and fix a few issues.</title>
<updated>2009-06-08T15:57:51+00:00</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2009-02-28T09:44:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5636919b5c909fee54a6ef5226475ecae012ad02'/>
<id>5636919b5c909fee54a6ef5226475ecae012ad02</id>
<content type='text'>
Outlining fixes the issue were on certain CPUs such as the R10000 family
the delay loop would need an extra cycle if it overlaps a cacheline
boundary.

The rewrite also fixes build errors with GCC 4.4 which was changed in
way incompatible with the kernel's inline assembly.

Relying on pure C for computation of the delay value removes the need for
explicit.  The price we pay is a slight slowdown of the computation - to
be fixed on another day.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Outlining fixes the issue were on certain CPUs such as the R10000 family
the delay loop would need an extra cycle if it overlaps a cacheline
boundary.

The rewrite also fixes build errors with GCC 4.4 which was changed in
way incompatible with the kernel's inline assembly.

Relying on pure C for computation of the delay value removes the need for
explicit.  The price we pay is a slight slowdown of the computation - to
be fixed on another day.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
