diff options
author | Jinjie Ruan <[email protected]> | 2024-07-08 11:28:46 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-09-14 23:57:15 -0700 |
commit | 22ab08955ea13be04a8efd20cc30890e0afaa49c (patch) | |
tree | 9089824839f440ba8cea0d3210607f538e3da2a7 /scripts/generate_rust_analyzer.py | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
riscv: Fix fp alignment bug in perf_callchain_user()
The standard RISC-V calling convention said:
"The stack grows downward and the stack pointer is always
kept 16-byte aligned".
So perf_callchain_user() should check whether 16-byte aligned for fp.
Link: https://riscv.org/wp-content/uploads/2015/01/riscv-calling.pdf
Fixes: dbeb90b0c1eb ("riscv: Add perf callchain support")
Signed-off-by: Jinjie Ruan <[email protected]>
Cc: Björn Töpel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions