lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220714113300.367854-1-xianting.tian@linux.alibaba.com>
Date:   Thu, 14 Jul 2022 19:32:58 +0800
From:   Xianting Tian <xianting.tian@...ux.alibaba.com>
To:     paul.walmsley@...ive.com, palmer@...belt.com,
        aou@...s.berkeley.edu, alexandre.ghiti@...onical.com,
        guoren@...nel.org, anup@...infault.org, mick@....forth.gr,
        rppt@...nel.org, heiko@...ech.de
Cc:     linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
        huanyi.xj@...baba-inc.com,
        Xianting Tian <xianting.tian@...ux.alibaba.com>
Subject: [PATCH V3 0/2] Improve vmcoreinfo and memory layout dump

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ