<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/powerpc/kernel/kgdb.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-01-15T02:46:44Z</updated>
<entry>
<title>powerpc: Delete non-required instances of include &lt;linux/init.h&gt;</title>
<updated>2014-01-15T02:46:44Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2014-01-09T05:44:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c141611fb1ee2cfc374cf9be5327e97f361c4bed'/>
<id>urn:sha1:c141611fb1ee2cfc374cf9be5327e97f361c4bed</id>
<content type='text'>
None of these files are actually using any __init type directives
and hence don't need to include &lt;linux/init.h&gt;.  Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.

The one instance where we add an include for init.h covers off
a case where that file was implicitly getting it from another
header which itself didn't need it.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/kgdb: use DEFINE_PER_CPU to allocate kgdb's thread_info</title>
<updated>2013-10-18T23:38:10Z</updated>
<author>
<name>Tiejun Chen</name>
</author>
<published>2013-06-20T10:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8258e268c15a29c09d7c88d91a948bdf729433d8'/>
<id>urn:sha1:8258e268c15a29c09d7c88d91a948bdf729433d8</id>
<content type='text'>
Use DEFINE_PER_CPU to allocate thread_info statically instead of kmalloc().
This can avoid introducing more memory check codes.

Signed-off-by: Tiejun Chen &lt;tiejun.chen@windriver.com&gt;
[scottwood@freescale.com: wrapped long line]
Signed-off-by: Scott Wood &lt;scottwood@freescale.com&gt;
</content>
</entry>
<entry>
<title>powerpc/kgdb: Removed kmalloc returned value cast</title>
<updated>2013-04-18T03:03:56Z</updated>
<author>
<name>Alex Grad</name>
</author>
<published>2013-03-10T03:06:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c0b52c143ee46c5922b5aa5c48c00145b5296441'/>
<id>urn:sha1:c0b52c143ee46c5922b5aa5c48c00145b5296441</id>
<content type='text'>
Signed-off-by: Alex Grad &lt;alex.grad@gmail.com&gt;
Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
</content>
</entry>
<entry>
<title>Merge branch 'merge' into next</title>
<updated>2013-01-29T00:33:37Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
</author>
<published>2013-01-29T00:33:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dfd0436ad0ce139467b124c646fa65ee2635e14a'/>
<id>urn:sha1:dfd0436ad0ce139467b124c646fa65ee2635e14a</id>
<content type='text'>
Merge "merge" branch to bring in various bug fixes that are
going into 3.8
</content>
</entry>
<entry>
<title>powerpc: kernel/kgdb.c: Fix memory leakage</title>
<updated>2013-01-28T23:18:15Z</updated>
<author>
<name>Cong Ding</name>
</author>
<published>2013-01-14T07:26:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fefd9e6f8860249b2c284d89cb2e51fa71a9503a'/>
<id>urn:sha1:fefd9e6f8860249b2c284d89cb2e51fa71a9503a</id>
<content type='text'>
the variable backup_current_thread_info isn't freed before existing the
function.

Signed-off-by: Cong Ding &lt;dinggnu@gmail.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Fix typo in breakpoint kgdb code.</title>
<updated>2013-01-15T18:25:46Z</updated>
<author>
<name>Michael Neuling</name>
</author>
<published>2013-01-10T16:11:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fa5924640341f714af7757194d5da7ecd66abe2b'/>
<id>urn:sha1:fa5924640341f714af7757194d5da7ecd66abe2b</id>
<content type='text'>
Currently we are getting:
 arch/powerpc/kernel/kgdb.c: In function 'kgdb_arch_exit':
 arch/powerpc/kernel/kgdb.c:492:2: error: '__debugger_breakx_match' undeclared (first use in this function)
 arch/powerpc/kernel/kgdb.c:492:2: note: each undeclared identifier is reported only once for each function it appears in

Fix the typo.

Signed-off-by: Michael Neuling &lt;mikey@neuling.org&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Hardware breakpoints rewrite to handle non DABR breakpoint registers</title>
<updated>2013-01-10T06:01:44Z</updated>
<author>
<name>Michael Neuling</name>
</author>
<published>2012-12-20T14:06:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9422de3e953d0e60eb95f5430a9dd803eec1c6d7'/>
<id>urn:sha1:9422de3e953d0e60eb95f5430a9dd803eec1c6d7</id>
<content type='text'>
This is a rewrite so that we don't assume we are using the DABR throughout the
code.  We now use the arch_hw_breakpoint to store the breakpoint in a generic
manner in the thread_struct, rather than storing the raw DABR value.

The ptrace GET/SET_DEBUGREG interface currently passes the raw DABR in from
userspace.  We keep this functionality, so that future changes (like the POWER8
DAWR), will still fake the DABR to userspace.

Signed-off-by: Michael Neuling &lt;mikey@neuling.org&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/kgdb: Restore current_thread_info properly</title>
<updated>2012-08-24T10:26:06Z</updated>
<author>
<name>Tiejun Chen</name>
</author>
<published>2012-08-22T16:10:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5f630401f9e98bd062733b5bbef096dbf2158066'/>
<id>urn:sha1:5f630401f9e98bd062733b5bbef096dbf2158066</id>
<content type='text'>
For powerpc BooKE and e200, singlestep is handled on the critical/dbg
exception stack. This causes current_thread_info() to fail for kgdb
internal, so previously We work around this issue by copying
the thread_info from the kernel stack before calling kgdb_handle_exception,
and copying it back afterwards.

But actually we don't do this properly. We should backup current_thread_info
then restore that when exit.

Signed-off-by: Tiejun Chen &lt;tiejun.chen@windriver.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/kgdb: Bail out of KGDB when we've been triggered</title>
<updated>2012-08-24T10:26:05Z</updated>
<author>
<name>Tiejun Chen</name>
</author>
<published>2012-08-22T16:10:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=949616cf2d3095d1bb6b3d155c1cc963abd98b5c'/>
<id>urn:sha1:949616cf2d3095d1bb6b3d155c1cc963abd98b5c</id>
<content type='text'>
We need to skip a breakpoint exception when it occurs after
a breakpoint has already been removed.

Signed-off-by: Tiejun Chen &lt;tiejun.chen@windriver.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/kgdb: Do not set kgdb_single_step on ppc</title>
<updated>2012-08-24T10:26:05Z</updated>
<author>
<name>Tiejun Chen</name>
</author>
<published>2012-08-22T16:10:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=572b411cb4f1b208bb8ea278752f956b3554371e'/>
<id>urn:sha1:572b411cb4f1b208bb8ea278752f956b3554371e</id>
<content type='text'>
The kgdb_single_step flag has the possibility to indefinitely
hang the system on an SMP system.

The x86 arch have the same problem, and that problem was fixed by
commit 8097551d9ab9b9e3630(kgdb,x86: do not set kgdb_single_step
on x86). This patch does the same behaviors as x86's patch.

Signed-off-by: Dongdong Deng &lt;dongdong.deng@windriver.com&gt;
Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
</feed>
