All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robherring2@gmail.com>
To: linux-arm-kernel@lists.infradead.org,
	linux-arm-msm@vger.kernel.org, linux-sh@vger.kernel.org,
	Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>,
	Linus Walleij <linus.walleij@sterics>
Subject: Re: [PATCH 00/10] ARM: SMP initialization consolidation
Date: Fri, 29 Apr 2011 13:25:03 -0500	[thread overview]
Message-ID: <4DBB027F.2010405@gmail.com> (raw)
In-Reply-To: <1303940515-8807-1-git-send-email-robherring2@gmail.com>

On 04/27/2011 04:41 PM, Rob Herring wrote:
> From: Rob Herring<rob.herring@calxeda.com>
>
> In order to avoid duplicating the same platform code yet again for a new
> platform, this series consolidates platforms using similar SMP startup code to
> a common implementation. A new kconfig entry SMP_COMMON_PEN is added for
> platforms using the common pen functions.
>
> OMAP uses a h/w mechansism for its pen, but it seems like it could use the same
> mechansism.
>
> Rob
> Rob Herring (10):
>    ARM: move Versatile SMP pen code to common location
>    ARM: ux500: convert to use common secondary pen code
>    ARM: msm: use common secondary pen code
>    ARM: add common scu_init_cpus
>    ARM: omap: use common scu_init_cpus
>    ARM: realview: use common scu_init_cpus
>    ARM: vexpress: use common scu_init_cpus
>    ARM: ux500: use common scu_init_cpus
>    ARM: shmobile: use common scu_init_cpus
>    ARM: move set_cpu_present calls to common smp code
>
>   arch/arm/Kconfig                             |    8 ++
>   arch/arm/include/asm/smp.h                   |    4 +
>   arch/arm/include/asm/smp_scu.h               |    1 +
>   arch/arm/kernel/Makefile                     |    3 +-
>   arch/arm/kernel/headsmp.S                    |   40 ++++++++++
>   arch/arm/kernel/smp.c                        |    4 +
>   arch/arm/kernel/smp_pen.c                    |  104 +++++++++++++++++++++++++
>   arch/arm/kernel/smp_scu.c                    |   19 +++++
>   arch/arm/mach-msm/Makefile                   |    2 +-
>   arch/arm/mach-msm/headsmp.S                  |   40 ----------
>   arch/arm/mach-msm/platsmp.c                  |   84 +-------------------
>   arch/arm/mach-omap2/omap-smp.c               |   25 +------
>   arch/arm/mach-realview/include/mach/smp.h    |    3 +
>   arch/arm/mach-realview/platsmp.c             |   30 +-------
>   arch/arm/mach-shmobile/include/mach/common.h |    2 +-
>   arch/arm/mach-shmobile/platsmp.c             |   20 +-----
>   arch/arm/mach-shmobile/smp-sh73a0.c          |    6 +-
>   arch/arm/mach-ux500/Kconfig                  |    1 +
>   arch/arm/mach-ux500/Makefile                 |    2 +-
>   arch/arm/mach-ux500/headsmp.S                |   37 ---------
>   arch/arm/mach-ux500/include/mach/smp.h       |    4 +-
>   arch/arm/mach-ux500/platsmp.c                |  105 +-------------------------
>   arch/arm/mach-vexpress/ct-ca9x4.c            |    9 +--
>   arch/arm/mach-vexpress/include/mach/smp.h    |    3 +
>   arch/arm/mach-vexpress/platsmp.c             |    9 +--
>   arch/arm/plat-versatile/Makefile             |    1 -
>   arch/arm/plat-versatile/headsmp.S            |   40 ----------
>   arch/arm/plat-versatile/platsmp.c            |  104 -------------------------
>   28 files changed, 210 insertions(+), 500 deletions(-)
>   create mode 100644 arch/arm/kernel/headsmp.S
>   create mode 100644 arch/arm/kernel/smp_pen.c
>   delete mode 100644 arch/arm/mach-msm/headsmp.S
>   delete mode 100644 arch/arm/mach-ux500/headsmp.S
>   delete mode 100644 arch/arm/plat-versatile/headsmp.S
>   delete mode 100644 arch/arm/plat-versatile/platsmp.c
>

Comments?

I only have a Versatile Express to test on, so any Tested-by's would be 
appreciated.

Rob

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robherring2@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 00/10] ARM: SMP initialization consolidation
Date: Fri, 29 Apr 2011 18:25:03 +0000	[thread overview]
Message-ID: <4DBB027F.2010405@gmail.com> (raw)
In-Reply-To: <1303940515-8807-1-git-send-email-robherring2@gmail.com>

On 04/27/2011 04:41 PM, Rob Herring wrote:
> From: Rob Herring<rob.herring@calxeda.com>
>
> In order to avoid duplicating the same platform code yet again for a new
> platform, this series consolidates platforms using similar SMP startup code to
> a common implementation. A new kconfig entry SMP_COMMON_PEN is added for
> platforms using the common pen functions.
>
> OMAP uses a h/w mechansism for its pen, but it seems like it could use the same
> mechansism.
>
> Rob
> Rob Herring (10):
>    ARM: move Versatile SMP pen code to common location
>    ARM: ux500: convert to use common secondary pen code
>    ARM: msm: use common secondary pen code
>    ARM: add common scu_init_cpus
>    ARM: omap: use common scu_init_cpus
>    ARM: realview: use common scu_init_cpus
>    ARM: vexpress: use common scu_init_cpus
>    ARM: ux500: use common scu_init_cpus
>    ARM: shmobile: use common scu_init_cpus
>    ARM: move set_cpu_present calls to common smp code
>
>   arch/arm/Kconfig                             |    8 ++
>   arch/arm/include/asm/smp.h                   |    4 +
>   arch/arm/include/asm/smp_scu.h               |    1 +
>   arch/arm/kernel/Makefile                     |    3 +-
>   arch/arm/kernel/headsmp.S                    |   40 ++++++++++
>   arch/arm/kernel/smp.c                        |    4 +
>   arch/arm/kernel/smp_pen.c                    |  104 +++++++++++++++++++++++++
>   arch/arm/kernel/smp_scu.c                    |   19 +++++
>   arch/arm/mach-msm/Makefile                   |    2 +-
>   arch/arm/mach-msm/headsmp.S                  |   40 ----------
>   arch/arm/mach-msm/platsmp.c                  |   84 +-------------------
>   arch/arm/mach-omap2/omap-smp.c               |   25 +------
>   arch/arm/mach-realview/include/mach/smp.h    |    3 +
>   arch/arm/mach-realview/platsmp.c             |   30 +-------
>   arch/arm/mach-shmobile/include/mach/common.h |    2 +-
>   arch/arm/mach-shmobile/platsmp.c             |   20 +-----
>   arch/arm/mach-shmobile/smp-sh73a0.c          |    6 +-
>   arch/arm/mach-ux500/Kconfig                  |    1 +
>   arch/arm/mach-ux500/Makefile                 |    2 +-
>   arch/arm/mach-ux500/headsmp.S                |   37 ---------
>   arch/arm/mach-ux500/include/mach/smp.h       |    4 +-
>   arch/arm/mach-ux500/platsmp.c                |  105 +-------------------------
>   arch/arm/mach-vexpress/ct-ca9x4.c            |    9 +--
>   arch/arm/mach-vexpress/include/mach/smp.h    |    3 +
>   arch/arm/mach-vexpress/platsmp.c             |    9 +--
>   arch/arm/plat-versatile/Makefile             |    1 -
>   arch/arm/plat-versatile/headsmp.S            |   40 ----------
>   arch/arm/plat-versatile/platsmp.c            |  104 -------------------------
>   28 files changed, 210 insertions(+), 500 deletions(-)
>   create mode 100644 arch/arm/kernel/headsmp.S
>   create mode 100644 arch/arm/kernel/smp_pen.c
>   delete mode 100644 arch/arm/mach-msm/headsmp.S
>   delete mode 100644 arch/arm/mach-ux500/headsmp.S
>   delete mode 100644 arch/arm/plat-versatile/headsmp.S
>   delete mode 100644 arch/arm/plat-versatile/platsmp.c
>

Comments?

I only have a Versatile Express to test on, so any Tested-by's would be 
appreciated.

Rob

WARNING: multiple messages have this Message-ID (diff)
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 00/10] ARM: SMP initialization consolidation
Date: Fri, 29 Apr 2011 13:25:03 -0500	[thread overview]
Message-ID: <4DBB027F.2010405@gmail.com> (raw)
In-Reply-To: <1303940515-8807-1-git-send-email-robherring2@gmail.com>

On 04/27/2011 04:41 PM, Rob Herring wrote:
> From: Rob Herring<rob.herring@calxeda.com>
>
> In order to avoid duplicating the same platform code yet again for a new
> platform, this series consolidates platforms using similar SMP startup code to
> a common implementation. A new kconfig entry SMP_COMMON_PEN is added for
> platforms using the common pen functions.
>
> OMAP uses a h/w mechansism for its pen, but it seems like it could use the same
> mechansism.
>
> Rob
> Rob Herring (10):
>    ARM: move Versatile SMP pen code to common location
>    ARM: ux500: convert to use common secondary pen code
>    ARM: msm: use common secondary pen code
>    ARM: add common scu_init_cpus
>    ARM: omap: use common scu_init_cpus
>    ARM: realview: use common scu_init_cpus
>    ARM: vexpress: use common scu_init_cpus
>    ARM: ux500: use common scu_init_cpus
>    ARM: shmobile: use common scu_init_cpus
>    ARM: move set_cpu_present calls to common smp code
>
>   arch/arm/Kconfig                             |    8 ++
>   arch/arm/include/asm/smp.h                   |    4 +
>   arch/arm/include/asm/smp_scu.h               |    1 +
>   arch/arm/kernel/Makefile                     |    3 +-
>   arch/arm/kernel/headsmp.S                    |   40 ++++++++++
>   arch/arm/kernel/smp.c                        |    4 +
>   arch/arm/kernel/smp_pen.c                    |  104 +++++++++++++++++++++++++
>   arch/arm/kernel/smp_scu.c                    |   19 +++++
>   arch/arm/mach-msm/Makefile                   |    2 +-
>   arch/arm/mach-msm/headsmp.S                  |   40 ----------
>   arch/arm/mach-msm/platsmp.c                  |   84 +-------------------
>   arch/arm/mach-omap2/omap-smp.c               |   25 +------
>   arch/arm/mach-realview/include/mach/smp.h    |    3 +
>   arch/arm/mach-realview/platsmp.c             |   30 +-------
>   arch/arm/mach-shmobile/include/mach/common.h |    2 +-
>   arch/arm/mach-shmobile/platsmp.c             |   20 +-----
>   arch/arm/mach-shmobile/smp-sh73a0.c          |    6 +-
>   arch/arm/mach-ux500/Kconfig                  |    1 +
>   arch/arm/mach-ux500/Makefile                 |    2 +-
>   arch/arm/mach-ux500/headsmp.S                |   37 ---------
>   arch/arm/mach-ux500/include/mach/smp.h       |    4 +-
>   arch/arm/mach-ux500/platsmp.c                |  105 +-------------------------
>   arch/arm/mach-vexpress/ct-ca9x4.c            |    9 +--
>   arch/arm/mach-vexpress/include/mach/smp.h    |    3 +
>   arch/arm/mach-vexpress/platsmp.c             |    9 +--
>   arch/arm/plat-versatile/Makefile             |    1 -
>   arch/arm/plat-versatile/headsmp.S            |   40 ----------
>   arch/arm/plat-versatile/platsmp.c            |  104 -------------------------
>   28 files changed, 210 insertions(+), 500 deletions(-)
>   create mode 100644 arch/arm/kernel/headsmp.S
>   create mode 100644 arch/arm/kernel/smp_pen.c
>   delete mode 100644 arch/arm/mach-msm/headsmp.S
>   delete mode 100644 arch/arm/mach-ux500/headsmp.S
>   delete mode 100644 arch/arm/plat-versatile/headsmp.S
>   delete mode 100644 arch/arm/plat-versatile/platsmp.c
>

Comments?

I only have a Versatile Express to test on, so any Tested-by's would be 
appreciated.

Rob

       reply	other threads:[~2011-04-29 18:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1303940515-8807-1-git-send-email-robherring2@gmail.com>
2011-04-29 18:25 ` Rob Herring [this message]
2011-04-29 18:25   ` [PATCH 00/10] ARM: SMP initialization consolidation Rob Herring
2011-04-29 18:25   ` Rob Herring
2011-04-29 20:27   ` David Brown
2011-04-29 20:27     ` David Brown
2011-04-29 20:27     ` David Brown

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=4DBB027F.2010405@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linus.walleij@sterics \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=srinidhi.kasagar@stericsson.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.