<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/mips/kernel, branch linux-2.6.21.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.21.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.21.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-04-20T13:58:37Z</updated>
<entry>
<title>[MIPS] Fix BUG(), BUG_ON() handling</title>
<updated>2007-04-20T13:58:37Z</updated>
<author>
<name>Atsushi Nemoto</name>
</author>
<published>2007-04-12T11:02:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba755f8ec80fdbf2b5212622eabf7355464c6327'/>
<id>urn:sha1:ba755f8ec80fdbf2b5212622eabf7355464c6327</id>
<content type='text'>
With commit 63dc68a8cf60cb110b147dab1704d990808b39e2, kernel can not
handle BUG() and BUG_ON() properly since get_user() returns false for
kernel code.  Use __get_user() to skip unnecessary access_ok().  This
patch also make BRK_BUG code encoded in the TNE instruction.

Signed-off-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Retry {save,restore}_fp_context if failed in atomic context.</title>
<updated>2007-04-20T13:58:37Z</updated>
<author>
<name>Atsushi Nemoto</name>
</author>
<published>2007-04-16T14:19:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=faea62346444ce5b1dba8fb5291d95b676522c42'/>
<id>urn:sha1:faea62346444ce5b1dba8fb5291d95b676522c42</id>
<content type='text'>
The save_fp_context()/restore_fp_context() might sleep on accessing
user stack and therefore might lose FPU ownership in middle of them.

If these function failed due to "in_atomic" test in do_page_fault,
touch the sigcontext area in non-atomic context and retry these
save/restore operation.

This is a replacement of a (broken) fix which was titled "Allow CpU
exception in kernel partially".

Signed-off-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Disallow CpU exception in kernel again.</title>
<updated>2007-04-20T13:58:37Z</updated>
<author>
<name>Atsushi Nemoto</name>
</author>
<published>2007-04-13T17:37:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5323180db75d562a287cb2020b07c9422df13df6'/>
<id>urn:sha1:5323180db75d562a287cb2020b07c9422df13df6</id>
<content type='text'>
The commit 4d40bff7110e9e1a97ff8c01bdd6350e9867cc10 ("Allow CpU
exception in kernel partially") was broken.  The commit was to fix
theoretical problem but broke usual case.  Revert it for now.

Signed-off-by: Atsushi Nemoto &lt;anemo@mba.ocn.ne.jp&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] SMTC: Fix recursion in instant IPI replay code.</title>
<updated>2007-03-29T22:46:36Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2007-03-29T22:42:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a1e97ee2e025f116765c92409a3cf8f6cb07ad6'/>
<id>urn:sha1:8a1e97ee2e025f116765c92409a3cf8f6cb07ad6</id>
<content type='text'>
local_irq_restore -&gt; raw_local_irq_restore -&gt; irq_restore_epilog -&gt;
	smtc_ipi_replay -&gt; smtc_ipi_dq -&gt; spin_unlock_irqrestore -&gt;
	_spin_unlock_irqrestore -&gt; local_irq_restore

The recursion does abort when there is no more IPI queued for a CPU, so
this isn't usually fatal which is why we got away with this for so long
until this was discovered by code inspection.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] SMTC: Fix false trigger of debug code on single VPE.</title>
<updated>2007-03-29T22:46:36Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2007-03-27T14:19:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=20bb25d10fe5569df8f3f186a36e5548582854d9'/>
<id>urn:sha1:20bb25d10fe5569df8f3f186a36e5548582854d9</id>
<content type='text'>
Make smtc_setup_irq() update the list of interrupts which need to be
watched by the debug code itself.  Also there is no need to initialize the
IPI swint when running with a single VPE, so don't initialize it.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] SMTC: irq_{enter,leave} and kstats keeping for relayed timer ints.</title>
<updated>2007-03-29T22:46:35Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2007-03-27T14:11:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ae036b790891565c5b4b64e616ed497138d1f8d6'/>
<id>urn:sha1:ae036b790891565c5b4b64e616ed497138d1f8d6</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] lockdep: Deal with interrupt disable hazard in TRACE_IRQFLAGS</title>
<updated>2007-03-29T22:46:35Z</updated>
<author>
<name>Chris Dearman</name>
</author>
<published>2007-03-26T13:48:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe99f1b184efb75c50dd8cbdfff99b559c2cb3b3'/>
<id>urn:sha1:fe99f1b184efb75c50dd8cbdfff99b559c2cb3b3</id>
<content type='text'>
Between the mtc0 or di instruction that disables interrupts and the
following hazard barrier a processor may still take interrupts.  If an
interrupt is taken after interrupts are disabled but before the state
is updated it will appear to restore_all that it is incorrectly returning
with interrupts disabled.

Signed-off-by: Chris Dearman &lt;chris@mips.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] lockdep: Handle interrupts in R3000 style c0_status register.</title>
<updated>2007-03-29T22:46:35Z</updated>
<author>
<name>Chris Dearman</name>
</author>
<published>2007-03-26T13:47:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cbde5ebc972c0577741a69c85d5e5afad19d813b'/>
<id>urn:sha1:cbde5ebc972c0577741a69c85d5e5afad19d813b</id>
<content type='text'>
Check the IEP bit for R3000 style processors when checking to see if
interrupts will be reenabled in restore_all.

Signed-off-by: Chris Dearman &lt;chris@mips.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Export except_vec_vi_{mori,lui,ori} as text symbols.</title>
<updated>2007-03-19T20:22:44Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2007-03-19T15:29:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7df4246117cb0adc6c3ed54bdb2d2faf4656d9cd'/>
<id>urn:sha1:7df4246117cb0adc6c3ed54bdb2d2faf4656d9cd</id>
<content type='text'>
Otherwise objdump will screw up disassembly.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] VI: TRACE_IRQS_OFF clobbers $v0, so save &amp; restore around call.</title>
<updated>2007-03-19T20:22:43Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2007-03-17T16:21:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c3644350f4105a9b55fbfc6bbba567b79cdf72a'/>
<id>urn:sha1:8c3644350f4105a9b55fbfc6bbba567b79cdf72a</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
