<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/mips/kernel/head.S, branch v3.0.43</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/mips/kernel/head.S?h=v3.0.43</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/mips/kernel/head.S?h=v3.0.43'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2009-11-02T11:00:07Z</updated>
<entry>
<title>MIPS: Avoid potential hazard on Context register</title>
<updated>2009-11-02T11:00:07Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2009-10-13T21:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c2ea1d56eaf084c66177eb5658ff4065e79b36ea'/>
<id>urn:sha1:c2ea1d56eaf084c66177eb5658ff4065e79b36ea</id>
<content type='text'>
set_saved_sp reads Context register. Avoid reading stale value from
earlier incomplete write.

Issue found and fixed for head.S by Chris Dearman &lt;chris@mips.com&gt;.

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: Avoid clobbering struct pt_regs in kthreads</title>
<updated>2009-08-03T16:52:41Z</updated>
<author>
<name>David Daney</name>
<email>ddaney@caviumnetworks.com</email>
</author>
<published>2009-07-08T17:07:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=484889fc85a223ef56edc31828b86751b2296b7c'/>
<id>urn:sha1:484889fc85a223ef56edc31828b86751b2296b7c</id>
<content type='text'>
The resume() implementation octeon_switch.S examines the saved cp0_status
register.  We were clobbering the entire pt_regs structure in kernel
threads leading to random crashes.

When switching away from a kernel thread, the saved cp0_status is examined
and if bit 30 is set it is cleared and the CP2 state saved into the pt_regs
structure.  Since the kernel thread stack overlaid the pt_regs structure
this resulted in a corrupt stack.  When the kthread with the corrupt stack
was resumed, it could crash if it used any of the data in the stack that was
clobbered.

We fix it by moving the kernel thread stack down so it doesn't overlay
pt_regs.

Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] IP27: Fix build errors if CONFIG_MAPPED_KERNEL=y</title>
<updated>2008-10-06T00:22:29Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2008-10-03T21:43:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=fd3d2764ee5aad862e51c21b8239561acdea8c2f'/>
<id>urn:sha1:fd3d2764ee5aad862e51c21b8239561acdea8c2f</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Fix loads of section missmatches</title>
<updated>2008-03-12T14:14:41Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2008-03-08T09:56:28Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=234fcd1484a66158b561b36b421547f0ab85fee9'/>
<id>urn:sha1:234fcd1484a66158b561b36b421547f0ab85fee9</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Fix build after b0rked changes to &lt;linux/init.h&gt;.</title>
<updated>2008-02-01T14:48:43Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2008-01-30T12:14:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a055917e1b4ad337c293205377277ffc78c69c57'/>
<id>urn:sha1:a055917e1b4ad337c293205377277ffc78c69c57</id>
<content type='text'>
Commit 312b1485fb509c9bc32eda28ad29537896658cb8 made __INIT_REFOK expand
into .section .section ".ref.text", "ax".  Since the assembler doesn't
tolerate stuttering in the source that broke all MIPS builds.

Since with this change Sam downgraded __INIT_REFOK the best fix is to
get replace it by the modern days operator.  With MIPS the only user
of __INIT_REFOK and __INITDATA_REFOK (which was equally broken) being
unused anyway these can be deleted but that's subject of a separate
commit.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Fix CONFIG_BOOT_RAW.</title>
<updated>2008-01-07T15:32:04Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2008-01-07T15:09:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ba820c5c51296343be202c9afb072b7b943099cb'/>
<id>urn:sha1:ba820c5c51296343be202c9afb072b7b943099cb</id>
<content type='text'>
This was broken by 017e3a492683b32d17dcd1b13b279745cc656073 (lmo) /
396a2ae08e5080b140330645743ab2567f6bc426 (kernel.org).

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Always do the ARC64_TWIDDLE_PC thing.</title>
<updated>2007-10-18T17:11:46Z</updated>
<author>
<name>Thomas Bogendoerfer</name>
<email>tsbogend@alpha.franken.de</email>
</author>
<published>2007-09-13T18:23:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=15ad838d281b3681d96e37cba8a628177da8f4ff'/>
<id>urn:sha1:15ad838d281b3681d96e37cba8a628177da8f4ff</id>
<content type='text'>
Always jump to the place where the kernel is linked to. This helps where
the bootloaders/proms ignores the start address inside the ELF header.

Signed-off-by: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Fix modpost warning in raw binary builds.</title>
<updated>2007-10-17T17:28:46Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2007-10-16T19:05:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=396a2ae08e5080b140330645743ab2567f6bc426'/>
<id>urn:sha1:396a2ae08e5080b140330645743ab2567f6bc426</id>
<content type='text'>
  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x478): Section mismatch: reference to .init.text:start_kernel (between '_stext' and 'run_init_process')

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Replace use of stext with _stext.</title>
<updated>2007-07-31T20:35:28Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2007-07-28T11:45:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e001e52801ffb2d8dae43f26bdf67df62d312d85'/>
<id>urn:sha1:e001e52801ffb2d8dae43f26bdf67df62d312d85</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] Fix marge error due to conflict in arch/mips/kernel/head.S</title>
<updated>2007-07-24T15:02:48Z</updated>
<author>
<name>Atsushi Nemoto</name>
<email>anemo@mba.ocn.ne.jp</email>
</author>
<published>2007-07-22T15:07:34Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cdcc9eb5e014a58aba047193a73a0de8b61b988d'/>
<id>urn:sha1:cdcc9eb5e014a58aba047193a73a0de8b61b988d</id>
<content type='text'>
__INIT directive just before kernel_entry was ignored for most platforms.
This patch fixes it and get rid of this warning:

WARNING: vmlinux.o(.text+0x478): Section mismatch: reference to .init.text:start_kernel (between '_stext' and 'run_init_process')

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>
</feed>
