Re: [PATCH] powerpc/kdump: fix kdump kernel hangup issue with hot add CPUs

2021-04-16 Thread Sourabh Jain
On 16/04/21 3:03 pm, Hari Bathini wrote: On 16/04/21 12:17 pm, Sourabh Jain wrote: With the kexec_file_load system call when system crashes on the hot add CPU the capture kernel hangs and failed to collect the vmcore.   Kernel panic - not syncing: sysrq triggered crash   CPU: 24 PID: 6065

[PATCH] powerpc/kdump: fix kdump kernel hangup issue with hot add CPUs

2021-04-16 Thread Sourabh Jain
;) Signed-off-by: Sourabh Jain --- arch/powerpc/kexec/file_load_64.c | 100 ++ 1 file changed, 100 insertions(+) diff --git a/arch/powerpc/kexec/file_load_64.c b/arch/powerpc/kexec/file_load_64.c index 02b9e4d0dc40..63a30f1ddc2c 100644 --- a/arch/powerpc/kexec/file

[PATCH v6] powerpc/fadump: fix race between pstore write and fadump crash trigger

2020-07-12 Thread Sourabh Jain
rash. A timeout is kept to ensure the primary CPU (one who initiates the crash) do not wait for secondary CPUs indefinitely. Signed-off-by: Sourabh Jain --- arch/powerpc/kernel/fadump.c | 24 1 file changed, 24 insertions(+) --- Chanagelog: v1 -> v3: - https://

[PATCH v5] powerpc/fadump: fix race between pstore write and fadump crash trigger

2020-06-17 Thread Sourabh Jain
rash. A timeout is kept to ensure the primary CPU (one who initiates the crash) do not wait for secondary CPUs indefinitely. Signed-off-by: Sourabh Jain --- arch/powerpc/kernel/fadump.c | 25 + 1 file changed, 25 insertions(+) --- Chanagelog: v1 -> v3: - https://

[PATCH] powerpc/fadump: update kernel logs before fadump crash begins

2020-06-05 Thread Sourabh Jain
c function). Signed-off-by: Sourabh Jain --- arch/powerpc/include/asm/bug.h | 2 ++ arch/powerpc/kernel/setup-common.c | 1 + arch/powerpc/kernel/traps.c| 12 +++- arch/powerpc/platforms/ps3/setup.c | 2 +- arch/powerpc/platforms/pseries/setup.c | 2 +- 5 fil

[PATCH v4] powerpc/fadump: fix race between pstore write and fadump crash trigger

2020-06-04 Thread Sourabh Jain
rash. A timeout is kept to ensure the primary CPU (one who initiates the crash) do not wait for secondary CPUs indefinitely. Signed-off-by: Sourabh Jain --- arch/powerpc/kernel/fadump.c | 24 1 file changed, 24 insertions(+) --- Chanagelog: v1 -> v3: - https://