[PATCH 2/2] vmcoreinfo: Include kallsyms symbols

2022-05-16 Thread Stephen Brennan
The internal kallsyms tables contain information which could be quite useful to a debugging tool in the absence of other debuginfo. If kallsyms is enabled, then a debugging tool could parse it and use it as a fallback symbol table. Combined with BTF data, live & post-mortem debuggers can support

[PATCH 1/2] kallsyms: Move declarations to internal header

2022-05-16 Thread Stephen Brennan
To include kallsyms data in the vmcoreinfo note, we must make the symbol declarations visible outside of kallsyms.c. Move these to a new internal header file. Signed-off-by: Stephen Brennan --- kernel/kallsyms.c | 23 +-- kernel/kallsyms_internal.h | 30

[PATCH 0/2] Expose kallsyms data in vmcoreinfo note

2022-05-16 Thread Stephen Brennan
The kernel can be configured to contain a lot of introspection or debugging information built-in, such as ORC for unwinding stack traces, BTF for type information, and of course kallsyms. Debuggers could use this information to navigate a core dump or live system, but they need to be able to find

Re: [PATCH] arm64: kdump: Do not allocate crash low memory if not needed

2022-05-16 Thread Catalin Marinas
On Wed, 11 May 2022 11:20:32 +0800, Zhen Lei wrote: > When "crashkernel=X,high" is specified, the specified "crashkernel=Y,low" > memory is not required in the following corner cases: > 1. If both CONFIG_ZONE_DMA and CONFIG_ZONE_DMA32 are disabled, it means >that the devices can access any

Re: [PATCH 24/30] panic: Refactor the panic path

2022-05-16 Thread Guilherme G. Piccoli
On 12/05/2022 11:03, Petr Mladek wrote: > Hello, > > first, I am sorry for stepping into the discussion so late. > I was busy with some other stuff and this patchset is far > from trivial. > > Second, thanks a lot for putting so much effort into it. > Most of the changes look pretty good,

Re: [PATCH 11/30] um: Improve panic notifiers consistency and ordering

2022-05-16 Thread Guilherme G. Piccoli
On 13/05/2022 11:44, Johannes Berg wrote: > [...] >> Maybe Anton / Johannes / Richard could give their opinions - appreciate >> that, I'm not attached to the priority here, it's more about users' >> common usage of UML I can think of... > > It's hard to say ... In a sense I'm not sure it matters?

Re: [PATCH 11/30] um: Improve panic notifiers consistency and ordering

2022-05-16 Thread Johannes Berg
On Wed, 2022-05-11 at 17:22 -0300, Guilherme G. Piccoli wrote: > On 10/05/2022 11:28, Petr Mladek wrote: > > [...] > > It is not clear to me why user mode linux should not care about > > the other notifiers. It might be because I do not know much > > about the user mode linux. > > > > Is the