public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/2] Support VMCOREINFO export for RISCV64
@ 2022-10-18  8:17 Xianting Tian
  2022-10-18  8:17 ` [PATCH V3 1/2] RISC-V: Add arch_crash_save_vmcoreinfo support Xianting Tian
  2022-10-18  8:17 ` [PATCH V3 2/2] Documentation: kdump: describe VMCOREINFO export for RISCV64 Xianting Tian
  0 siblings, 2 replies; 12+ messages in thread
From: Xianting Tian @ 2022-10-18  8:17 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.
V2 -> V3:
   Fix commit message in patch 1,2; 
   Use 'space' instead of 'region' for vmemmap description 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] 12+ messages in thread
* [PATCH V3 0/2] Improve vmcoreinfo and memory layout dump
@ 2022-07-14 11:32 Xianting Tian
  2022-07-14 11:32 ` [PATCH V3 1/2] RISC-V: Add arch_crash_save_vmcoreinfo support Xianting Tian
  0 siblings, 1 reply; 12+ messages in thread
From: Xianting Tian @ 2022-07-14 11:32 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.
Changes v2 -> v3:
 patch 1,2: use "#ifdef CONFIG_64BIT" instead of "IS_ENABLED(CONFIG_64BIT)"
            when check whether MODULES area is available.

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 | 29 +++++++++++++++++++++++++++++
 arch/riscv/mm/init.c           |  4 ++++
 3 files changed, 34 insertions(+)
 create mode 100644 arch/riscv/kernel/crash_core.c

-- 
2.17.1


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

end of thread, other threads:[~2022-10-20  1:52 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-18  8:17 [PATCH V3 0/2] Support VMCOREINFO export for RISCV64 Xianting Tian
2022-10-18  8:17 ` [PATCH V3 1/2] RISC-V: Add arch_crash_save_vmcoreinfo support Xianting Tian
2022-10-18  9:10   ` Baoquan He
2022-10-18  9:25     ` Xianting Tian
2022-10-18 10:03       ` Baoquan He
2022-10-19  1:50         ` Xianting Tian
2022-10-19  2:50           ` HAGIO KAZUHITO(萩尾 一仁)
2022-10-19  3:17             ` Xianting Tian
2022-10-20  1:35               ` HAGIO KAZUHITO(萩尾 一仁)
2022-10-20  1:52                 ` Xianting Tian
2022-10-18  8:17 ` [PATCH V3 2/2] Documentation: kdump: describe VMCOREINFO export for RISCV64 Xianting Tian
  -- strict thread matches above, loose matches on Subject: below --
2022-07-14 11:32 [PATCH V3 0/2] Improve vmcoreinfo and memory layout dump Xianting Tian
2022-07-14 11:32 ` [PATCH V3 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