Re: [PATCH 0/8] unwind, arm64: add sframe unwinder for kernel

2025-02-14 Thread Indu Bhagat
On 2/14/25 9:39 AM, Indu Bhagat wrote: On 2/13/25 11:57 PM, Puranjay Mohan wrote: Indu Bhagat writes: On 2/12/25 11:25 PM, Song Liu wrote: On Wed, Feb 12, 2025 at 6:45 PM Josh Poimboeuf wrote: On Wed, Feb 12, 2025 at 06:36:04PM -0800, Song Liu wrote: [   81.261748]  copy_process+0xfdc

Re: [PATCH 0/8] unwind, arm64: add sframe unwinder for kernel

2025-02-14 Thread Indu Bhagat
On 2/13/25 11:57 PM, Puranjay Mohan wrote: Indu Bhagat writes: On 2/12/25 11:25 PM, Song Liu wrote: On Wed, Feb 12, 2025 at 6:45 PM Josh Poimboeuf wrote: On Wed, Feb 12, 2025 at 06:36:04PM -0800, Song Liu wrote: [ 81.261748] copy_process+0xfdc/0xfd58 [livepatch_special_static] Does

Re: [PATCH 0/8] unwind, arm64: add sframe unwinder for kernel

2025-02-13 Thread Indu Bhagat
On 2/12/25 11:25 PM, Song Liu wrote: On Wed, Feb 12, 2025 at 6:45 PM Josh Poimboeuf wrote: On Wed, Feb 12, 2025 at 06:36:04PM -0800, Song Liu wrote: [ 81.261748] copy_process+0xfdc/0xfd58 [livepatch_special_static] Does that copy_process+0xfdc/0xfd58 resolve to this line in copy_process(

Re: [PATCH 0/8] unwind, arm64: add sframe unwinder for kernel

2025-02-12 Thread Indu Bhagat
On 2/12/25 3:32 PM, Song Liu wrote: I run some tests with this set and my RFC set [1]. Most of the test is done with kpatch-build. I tested both Puranjay's version [3] and my version [4]. For gcc 14.2.1, I have seen the following issue with this test [2]. This happens with both upstream and 6.13

Re: [PATCH 1/8] unwind: build kernel with sframe info

2025-02-04 Thread Indu Bhagat
On 1/27/25 1:33 PM, Weinan Liu wrote: Use the -Wa,--gsframe flags to build the code, so GAS will generate a new .sframe section for the stack trace information. Currently, the sframe format only supports arm64 and x86_64 architectures. Add this configuration on arm64 to enable sframe unwinder in

Re: [PATCH 0/8] unwind, arm64: add sframe unwinder for kernel

2025-01-28 Thread Indu Bhagat
On 1/27/25 1:33 PM, Weinan Liu wrote: This patchset implements a generic kernel sframe-based [1] unwinder. The main goal is to support reliable stacktraces on arm64. On x86 orc unwinder provides reliable stacktraces. But arm64 misses the required support from objtool: it cannot generate orc unwi