<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-next.git/arch/csky/kernel/dumpstack.c, branch master</title>
<subtitle>Linux kernel latest source</subtitle>
<id>http://mirrors.hust.edu.cn/git/linux-next.git/atom?h=master</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/linux-next.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/'/>
<updated>2020-05-13T09:55:06+00:00</updated>
<entry>
<title>csky: Fixup calltrace panic</title>
<updated>2020-05-13T09:55:06+00:00</updated>
<author>
<name>Guo Ren</name>
<email>guoren@linux.alibaba.com</email>
</author>
<published>2020-05-13T07:15:25+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=18c07d23da5a48525b2955aa269b8bb108c19300'/>
<id>urn:sha1:18c07d23da5a48525b2955aa269b8bb108c19300</id>
<content type='text'>
The implementation of show_stack will panic with wrong fp:

addr    = *fp++;

because the fp isn't checked properly.

The current implementations of show_stack, wchan and stack_trace
haven't been designed properly, so just deprecate them.

This patch is a reference to riscv's way, all codes are modified from
arm's. The patch is passed with:

 - cat /proc/&lt;pid&gt;/stack
 - cat /proc/&lt;pid&gt;/wchan
 - echo c &gt; /proc/sysrq-trigger

Signed-off-by: Guo Ren &lt;guoren@linux.alibaba.com&gt;
</content>
</entry>
<entry>
<title>csky: Fixup dead loop in show_stack</title>
<updated>2019-02-13T01:48:14+00:00</updated>
<author>
<name>Guo Ren</name>
<email>ren_guo@c-sky.com</email>
</author>
<published>2019-01-31T06:34:37+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=131aee8b9807bc98379fa5a0270389dbc7dcec90'/>
<id>urn:sha1:131aee8b9807bc98379fa5a0270389dbc7dcec90</id>
<content type='text'>
When STACKTRACE is enabled, we must pass fp as stack for unwind,
otherwise random value in stack will casue a dead loop.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Reported-by: Lu Baoquan &lt;lu.baoquan@intellif.com&gt;
</content>
</entry>
<entry>
<title>csky: optimize kernel panic print.</title>
<updated>2018-12-31T15:15:38+00:00</updated>
<author>
<name>Guo Ren</name>
<email>ren_guo@c-sky.com</email>
</author>
<published>2018-12-09T09:07:20+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=8f4f1639a19db231e4579612dbc6d147e8d07ffd'/>
<id>urn:sha1:8f4f1639a19db231e4579612dbc6d147e8d07ffd</id>
<content type='text'>
Use STACKTRACE to optimize panic print more pretty and align registers
printing.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
</content>
</entry>
<entry>
<title>csky: Debug and Ptrace GDB</title>
<updated>2018-10-25T16:54:25+00:00</updated>
<author>
<name>Guo Ren</name>
<email>ren_guo@c-sky.com</email>
</author>
<published>2018-09-05T06:25:19+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=2ce36bfa6a0904524baed699ad78706e50295f84'/>
<id>urn:sha1:2ce36bfa6a0904524baed699ad78706e50295f84</id>
<content type='text'>
This patch adds arch ptrace implementation, stack dump and bug.h.

Signed-off-by: Guo Ren &lt;ren_guo@c-sky.com&gt;
Reviewed-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
</content>
</entry>
</feed>
