Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] ARM: EXYNOS5420: Add IO mapping for non-secure SYSRAM
Date: Mon, 14 Apr 2014 13:47:56 +0200	[thread overview]
Message-ID: <11327275.EJLfDGG21r@wuerfel> (raw)
In-Reply-To: <20140414112520.GC3844@e103592.cambridge.arm.com>

On Monday 14 April 2014 12:25:20 Dave Martin wrote:
> On Fri, Apr 11, 2014 at 11:31:49PM +0530, Abhilash Kesavan wrote:
> > On the Exynos5420 non-secure SYSRAM is used for secondary CPU bring-up,
> > so add a mapping for it.
> > 
> > Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
> > Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
> > ---
> >  arch/arm/mach-exynos/exynos.c           |   11 +++++++++++
> >  arch/arm/mach-exynos/include/mach/map.h |    1 +
> >  2 files changed, 12 insertions(+)
> > 
> > diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
> > index b32a907..b1cf9d5 100644
> > --- a/arch/arm/mach-exynos/exynos.c
> > +++ b/arch/arm/mach-exynos/exynos.c
> > @@ -159,6 +159,15 @@ static struct map_desc exynos5250_iodesc[] __initdata = {
> >       },
> >  };
> >  
> > +static struct map_desc exynos5420_iodesc[] __initdata = {
> > +     {
> > +             .virtual        = (unsigned long)S5P_VA_SYSRAM_NS,
> > +             .pfn            = __phys_to_pfn(EXYNOS5420_PA_SYSRAM_NS),
> > +             .length         = SZ_4K,
> > +             .type           = MT_DEVICE,
> > +     },
> > +};
> > +
> 
> Regarding Arnd's NAK in
> http://lists.infradead.org/pipermail/linux-arm-kernel/2014-April/246936.html,
> this looks like another instance of the same thing.
> 
> Arnd, what was your preferred solution?  Should this be described in DT?

Yes. There are already patches on the list to do this right.

	Arnd

  reply	other threads:[~2014-04-14 11:47 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-11 18:01 [PATCH 0/5] MCPM backend for Exynos5420 Abhilash Kesavan
2014-04-11 18:01 ` [PATCH 1/5] ARM: bL_switcher: Don't enable bL switcher on systems without CCI Abhilash Kesavan
2014-04-11 18:14   ` Nicolas Pitre
2014-04-16 19:10     ` Abhilash Kesavan
2014-04-16 20:18       ` Nicolas Pitre
2014-04-21 15:57         ` Abhilash Kesavan
2014-04-21 23:37           ` Nicolas Pitre
2014-04-11 18:01 ` [PATCH 2/5] drivers/bus: arm-cci: Add common control interface for ACE ports Abhilash Kesavan
2014-04-11 18:24   ` Nicolas Pitre
2014-04-11 19:16     ` Abhilash Kesavan
2014-04-11 18:01 ` [PATCH 3/5] ARM: EXYNOS5420: Add IO mapping for non-secure SYSRAM Abhilash Kesavan
2014-04-14 11:25   ` Dave Martin
2014-04-14 11:47     ` Arnd Bergmann [this message]
2014-04-14 11:59       ` Dave Martin
2014-04-14 13:24         ` Arnd Bergmann
2014-04-16 19:10           ` Abhilash Kesavan
2014-04-11 18:01 ` [PATCH 4/5] ARM: dts: exynos5420: add CCI node Abhilash Kesavan
2014-04-22  6:16   ` [PATCH v2 1/3] " Abhilash Kesavan
2014-04-11 18:01 ` [PATCH 5/5] arm: exynos: Add MCPM call-back functions Abhilash Kesavan
2014-04-11 20:23   ` Nicolas Pitre
2014-04-14 10:41     ` Dave Martin
2014-04-14 14:01       ` Nicolas Pitre
2014-04-15  8:36         ` Dave Martin
2014-04-16 19:11           ` Abhilash Kesavan
2014-04-17 10:03             ` Dave Martin
2014-04-21 15:57               ` Abhilash Kesavan
2014-04-22  2:11                 ` Nicolas Pitre
2014-04-16 19:11       ` Abhilash Kesavan
2014-04-17  9:59         ` Dave Martin
2014-04-17 15:20           ` Nicolas Pitre
2014-04-17 15:38             ` Dave Martin
2014-04-21 15:57               ` Abhilash Kesavan
2014-04-16 19:11     ` Abhilash Kesavan
2014-04-22  6:17   ` [PATCH v2 2/3] " Abhilash Kesavan
2014-04-22 11:21     ` Daniel Lezcano
2014-04-22 15:40       ` Nicolas Pitre
2014-04-22 19:21         ` Daniel Lezcano
2014-04-22 19:56           ` Nicolas Pitre
2014-04-23 15:31             ` Abhilash Kesavan
2014-04-23 16:13             ` Lorenzo Pieralisi
2014-06-17  2:38               ` Abhilash Kesavan
2014-06-19  8:56                 ` Lorenzo Pieralisi
2014-06-19 12:23                   ` Abhilash Kesavan
2014-04-23 15:31       ` Abhilash Kesavan
2014-04-23 20:56         ` Daniel Lezcano
2014-04-22 19:18     ` Nicolas Pitre
2014-04-23 15:31       ` Abhilash Kesavan
2014-04-22  6:16 ` [PATCH v2 0/3] MCPM backend for Exynos5420 Abhilash Kesavan

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=11327275.EJLfDGG21r@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.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