public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 0/2] Support VMCOREINFO export for RISCV64
@ 2022-10-14 13:41 Xianting Tian
  2022-10-14 13:41 ` [PATCH V2 1/2] RISC-V: Add arch_crash_save_vmcoreinfo support Xianting Tian
  2022-10-14 13:41 ` [PATCH V2 2/2] Documentation: kdump: describe VMCOREINFO export for RISCV64 Xianting Tian
  0 siblings, 2 replies; 14+ messages in thread
From: Xianting Tian @ 2022-10-14 13:41 UTC (permalink / raw)
  To: paul.walmsley, palmer, aou, anup, heiko, guoren, mick,
	alexandre.ghiti, bhe, vgoyal, dyoung, corbet, Conor.Dooley,
	bagasdotme
  Cc: kexec, linux-doc, linux-riscv, linux-kernel, crash-utility,
	heinrich.schuchardt, k-hagio-ab, hschauhan, yixun.lan,
	Xianting Tian

As disscussed in below patch set, the patch of 'describe VMCOREINFO export in Documentation'
need to update according to Bagas's comments. 
https://lore.kernel.org/linux-riscv/22AAF52E-8CC8-4D11-99CB-88DE4D113444@kernel.org/

As others patches in above patch set already applied, so this patch set only contains below two
patches.

------
Changes:
   Fix commit message in patch 2: use "Document these RISCV64 exports above" instead of
   "This patch just add the description of VMCOREINFO export for RISCV64."
V1 -> V2:
   Remove unnecessary overline above header text in patch 2.

Xianting Tian (2):
  RISC-V: Add arch_crash_save_vmcoreinfo support
  Documentation: kdump: describe VMCOREINFO export for RISCV64

 .../admin-guide/kdump/vmcoreinfo.rst          | 30 ++++++++++++++++++
 arch/riscv/kernel/Makefile                    |  1 +
 arch/riscv/kernel/crash_core.c                | 29 +++++++++++++++++
 3 files changed, 61 insertions(+)
 create mode 100644 arch/riscv/kernel/crash_core.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH V2 0/2] Improve vmcoreinfo and memory layout dump
@ 2022-07-14  2:58 Xianting Tian
  2022-07-14  2:59 ` [PATCH V2 1/2] RISC-V: Add arch_crash_save_vmcoreinfo support Xianting Tian
  0 siblings, 1 reply; 14+ messages in thread
From: Xianting Tian @ 2022-07-14  2:58 UTC (permalink / raw)
  To: paul.walmsley, palmer, aou, alexandre.ghiti, guoren, anup, mick,
	rppt, heiko
  Cc: linux-riscv, linux-kernel, huanyi.xj, Xianting Tian

This patch series are the improvements for vmcoreinfo and memory
layout dump.

The first patch(1/2) is to add VM layout to vmcoreinfo, which can
simlify the development of crash tool as ARM64 already did
(arch/arm64/kernel/crash_core.c).

The second patch(2/2) is to add MODULES to memory layout dump.

Changes v1 -> v2:
 patch 1: add VA_BITS to vmcoreinfo as ARM64 does, not satp_mode.
	  crash tool can read VA_BITS to determin the pagetable
	  levels.
 patch 1,2: As MODULES area is only defined when CONFIG_64BIT=y for
	    riscv64, so only use MODULES area when CONFIG_64BIT=y. 
 
Xianting Tian (2):
  RISC-V: Add arch_crash_save_vmcoreinfo support
  riscv: Add modules to virtual kernel memory layout dump

 arch/riscv/kernel/Makefile     |  1 +
 arch/riscv/kernel/crash_core.c | 28 ++++++++++++++++++++++++++++
 arch/riscv/mm/init.c           |  3 +++
 3 files changed, 32 insertions(+)
 create mode 100644 arch/riscv/kernel/crash_core.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-10-18  8:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-14 13:41 [PATCH V2 0/2] Support VMCOREINFO export for RISCV64 Xianting Tian
2022-10-14 13:41 ` [PATCH V2 1/2] RISC-V: Add arch_crash_save_vmcoreinfo support Xianting Tian
2022-10-17 19:54   ` Conor Dooley
     [not found]     ` <78420277-215f-55d0-67b8-fbf9208b3d22@linux.alibaba.com>
2022-10-18  7:19       ` Conor.Dooley
2022-10-18  8:01         ` Xianting Tian
2022-10-14 13:41 ` [PATCH V2 2/2] Documentation: kdump: describe VMCOREINFO export for RISCV64 Xianting Tian
2022-10-17 19:40   ` Conor Dooley
2022-10-18  2:41     ` Xianting Tian
2022-10-18  7:13       ` Conor Dooley
2022-10-18  3:19   ` Bagas Sanjaya
2022-10-18  5:32     ` Xianting Tian
2022-10-18  6:06     ` Xianting Tian
2022-10-18  7:20       ` Bagas Sanjaya
  -- strict thread matches above, loose matches on Subject: below --
2022-07-14  2:58 [PATCH V2 0/2] Improve vmcoreinfo and memory layout dump Xianting Tian
2022-07-14  2:59 ` [PATCH V2 1/2] RISC-V: Add arch_crash_save_vmcoreinfo support Xianting Tian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox