Re: [PATCH] riscv: Always inline on_thread_stack()

From: Karl Mehltretter

Date: Sat Nov 28 2026 - 03:44:18 EST


On Mon, Oct 12, 2026 at 10:42:11PM +0100, Karl Mehltretter wrote:
> Mark the helper __always_inline to keep it in noinstr do_irq(), following
> commit 1894a4030582 ("x86: Always inline on_thread_stack() and
> current_top_of_stack()"), which fixed the same out-of-line call from x86
> noinstr code.
>
> Fixes: 163e76cc6ef4 ("riscv: stack: Support HAVE_IRQ_EXIT_ON_IRQ_STACK")
> Cc: stable@xxxxxxxxxxxxxxx
> Assisted-by: LLM
> Signed-off-by: Karl Mehltretter <kmehltretter@xxxxxxxxx>

Friendly ping on this patch. It has been reviewed by Jisheng Zhang.

Thanks,
Karl