<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/mips/kernel/traps.c, branch linux-2.6.34.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.34.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-04-30T19:52:48Z</updated>
<entry>
<title>MIPS: Use CKSEG1ADDR for uncached handler</title>
<updated>2010-04-30T19:52:48Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2010-04-27T20:53:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f81b01a30ffb338068d611e27da18c08db55464'/>
<id>urn:sha1:4f81b01a30ffb338068d611e27da18c08db55464</id>
<content type='text'>
"MIPS: Calculate proper ebase value for 64-bit kernels"
9af43ea080dd5d6c7b34f38261780e5dd43537bc (lmo) rsp.
f6be75d03c8870be91e6e2a195648ece04b6bb16 (kernel.org) broke some 64-bit
MIPS systems.

Before this we were using XKPHYS/cached as ebase and computed the uncached
xphsys/unchached address for that area. After that commit ebase became a
32-bit compat address and convert does not work anymore.  We now should use
CKSEG1 for this. CKSEG1ADDR does just that in 32-bit and 64-bit.

Signed-off-by: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/1149/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: die() does not call die notifier chain</title>
<updated>2010-04-30T19:52:45Z</updated>
<author>
<name>Yury Polyanskiy</name>
</author>
<published>2010-04-26T04:53:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce384d83d00ee457c3931d3fdb9fa2c38e345a3c'/>
<id>urn:sha1:ce384d83d00ee457c3931d3fdb9fa2c38e345a3c</id>
<content type='text'>
The MIPS implementation of die() forgets to call notify_die() and thus notifiers
registered via register_die_notifier() are not called.  This results in kgdb not
being activated on exceptions.

The only subtlety is that notify_die declares its regs argument w/o const, so
the const had to be removed from mips die() as well.

[Ralf: Fixed build error for SGI IP22 and IP28 platforms.]

Signed-off-by: Yury Polyanskiy &lt;ypolyans@princeton.edu&gt;
Cc: linux-mips@linux-mips.org
Patchworks: http://patchwork.linux-mips.org/patch/1142/
Acked-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;

---
</content>
</entry>
<entry>
<title>MIPS: Calculate proper ebase value for 64-bit kernels</title>
<updated>2010-04-12T16:26:22Z</updated>
<author>
<name>David Daney</name>
</author>
<published>2010-04-06T20:29:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f6be75d03c8870be91e6e2a195648ece04b6bb16'/>
<id>urn:sha1:f6be75d03c8870be91e6e2a195648ece04b6bb16</id>
<content type='text'>
The ebase is relative to CKSEG0 not CAC_BASE.  On a 32-bit kernel they
are the same thing, for a 64-bit kernel they are not.

It happens to kind of work on a 64-bit kernel as they both reference
the same physical memory.  However since the CPU uses the CKSEG0 base,
determining if a J instruction will reach always gives the wrong result
unless we use the same number the CPU uses.

Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/1093/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Deal with larger physical offsets</title>
<updated>2010-02-27T11:53:19Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2010-01-28T14:22:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=92bbe1b988d3d6fa6348e3e376ff6d27e0712147'/>
<id>urn:sha1:92bbe1b988d3d6fa6348e3e376ff6d27e0712147</id>
<content type='text'>
AR7 has a larger physical offset than other MIPS based systems and therefore
needs to setup its handlers beyond the usual KSEG0 range. When running the
kernel in mapped mode this modification is also required. Remove function
comment which is now incorrect.

Signed-off-by: David Daney &lt;ddaney@caviumnetworks.com&gt;
Signed-off-by: Eugene Konev &lt;ejka@imfi.kspu.ru&gt;
Signed-off-by: Florian Fainelli &lt;florian@openwrt.org&gt;
To: linux-mips@linux-mips.org
To: Thomas Bogendoerfer &lt;tsbogend@alpha.franken.de&gt;
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/889/
Patchwork: http://patchwork.linux-mips.org/patch/932/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Annotate set_except_vector with __init</title>
<updated>2010-02-27T11:53:19Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2010-01-28T14:21:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2d1b6e95515d63030b6e002125799f2aa52a9d27'/>
<id>urn:sha1:2d1b6e95515d63030b6e002125799f2aa52a9d27</id>
<content type='text'>
All call sites of set_except_vector are already annotated with __init, so
annotate that one too.

Signed-off-by: Regards, Florian Fainelli &lt;florian@openwrt.org&gt;
To: linux-mips@linux-mips.org
To: David Daney &lt;ddaney@caviumnetworks.com&gt;
Patchwork: http://patchwork.linux-mips.org/patch/888/
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>
</author>
<published>2010-02-01T09:10:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>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>
</author>
<published>2009-12-22T01:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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 signal code initialization</title>
<updated>2009-12-17T01:57:32Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2009-11-24T19:35:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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>
</author>
<published>2009-11-24T01:24:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/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: Rewrite sysmips(MIPS_ATOMIC_SET, ...) in C with inline assembler</title>
<updated>2009-09-17T18:07:49Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2009-09-17T00:25:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f1e39a4a616cd9981a9decfd5332fd07a01abb8b'/>
<id>urn:sha1:f1e39a4a616cd9981a9decfd5332fd07a01abb8b</id>
<content type='text'>
This way it doesn't have to use CONFIG_CPU_HAS_LLSC anymore.

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