From: Maxime Ripard <maxime.ripard@free-electrons.com>
To: Oleksij Rempel <linux@rempel-privat.de>
Cc: Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Russell King <linux@armlinux.org.uk>,
Chen-Yu Tsai <wens@csie.org>, Kees Cook <keescook@chromium.org>,
Anton Vorontsov <anton@enomsg.org>,
Colin Cross <ccross@android.com>, Tony Luck <tony.luck@intel.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1] ARM: dts: sun7i: provide ramoops region on BananaPi
Date: Thu, 22 Jun 2017 08:16:17 +0200 [thread overview]
Message-ID: <20170622061617.5guhcyxdthvmiq7j@flea.lan> (raw)
In-Reply-To: <1498065017-30556-1-git-send-email-linux@rempel-privat.de>
[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]
Hi Oleksij,
On Wed, Jun 21, 2017 at 07:10:17PM +0200, Oleksij Rempel wrote:
> This should help provide useful debug information on remote
> targets without UART.
>
> Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
> ---
> arch/arm/boot/dts/sun7i-a20-bananapi.dts | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20-bananapi.dts b/arch/arm/boot/dts/sun7i-a20-bananapi.dts
> index ed2f35a..38923bf 100644
> --- a/arch/arm/boot/dts/sun7i-a20-bananapi.dts
> +++ b/arch/arm/boot/dts/sun7i-a20-bananapi.dts
> @@ -63,6 +63,22 @@
> stdout-path = "serial0:115200n8";
> };
>
> + reserved-memory {
> + #address-cells = <1>;
> + #size-cells = <1>;
> + ranges;
> +
> + ramoops@7fb6a000 {
> + compatible = "ramoops";
> + reg = <0x7fb6a000 0x100000>;
> + ecc-size = <16>;
> + record-size = <0x00020000>;
> + console-size = <0x00020000>;
> + ftrace-size = <0x00020000>;
> + pmsg-size = <0x00020000>;
> + };
> + };
> +
I'm a bit skeptical about this one.
First, there's nothing specific to the bananapi, but every one will
want to have different sizes here, or different parameters.
Since using the kernel parameters is also an option, I'd rather
document how to do that with the parameters.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 801 bytes --]
next prev parent reply other threads:[~2017-06-22 6:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-21 17:10 Oleksij Rempel
2017-06-22 6:16 ` Maxime Ripard [this message]
2017-06-22 6:40 ` Oleksij Rempel
2017-06-27 13:59 ` Maxime Ripard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170622061617.5guhcyxdthvmiq7j@flea.lan \
--to=maxime.ripard@free-electrons.com \
--cc=anton@enomsg.org \
--cc=ccross@android.com \
--cc=devicetree@vger.kernel.org \
--cc=keescook@chromium.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=linux@rempel-privat.de \
--cc=mark.rutland@arm.com \
--cc=robh+dt@kernel.org \
--cc=tony.luck@intel.com \
--cc=wens@csie.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®