Re: [PATCH v1] LoongArch: Handle special PC in unwind_next_frame()
From: Bibo Mao
Date: Wed Nov 26 2025 - 22:01:07 EST
On 2025/11/27 上午10:53, Jinyang He wrote:
On 2025-11-27 09:53, Bibo Mao wrote:I am not familiar with x86 and ORC also. So can ORC unwind handle copied text also? If not, why not disable text copy or provide general API to handle this.
I'm not familiar with x86. Does it also copies exception handler to
Just be curious, it is the same orc unwind method. why is clean with file arch/x86/kernel/unwind_orc.c, however there is special handling bt_address() in file arch/loongarch/kernel/unwind_orc.c ?
other address like LoongArch? When backtrace to the copied exception
handler, its ORC info is not collected. The bt_address finds a
shadow PC to get the right ORC info and go on.
Regards
Bibo Mao
Thanks,
Jinyang