[PATCH kexec-tools] github: add RISC-V to workflow

2022-10-21 Thread Simon Horman
Add RISC-V builds to workflow Signed-off-by: Simon Horman --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) Hi Xianting Tian, Please consider including this a v3 patch-set to add RISC-V to kexec-tools. diff --git a/.github/workflows/build.yml

[PATCH] workflow: update to checkout@v3

2022-10-21 Thread Simon Horman
Use to checkout@v3 instead of checkout@v2 as the latter uses Node.js 12 actions which are deprecated. https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/ Signed-off-by: Simon Horman --- .github/workflows/build.yml | 2 +- 1 file

Re: [PATCH V2] RISC-V: Add support for riscv kexec/kdump on kexec-tools

2022-10-21 Thread Simon Horman
On Thu, Oct 20, 2022 at 11:15:48AM +0800, Xianting Tian wrote: > From: Nick Kossifidis > > This patch adds support for loading the ELF kernel image. It parses > the current/provided device tree to determine the system's memory > layout, and /proc/iomem for the various kernel segments. > > This

RE: [PATCH V3 10/11] drivers/hv/vmbus, video/hyperv_fb: Untangle and refactor Hyper-V panic notifiers

2022-10-21 Thread Michael Kelley (LINUX)
From: Guilherme G. Piccoli Sent: Tuesday, October 4, 2022 10:20 AM > > On 04/10/2022 13:24, Michael Kelley (LINUX) wrote: > > [...] > > > > Tested this patch in combination with Patch 9 in this series. Verified > > that both the panic and die paths work correctly with notification to > >

Re: [PATCH V2 2/2] Documentation: kdump: describe VMCOREINFO export for RISCV64

2022-10-21 Thread Bagas Sanjaya
On Fri, Oct 14, 2022 at 09:41:39PM +0800, Xianting Tian wrote: > The following interrelated definitions and ranges are needed by the kdump > crash tool, they are exported by "arch/riscv/kernel/crash_core.c": Better say "..., which are exported by ..." > diff --git

Re: [PATCH V3 06/11] tracing: Improve panic/die notifiers

2022-10-21 Thread Guilherme G. Piccoli
On 20/10/2022 18:29, Steven Rostedt wrote: > [...] > Sorry for the late reply. > > Acked-by: Steven Rostedt (Google) > > -- Steve No need for apologies! Appreciate your review/ack =) Could you pick it in your tree? Or do you prefer that I re-send as a solo patch, with your ACK? Cheers,

Re: [PATCH V3 06/11] tracing: Improve panic/die notifiers

2022-10-21 Thread Guilherme G. Piccoli
On 20/10/2022 19:22, Steven Rostedt wrote: > On Thu, 20 Oct 2022 18:53:43 -0300 > "Guilherme G. Piccoli" wrote: > >> Could you pick it in your tree? Or do you prefer that I re-send as a >> solo patch, with your ACK? > > I wasn't sure there were any dependencies on this. If not, I can take it. >

Re: [PATCH V3 01/11] ARM: Disable FIQs (but not IRQs) on CPUs shutdown paths

2022-10-21 Thread Guilherme G. Piccoli
On 17/10/2022 14:47, Russell King (Oracle) wrote: > On Mon, Oct 17, 2022 at 11:50:05AM -0300, Guilherme G. Piccoli wrote: >> On 17/10/2022 11:17, Russell King (Oracle) wrote: >>> [...] Monthly ping - let me know if there's something I should improve in order this fix is considered! >>>

[PATCH V2] RISC-V: Add support for riscv kexec/kdump on kexec-tools

2022-10-21 Thread Xianting Tian
From: Nick Kossifidis This patch adds support for loading the ELF kernel image. It parses the current/provided device tree to determine the system's memory layout, and /proc/iomem for the various kernel segments. This patch was firstly developed by Nick Kossifidis, and two fixes ( 1: fail to

Re: [PATCH V3 06/11] tracing: Improve panic/die notifiers

2022-10-21 Thread Steven Rostedt
On Thu, 20 Oct 2022 18:53:43 -0300 "Guilherme G. Piccoli" wrote: > Could you pick it in your tree? Or do you prefer that I re-send as a > solo patch, with your ACK? I wasn't sure there were any dependencies on this. If not, I can take it. -- Steve

Re: [PATCH V3 07/11] notifiers: Add tracepoints to the notifiers infrastructure

2022-10-21 Thread Guilherme G. Piccoli
On 19/08/2022 19:17, Guilherme G. Piccoli wrote: > Currently there is no way to show the callback names for registered, > unregistered or executed notifiers. This is very useful for debug > purposes, hence add this functionality here in the form of notifiers' > tracepoints, one per operation. > >

Re: [PATCH V3 01/11] ARM: Disable FIQs (but not IRQs) on CPUs shutdown paths

2022-10-21 Thread Russell King (Oracle)
On Mon, Oct 17, 2022 at 11:50:05AM -0300, Guilherme G. Piccoli wrote: > On 17/10/2022 11:17, Russell King (Oracle) wrote: > > [...] > >> Monthly ping - let me know if there's something I should improve in > >> order this fix is considered! > > > > Patches don't get applied unless they end up in

Re: [PATCH V3 01/11] ARM: Disable FIQs (but not IRQs) on CPUs shutdown paths

2022-10-21 Thread Russell King (Oracle)
On Mon, Oct 17, 2022 at 11:00:46AM -0300, Guilherme G. Piccoli wrote: > On 18/09/2022 10:58, Guilherme G. Piccoli wrote: > > On 19/08/2022 19:17, Guilherme G. Piccoli wrote: > >> Currently the regular CPU shutdown path for ARM disables IRQs/FIQs > >> in the secondary CPUs - smp_send_stop() calls

Re: [PATCH V3 01/11] ARM: Disable FIQs (but not IRQs) on CPUs shutdown paths

2022-10-21 Thread Guilherme G. Piccoli
On 17/10/2022 11:17, Russell King (Oracle) wrote: > [...] >> Monthly ping - let me know if there's something I should improve in >> order this fix is considered! > > Patches don't get applied unless they end up in the patch system. > Thanks. > Thanks Russell! Can you show me some documentation

Re: [PATCH V3 06/11] tracing: Improve panic/die notifiers

2022-10-21 Thread Guilherme G. Piccoli
On 19/08/2022 19:17, Guilherme G. Piccoli wrote: > Currently the tracing dump_on_oops feature is implemented through > separate notifiers, one for die/oops and the other for panic; > given they have the same functionality, let's unify them. > > Also improve the function comment and change the

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

2022-10-21 Thread Guilherme G. Piccoli
On 18/09/2022 18:19, Richard Weinberger wrote: > - Ursprüngliche Mail - >> Von: "Guilherme G. Piccoli" >> On 19/08/2022 19:17, Guilherme G. Piccoli wrote: >>> Currently the panic notifiers from user mode linux don't follow >>> the convention for most of the other notifiers present in the

Re: [PATCH V3 01/11] ARM: Disable FIQs (but not IRQs) on CPUs shutdown paths

2022-10-21 Thread Guilherme G. Piccoli
On 18/09/2022 10:58, Guilherme G. Piccoli wrote: > On 19/08/2022 19:17, Guilherme G. Piccoli wrote: >> Currently the regular CPU shutdown path for ARM disables IRQs/FIQs >> in the secondary CPUs - smp_send_stop() calls ipi_cpu_stop(), which >> is responsible for that. IRQs are architecturally

Re: [PATCH V3 08/11] EDAC/altera: Skip the panic notifier if kdump is loaded

2022-10-21 Thread Guilherme G. Piccoli
On 18/09/2022 11:10, Guilherme G. Piccoli wrote: > On 19/08/2022 19:17, Guilherme G. Piccoli wrote: >> The altera_edac panic notifier performs some data collection with >> regards errors detected; such code relies in the regmap layer to >> perform reads/writes, so the code is abstracted and there

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

2022-10-21 Thread Guilherme G. Piccoli
On 17/10/2022 11:10, Richard Weinberger wrote: > - Ursprüngliche Mail - >> Von: "Guilherme G. Piccoli" >> Hi Richard / Johannes, is there any news on this one? >> Thanks in advance, > > It's upstream: > git.kernel.org/linus/758dfdb9185cf94160f20e85bbe05583e3cd4ff4 > > Thanks, >

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

2022-10-21 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Guilherme G. Piccoli" > Hi Richard / Johannes, is there any news on this one? > Thanks in advance, It's upstream: git.kernel.org/linus/758dfdb9185cf94160f20e85bbe05583e3cd4ff4 Thanks, //richard ___ kexec mailing

Re: [PATCH V3 06/11] tracing: Improve panic/die notifiers

2022-10-21 Thread Steven Rostedt
On Fri, 19 Aug 2022 19:17:26 -0300 "Guilherme G. Piccoli" wrote: > Currently the tracing dump_on_oops feature is implemented through > separate notifiers, one for die/oops and the other for panic; > given they have the same functionality, let's unify them. > > Also improve the function comment

[PATCH] Makefile: Remove version from /usr/share/makedumpfile

2022-10-21 Thread Leonidas Spyropoulos
Version specific paths doesn't make sense at /usr/share/makedumpfile. This assumes you will have only one version installed which on a normal system it makes sense and devs can always specify different DESTDIR per versions. Fixes: #10 Signed-off-by: Leonidas Spyropoulos --- Makefile | 6 +++---