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-prev] [day] [month] [year] [list]
Date:   Tue, 12 Nov 2019 06:35:53 +0000
From:   Yash Shah <yash.shah@...ive.com>
To:     Mike Rapoport <rppt@...ux.ibm.com>
CC:     "Paul Walmsley ( Sifive)" <paul.walmsley@...ive.com>,
        "linux-riscv@...ts.infradead.org" <linux-riscv@...ts.infradead.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "palmer@...belt.com" <palmer@...belt.com>,
        "aou@...s.berkeley.edu" <aou@...s.berkeley.edu>,
        "Anup.Patel@....com" <Anup.Patel@....com>,
        "logang@...tatee.com" <logang@...tatee.com>,
        "ren_guo@...ky.com" <ren_guo@...ky.com>,
        "bmeng.cn@...il.com" <bmeng.cn@...il.com>,
        "tglx@...utronix.de" <tglx@...utronix.de>,
        Sachin Ghadi <sachin.ghadi@...ive.com>
Subject: RE: [PATCH] RISC-V: Add address map dumper

> -----Original Message-----
> From: Mike Rapoport <rppt@...ux.ibm.com>
> Sent: 12 November 2019 03:27
> To: Yash Shah <yash.shah@...ive.com>
> Cc: Paul Walmsley ( Sifive) <paul.walmsley@...ive.com>; linux-
> riscv@...ts.infradead.org; linux-kernel@...r.kernel.org;
> palmer@...belt.com; aou@...s.berkeley.edu; Anup.Patel@....com;
> logang@...tatee.com; ren_guo@...ky.com; bmeng.cn@...il.com;
> tglx@...utronix.de; Sachin Ghadi <sachin.ghadi@...ive.com>
> Subject: Re: [PATCH] RISC-V: Add address map dumper
> 
> Hi,
> 
> On Mon, Nov 11, 2019 at 05:27:25AM +0000, Yash Shah wrote:
> > Add support for dumping the kernel address space layout to the console.
> > User can enable CONFIG_DEBUG_VM_LAYOUT to dump the virtual
> memory
> > region into dmesg buffer during boot-up.
> >
> > Signed-off-by: Yash Shah <yash.shah@...ive.com>
> > ---
> > This patch is based on Linux 5.4-rc6 and tested on SiFive HiFive
> > Unleashed board.
> > ---
> >  arch/riscv/Kconfig.debug |  9 +++++++++
> >  arch/riscv/mm/init.c     | 30 ++++++++++++++++++++++++++++++
> >  2 files changed, 39 insertions(+)
> >
> > diff --git a/arch/riscv/Kconfig.debug b/arch/riscv/Kconfig.debug index
> > e69de29..cdedfd3 100644
> > --- a/arch/riscv/Kconfig.debug
> > +++ b/arch/riscv/Kconfig.debug
> > @@ -0,0 +1,9 @@
> > +config DEBUG_VM_LAYOUT
> 
> I believe this could be enabled when CONFIG_DEBUG_VM=y without adding
> yet another architecture specific Kconfig option.

Oh yes, I will drop the newly added kconfig option in v2.

> --
> Sincerely yours,
> Mike.

Thanks for your comment!

- Yash

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ