Hi, I've sprinkled some stack pointer printouts and its seems like (as suspected) the kernel stack pointer is not 16-byte aligned, at least not in kernel-mode. Example printouts: SP: fffffc00059dfc08 SP: fffffc00059dfe48 SP: fffffc00059dfc08 I found some ML threads that seemed relevant one on stack alignment in NetBSD-alpha after changes in GCC and one on x86_64 with linux/gcc https://mail-index.netbsd.org/port-alpha/2021/07/05/msg001145.html https://patchwork.kernel.org/project/linux-crypto/patch/20170110143340.GA3787@xxxxxxxxxxxxxxxxxxx/ /Magnus On Mon, Jan 13, 2025 at 6:59 AM Magnus Lindholm <linmag7@xxxxxxxxx> wrote: > > > Can you please retrieve the value of SP in `smp_call_function_single'? > > Just something such as: > > > > printk("SP: %016lx\n", __builtin_frame_address(0)); > > > > > I will check! > > Also wondering if this may be relevant? > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16660