android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jinjie Ruan b1a0c9e35a riscv: Fix fp alignment bug in perf_callchain_user()
[ Upstream commit 22ab08955ea13be04a8efd20cc30890e0afaa49c ]

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: dbeb90b0c1 ("riscv: Add perf callchain support")
Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
Cc: Björn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20240708032847.2998158-2-ruanjinjie@huawei.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-08 16:20:32 +01:00
..
alpha y2038: rusage: use __kernel_old_timeval 2024-03-15 10:48:18 -04:00
arc ARC: [plat-hsdk]: Remove misplaced interrupt-cells property 2024-05-02 16:18:33 +02:00
arm ARM: versatile: fix OF node leak in CPUs prepare 2024-11-08 16:20:28 +01:00
arm64 arm64: dts: rockchip: override BIOS_DISABLE signal via GPIO hog on RK3399 Puma 2024-11-08 16:20:24 +01:00
c6x
csky csky, hexagon: fix broken sys_sync_file_range 2024-07-05 09:08:31 +02:00
h8300
hexagon hexagon: fix fadvise64_64 calling conventions 2024-07-05 09:08:31 +02:00
ia64 arch, mm: remove stale mentions of DISCONIGMEM 2024-02-23 08:25:13 +01:00
m68k m68k: amiga: Turn off Warp1260 interrupts during boot 2024-08-19 05:33:36 +02:00
microblaze microblaze: don't treat zero reserved memory regions as error 2024-11-08 16:20:25 +01:00
mips MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later 2024-08-19 05:33:41 +02:00
nds32 arch, mm: remove stale mentions of DISCONIGMEM 2024-02-23 08:25:13 +01:00
nios2 nios2: dts: Fix tse_mac "max-frame-size" property 2023-06-21 15:44:10 +02:00
openrisc openrisc: Call setup_memory() earlier in the init sequence 2024-09-04 13:14:57 +02:00
parisc Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367" 2024-09-12 11:03:57 +02:00
powerpc powerpc/boot: Only free if realloc() succeeds 2024-09-04 13:14:56 +02:00
riscv riscv: Fix fp alignment bug in perf_callchain_user() 2024-11-08 16:20:32 +01:00
s390 s390/uv: Panic for set and remove shared access UVC errors 2024-09-04 13:14:51 +02:00
sh Revert "sh: Handle calling csum_partial with misaligned data" 2024-06-16 13:28:36 +02:00
sparc sparc64: Fix incorrect function signature and add prototype for prom_cif_init 2024-08-19 05:33:32 +02:00
um um: line: always fill *error_out in setup_one_line() 2024-09-12 11:03:53 +02:00
unicore32
x86 xen: use correct end address of kernel for conflict checking 2024-11-08 16:20:30 +01:00
xtensa arch, mm: remove stale mentions of DISCONIGMEM 2024-02-23 08:25:13 +01:00
.gitignore
Kconfig init: Provide arch_cpu_finalize_init() 2023-08-08 19:56:33 +02:00