All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kukjin Kim <kgene.kim@samsung.com>
To: 'Doug Anderson' <dianders@chromium.org>,
	'Leela Krishna Amudala' <l.krishna@samsung.com>
Cc: 'linux-samsung-soc' <linux-samsung-soc@vger.kernel.org>,
	'Tomasz Figa' <tomasz.figa@gmail.com>,
	'Olof Johansson' <olof@lixom.net>
Subject: RE: [PATCH] ARM: EXYNOS: call scu_enable() only in case of cortex-A9 processor
Date: Wed, 05 Jun 2013 21:45:37 +0900	[thread overview]
Message-ID: <093301ce61ea$93f52080$bbdf6180$%kim@samsung.com> (raw)
In-Reply-To: <CAD=FV=WvRydOHZTciwOEbQ6--+sd4qYSdiypUDwm2hWGDHZSKw@mail.gmail.com>

Doug Anderson wrote:
> 
> Leela,
> 
> On Fri, May 31, 2013 at 2:43 AM, Leela Krishna Amudala
> <l.krishna@samsung.com> wrote:
> > This patch reads the cpuid part number and if it matches with
> > cortex-A9, calls scu_enable()
> >
> > Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
> > ---
> >  arch/arm/mach-exynos/platsmp.c |    2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/arm/mach-exynos/platsmp.c b/arch/arm/mach-
> exynos/platsmp.c
> > index a0e8ff7..d9c6d0a 100644
> > --- a/arch/arm/mach-exynos/platsmp.c
> > +++ b/arch/arm/mach-exynos/platsmp.c
> > @@ -200,7 +200,7 @@ static void __init exynos_smp_prepare_cpus(unsigned
> int max_cpus)
> >  {
> >         int i;
> >
> > -       if (!(soc_is_exynos5250() || soc_is_exynos5440()))
> > +       if (read_cpuid_part_number() == ARM_CPU_PART_CORTEX_A9)
> >                 scu_enable(scu_base_addr());
> >
> >         /*
> 
> Thanks for sending upstream.  For reference, our local version is here
> <https://gerrit.chromium.org/gerrit/#/c/56804/>.
> 
> This is much better than listing every single non-A9 exynos in a big
> "if" test.  ;)
> 
Yes :)

> Reviewed-by: Doug Anderson <dianders@chromium.org>

Applied, thanks.

- Kukjin

      reply	other threads:[~2013-06-05 12:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-31  9:43 [PATCH] ARM: EXYNOS: call scu_enable() only in case of cortex-A9 processor Leela Krishna Amudala
2013-05-31 15:14 ` Doug Anderson
2013-06-05 12:45   ` Kukjin Kim [this message]

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='093301ce61ea$93f52080$bbdf6180$%kim@samsung.com' \
    --to=kgene.kim@samsung.com \
    --cc=dianders@chromium.org \
    --cc=l.krishna@samsung.com \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=olof@lixom.net \
    --cc=tomasz.figa@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.