<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/mips/kernel, branch v2.6.33.11</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/mips/kernel?h=v2.6.33.11</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/mips/kernel?h=v2.6.33.11'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-02-10T21:15:46Z</updated>
<entry>
<title>MIPS: Don't probe reserved EntryHi bits.</title>
<updated>2010-02-10T21:15:46Z</updated>
<author>
<name>David Daney</name>
<email>ddaney@caviumnetworks.com</email>
</author>
<published>2010-02-08T20:27:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5b7efa898b357e6ebe4024c520e62024eb969b5f'/>
<id>urn:sha1:5b7efa898b357e6ebe4024c520e62024eb969b5f</id>
<content type='text'>
The patch that adds cpu_probe_vmbits is erroneously writing to reserved
bit 12.  Since we are really only probing high bits, don't write this bit
with a one.

Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
To: linux-mips@linux-mips.org
Cc: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Patchwork: http://patchwork.linux-mips.org/patch/949/
Acked-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Fixup of the r4k timer</title>
<updated>2010-02-10T21:15:42Z</updated>
<author>
<name>Wu Zhangjin</name>
<email>wuzhangjin@gmail.com</email>
</author>
<published>2010-02-01T09:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f4fc580bec5fb76560329c8c537b9b71d8d032b6'/>
<id>urn:sha1:f4fc580bec5fb76560329c8c537b9b71d8d032b6</id>
<content type='text'>
As reported by Maxime Bizon, the commit "MIPS: PowerTV: Fix support for
timer interrupts with &gt; 64 external IRQs" have broken the r4k timer
since it didn't initialize the cp0_compare_irq_shift variable used in
c0_compare_int_pending() on the architectures whose cpu_has_mips_r2 is
false.

This patch fixes it via initializing the cp0_compare_irq_shift as the
cp0_compare_irq used in the old c0_compare_int_pending().

Reported-by: Maxime Bizon &lt;mbizon@freebox.fr&gt;
Signed-off-by: Wu Zhangjin &lt;wuzhangjin@gmail.com&gt;
Cc: David VomLehn &lt;dvomlehn@cisco.com&gt;
Cc: mbizon@freebox.fr
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/922/
Tested-by: Shane McDonald &lt;mcdonald.shane@gmail.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus</title>
<updated>2010-02-02T20:45:33Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2010-02-02T20:45:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e770a0f1154193ca6b6e720a86aeaa2edc9261c6'/>
<id>urn:sha1:e770a0f1154193ca6b6e720a86aeaa2edc9261c6</id>
<content type='text'>
* 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus:
  MIPS: 64-bit: Detect virtual memory size
  MIPS: AR7: Fix USB slave mem range typo
  MIPS: Alchemy: Fix dbdma ring destruction memory debugcheck.
</content>
</entry>
<entry>
<title>MIPS: 64-bit: Detect virtual memory size</title>
<updated>2010-02-02T18:56:23Z</updated>
<author>
<name>Guenter Roeck</name>
<email>guenter.roeck@ericsson.com</email>
</author>
<published>2010-02-02T16:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=91dfc423cc8cfd399fb308a837102a7ab7fa067e'/>
<id>urn:sha1:91dfc423cc8cfd399fb308a837102a7ab7fa067e</id>
<content type='text'>
Linux kernel 2.6.32 and later allocate address space from the top of the
kernel virtual memory address space.

This patch implements virtual memory size detection for 64 bit MIPS CPUs
to avoid resulting crashes.

Signed-off-by: Guenter Roeck &lt;guenter.roeck@ericsson.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/935/
Reviewed-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: PowerTV: Fix support for timer interrupts with &gt; 64 external IRQs</title>
<updated>2010-01-27T23:03:31Z</updated>
<author>
<name>David VomLehn</name>
<email>dvomlehn@cisco.com</email>
</author>
<published>2009-12-22T01:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=010c108d7af708d9e09b83724a058a76803fbc66'/>
<id>urn:sha1:010c108d7af708d9e09b83724a058a76803fbc66</id>
<content type='text'>
The MIPS processor is limited to 64 external interrupt sources. Using a
greater number without IRQ sharing requires reading platform-specific
registers. On such platforms, reading the IntCtl register to determine
which interrupt corresponds to a timer interrupt will not work.

On MIPSR2 systems there is a solution - the TI bit in the Cause register,
specifically indicates that a timer interrupt has occured. This patch uses
that bit to detect interrupts for MIPSR2 processors, which may be expected
to work regardless of how the timer interrupt may be routed in the hardware.

Signed-off-by: David VomLehn (dvomlehn@cisco.com)
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/804/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Cleanup random differences beween lmo and Linus' kernel.</title>
<updated>2009-12-17T01:57:36Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2009-12-17T01:57:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cf72e9470dc071c395f7895b5cb9418dca27d07d'/>
<id>urn:sha1:cf72e9470dc071c395f7895b5cb9418dca27d07d</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Fix and enhance built-in kernel command line</title>
<updated>2009-12-17T01:57:35Z</updated>
<author>
<name>Dmitri Vorobiev</name>
<email>dmitri.vorobiev@movial.com</email>
</author>
<published>2009-11-21T20:34:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6acc7d485c24c00e111c61b2e6dff9180faebcae'/>
<id>urn:sha1:6acc7d485c24c00e111c61b2e6dff9180faebcae</id>
<content type='text'>
Currently, MIPS kernels silently overwrite kernel command-line parameters
hardcoded in CONFIG_CMDLINE by the ones received from firmware.  Therefore,
using firmware remains the only reliable method to transfer the
command-line parameters, which is not always desirable or convenient, and
the CONFIG_CMDLINE option is thereby effectively rendered useless.

This patch fixes the problem described above and introduces a more flexible
scheme of handling the kernel command line, in a manner identical to what is
currently used for x86.  The default behavior, i.e. when CONFIG_CMDLINE_BOOL
is not defined, retains the existing semantics, and firmware command-line
arguments override the hardcoded ones.

[Ralf: I fixed up all the defconfig files so the stay unaffected by this
change.]

Signed-off-by: Dmitri Vorobiev &lt;dmitri.vorobiev@movial.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/689/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Cleanup signal code initialization</title>
<updated>2009-12-17T01:57:32Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2009-11-24T19:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=137f6f3e284e8215a940cf20dbf2aef449fe5a60'/>
<id>urn:sha1:137f6f3e284e8215a940cf20dbf2aef449fe5a60</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/709/
</content>
</entry>
<entry>
<title>MIPS: Modularize COP2 handling</title>
<updated>2009-12-17T01:57:30Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2009-11-24T01:24:58Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=69f3a7de1f1ec935924b1b13f83812f8b30e92ce'/>
<id>urn:sha1:69f3a7de1f1ec935924b1b13f83812f8b30e92ce</id>
<content type='text'>
Away with the daemons of ifdef; get ready for future COP2 users.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/708/
</content>
</entry>
<entry>
<title>MIPS: Tracing: Make function graph tracer work with -mmcount-ra-address</title>
<updated>2009-12-17T01:57:27Z</updated>
<author>
<name>Wu Zhangjin</name>
<email>wuzhangjin@gmail.com</email>
</author>
<published>2009-11-20T12:34:38Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7326c4e567b50e689d13c04d58aeffa515277ebb'/>
<id>urn:sha1:7326c4e567b50e689d13c04d58aeffa515277ebb</id>
<content type='text'>
That thread "MIPS: Add option to pass return address location to
_mcount" from "David Daney &lt;ddaney@caviumnetworks.com&gt;" have added a new
option -mmcount-ra-address to gcc(4.5) for MIPS to transfer the location
of the return address to _mcount.

Benefit from this new feature, function graph tracer on MIPS will be
easier and safer to hijack the return address of the kernel function,
which will save some overhead and make the whole thing more reliable.

In this patch, at first, try to enable the option -mmcount-ra-address in
arch/mips/Makefile with cc-option, if gcc support it, it will be
enabled, otherwise, no side effect.

and then, we need to support this new option of gcc 4.5 and also support
the old gcc versions.

with _mcount in the old gcc versions, it's not easy to get the location
of return address(tracing: add function graph tracer support for MIPS),
   so, we do it in a C function: ftrace_get_parent_addr(ftrace.c), but
   with -mmcount-ra-address, only several instructions need to get what
   we want, so, I put into asm(mcount.S). and also, as the $12(t0) is
   used by -mmcount-ra-address for transferring the localtion of return
   address to _mcount, we need to save it into the stack and restore it
   when enabled dynamic function tracer, 'Cause we have called
   "ftrace_call" before "ftrace_graph_caller", which may destroy
   $12(t0).

(Thanks to David for providing that -mcount-ra-address and giving the
 idea of KBUILD_MCOUNT_RA_ADDRESS, both of them have made the whole
 thing more beautiful!)

Signed-off-by: Wu Zhangjin &lt;wuzhangjin@gmail.com&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Nicholas Mc Guire &lt;der.herr@hofr.at&gt;
Cc: zhangfx@lemote.com
Cc: Wu Zhangjin &lt;wuzhangjin@gmail.com&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/681/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
