<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/mips/kernel/kgdb.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>2009-06-24T17:34:39Z</updated>
<entry>
<title>MIPS: Build fix - include &lt;linux/smp.h&gt; into all smp_processor_id() users.</title>
<updated>2009-06-24T17:34:39Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2009-06-19T13:05:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=631330f5847b3f8a7ea67d689e9f7c56833ccaa6'/>
<id>urn:sha1:631330f5847b3f8a7ea67d689e9f7c56833ccaa6</id>
<content type='text'>
Some of the were relying into smp.h being dragged in by another header
which of course is fragile.  &lt;asm/cpu-info.h&gt; uses smp_processor_id()
only in macros and including smp.h there leads to an include loop, so
don't change cpu-info.h.

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>kgdb, x86, arm, mips, powerpc: ignore user space single stepping</title>
<updated>2008-09-26T15:36:41Z</updated>
<author>
<name>Jason Wessel</name>
</author>
<published>2008-09-26T15:36:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7161a65341556bacb5e6654e133803f46f51063'/>
<id>urn:sha1:d7161a65341556bacb5e6654e133803f46f51063</id>
<content type='text'>
On the x86 arch, user space single step exceptions should be ignored
if they occur in the kernel space, such as ptrace stepping through a
system call.

First check if it is kgdb that is executing a single step, then ensure
it is not an accidental traversal into the user space, while in kgdb,
any other time the TIF_SINGLESTEP is set, kgdb should ignore the
exception.

On x86, arm, mips and powerpc, the kgdb_contthread usage was
inconsistent with the way single stepping is implemented in the kgdb
core.  The arch specific stub should always set the
kgdb_cpu_doing_single_step correctly if it is single stepping.  This
allows kgdb to correctly process an instruction steps if ptrace
happens to be requesting an instruction step over a system call.

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
</content>
</entry>
<entry>
<title>[MIPS] kgdb: Do not call fixup_exception</title>
<updated>2008-08-26T08:10:26Z</updated>
<author>
<name>Atsushi Nemoto</name>
</author>
<published>2008-08-11T14:05:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b895760dfb9b7ab921b066141d618bc6877f5d4b'/>
<id>urn:sha1:b895760dfb9b7ab921b066141d618bc6877f5d4b</id>
<content type='text'>
kgdb_mips_notify is called on IBE/DBE/FPE/BP/TRAP/RI exception.  None
of them need fixup.  And doing fixup for a breakpoint exception will
confuse gdb.

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] kgdb: s/(void *)0)/NULL/</title>
<updated>2008-08-26T08:10:24Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2008-08-05T22:43:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9391d6bbedfd28c20531be75a3929c62bb43676e'/>
<id>urn:sha1:9391d6bbedfd28c20531be75a3929c62bb43676e</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] kgdb: smp_call_function's 3rd argument is a pointer.</title>
<updated>2008-08-26T08:10:23Z</updated>
<author>
<name>Ralf Baechle</name>
</author>
<published>2008-08-05T22:42:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e522b7ccd26a9774cac9379476ae3c6e005c88be'/>
<id>urn:sha1:e522b7ccd26a9774cac9379476ae3c6e005c88be</id>
<content type='text'>
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
<entry>
<title>[MIPS] kgdb: add arch support for the kernel's kgdb core</title>
<updated>2008-07-30T20:54:42Z</updated>
<author>
<name>Jason Wessel</name>
</author>
<published>2008-07-29T20:58:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8854700115ecf8aa6f087aa915b7b6cf18090d39'/>
<id>urn:sha1:8854700115ecf8aa6f087aa915b7b6cf18090d39</id>
<content type='text'>
The new kgdb architecture specific handler registers and unregisters
dynamically for exceptions depending on when you configure a kgdb I/O
driver.

Aside from initializing the exceptions earlier in the boot process,
kgdb should have no impact on a device when it is compiled in so long
as an I/O module is not configured for use.

There have been quite a number of contributors during the existence of
this patch (see arch/mips/kernel/kgdb.c).  Most recently Jason
re-wrote the mips kgdb logic to use the die notification handlers.

Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
</entry>
</feed>
