Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1453436

Re: [PATCH v2] pstore: use DT reserved-memory bindings

From Rob Herring <robh+dt@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] pstore: use DT reserved-memory bindings
Date 2016-08-01 22:10 +0200
Message-ID <s1rHb-2AZ-1@gated-at.bofh.it> (permalink)
References <s1qL8-1VI-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Aug 1, 2016 at 2:05 PM, Kees Cook <keescook@chromium.org> wrote:
> Instead of a ramoops-specific node, use a child node of /reserved-memory.
> This requires that of_platform_device_create() be explicitly called
> for the node, though, since "/reserved-memory" does not have its own
> "compatible" property.

As I mentioned in my other reply, not strictly needed to find
/reserved-memory node first, but it's fine either way.

Acked-by: Rob Herring <robh@kernel.org>

>
> Suggested-by: Rob Herring <robh@kernel.org>
> Signed-off-by: Kees Cook <keescook@chromium.org>
> ---
> v2:
> - rebase to 4.8, use of_platform_default_populate_init(), robh
> - use platform device resources instead of node directly, robh
> ---
>  .../bindings/{misc => reserved-memory}/ramoops.txt |  8 ++---
>  Documentation/ramoops.txt                          | 38 +++++++++++++++-------
>  drivers/of/platform.c                              | 20 ++++++++++--
>  fs/pstore/ram.c                                    | 23 ++++---------
>  4 files changed, 56 insertions(+), 33 deletions(-)
>  rename Documentation/devicetree/bindings/{misc => reserved-memory}/ramoops.txt (86%)

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] pstore: use DT reserved-memory bindings Kees Cook <keescook@chromium.org> - 2016-08-01 21:10 +0200
  Re: [PATCH v2] pstore: use DT reserved-memory bindings Rob Herring <robh+dt@kernel.org> - 2016-08-01 22:10 +0200
    Re: [PATCH v2] pstore: use DT reserved-memory bindings Kees Cook <keescook@chromium.org> - 2016-08-01 22:30 +0200

csiph-web