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]
Message-ID: <167648517621.362040.7176595866897785827.robh@kernel.org>
Date:   Wed, 15 Feb 2023 12:19:38 -0600
From:   Rob Herring <robh@...nel.org>
To:     Martin Liu <liumartin@...gle.com>
Cc:     frowand.list@...il.com, devicetree@...r.kernel.org,
        minchan@...nel.org, tkjos@...gle.com, linux-kernel@...r.kernel.org,
        surenb@...gle.com, robh+dt@...nel.org
Subject: Re: [PATCH v2] of: reserved-mem: print out reserved-mem details
 during boot


On Fri, 10 Feb 2023 00:09:55 +0800, Martin Liu wrote:
> It's important to know reserved-mem information in mobile world
> since reserved memory via device tree keeps increased in platform
> (e.g., 45% in our platform). Therefore, it's crucial to know the
> reserved memory sizes breakdown for the memory accounting.
> 
> This patch prints out reserved memory details during boot to make
> them visible.
> 
> Below is an example output:
> 
> [    0.000000] OF: reserved mem: 0x00000009f9400000..0x00000009fb3fffff ( 32768 KB ) map reusable test1
> [    0.000000] OF: reserved mem: 0x00000000ffdf0000..0x00000000ffffffff ( 2112 KB ) map non-reusable test2
> [    0.000000] OF: reserved mem: 0x0000000091000000..0x00000000912fffff ( 3072 KB ) nomap non-reusable test3
> 
> Signed-off-by: Martin Liu <liumartin@...gle.com>
> ---
> Changes in V2:
> -- instead of using debugfs, just print them out during boot
> 
>  drivers/of/of_reserved_mem.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 

Applied, thanks!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ