Re: [PATCH v3 2/5] LoongArch: BPF: Add support for exceptions

From: Tiezhu Yang

Date: Mon Nov 30 2026 - 06:28:11 EST


On 11/26/26 11:40 AM, George Guo wrote:
From: George Guo <guodongtai@xxxxxxxxxx>

In order to implement JIT support for BPF exceptions, bpf_throw() needs
to find the frame of the exception boundary program by walking the
stack, and then call the exception callback with the stack pointer and
frame pointer of that frame.

Please reply to the Sashiko AI review comments:
https://lore.kernel.org/bpf/sashiko-outbox-234712@xxxxxxxxxx/

Thanks,
Tiezhu