<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/riscv/kernel/stacktrace.c, branch linux-4.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2020-06-03T06:19:30Z</updated>
<entry>
<title>riscv: stacktrace: Fix undefined reference to `walk_stackframe'</title>
<updated>2020-06-03T06:19:30Z</updated>
<author>
<name>Kefeng Wang</name>
</author>
<published>2020-05-11T02:19:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8b14d3efedb20c12e0fe9e3c43bb06f95e173c1e'/>
<id>urn:sha1:8b14d3efedb20c12e0fe9e3c43bb06f95e173c1e</id>
<content type='text'>
[ Upstream commit 0502bee37cdef755d63eee60236562e5605e2480 ]

Drop static declaration to fix following build error if FRAME_POINTER disabled,
  riscv64-linux-ld: arch/riscv/kernel/perf_callchain.o: in function `.L0':
  perf_callchain.c:(.text+0x2b8): undefined reference to `walk_stackframe'

Reported-by: Hulk Robot &lt;hulkci@huawei.com&gt;
Signed-off-by: Kefeng Wang &lt;wangkefeng.wang@huawei.com&gt;
Signed-off-by: Palmer Dabbelt &lt;palmerdabbelt@google.com&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>riscv/ftrace: Add HAVE_FUNCTION_GRAPH_RET_ADDR_PTR support</title>
<updated>2018-04-03T02:59:13Z</updated>
<author>
<name>Alan Kao</name>
</author>
<published>2018-02-13T05:13:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b785ec129bd9498ecd6e221e45820b00c6ed4adf'/>
<id>urn:sha1:b785ec129bd9498ecd6e221e45820b00c6ed4adf</id>
<content type='text'>
In walk_stackframe, the pc now receives the address from calling
ftrace_graph_ret_addr instead of manual calculation.

Note that the original calculation,
        pc = frame-&gt;ra - 4
is buggy when the instruction at the return address happened to be a
compressed inst. But since it is not a critical part of ftrace, it is
ignored for now to ease the review process.

Cc: Greentime Hu &lt;greentime@andestech.com&gt;
Signed-off-by: Alan Kao &lt;alankao@andestech.com&gt;
Signed-off-by: Palmer Dabbelt &lt;palmer@sifive.com&gt;
</content>
</entry>
<entry>
<title>RISC-V: Generic library routines and assembly</title>
<updated>2017-09-26T22:26:45Z</updated>
<author>
<name>Palmer Dabbelt</name>
</author>
<published>2017-07-11T01:03:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5d8544e2d0075a5f3c9a2cf27152354d54360da1'/>
<id>urn:sha1:5d8544e2d0075a5f3c9a2cf27152354d54360da1</id>
<content type='text'>
This patch contains code that is more specific to the RISC-V ISA than it
is to Linux.  It contains string and math operations, C wrappers for
various assembly instructions, stack walking code, and uaccess.

Signed-off-by: Palmer Dabbelt &lt;palmer@dabbelt.com&gt;
</content>
</entry>
</feed>
