[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a4d22c70-4443-f244-f39b-3948fb6aabd0@loongson.cn>
Date: Thu, 27 Nov 2025 09:32:57 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Huacai Chen <chenhuacai@...nel.org>
Cc: Jinyang He <hejinyang@...ngson.cn>, Xi Zhang <zhangxi@...inos.cn>,
Xianglai Li <lixianglai@...ngson.cn>, loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org, Bibo Mao <maobibo@...ngson.cn>
Subject: Re: [PATCH v1] LoongArch: Handle special PC in unwind_next_frame()
On 2025/11/26 下午5:27, Huacai Chen wrote:
> On Wed, Nov 26, 2025 at 5:09 PM Tiezhu Yang <yangtiezhu@...ngson.cn> wrote:
...
>> +#if IS_ENABLED(CONFIG_KVM)
>> +void (*get_kvm_entry_info)(unsigned long *old, unsigned long *new,
>> unsigned long *size);
>> +EXPORT_SYMBOL_GPL(get_kvm_entry_info);
>> +#endif
> Define in unwind.c then you don't need to duplicate it.
OK, makes sense.
>> unsigned long unwind_get_return_address(struct unwind_state *state)
...
>> +#if IS_ENABLED(CONFIG_KVM)
>> + unsigned long old, new, size;
> Define them in the if block, and you can consider removing all "#if
> IS_ENABLED(CONFIG_KVM)".
OK, will do it in the next version.
Thanks,
Tiezhu
Powered by blists - more mailing lists