All of lore.kernel.org
 help / color / mirror / Atom feed
From: marc.zyngier@arm.com (Marc Zyngier)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 00/12] Per SoC descriptor
Date: Tue, 12 Jun 2012 11:39:01 +0100	[thread overview]
Message-ID: <4FD71C45.3010206@arm.com> (raw)
In-Reply-To: <201206081454.46422.arnd@arndb.de>

On 08/06/12 15:54, Arnd Bergmann wrote:
> On Thursday 07 June 2012, Marc Zyngier wrote:
>> [As per Arnd request, I've updated this patch series, in the hope that
>> it could be useful to the single zImage work]
>>
>> This patch series introduces a per-soc descriptor which should, in the
>> end, contain most of the SoC specific operations.
>>
>> This first patch series introduces the arm_soc_desc structure, adds
>> per-soc SMP and CPU hotplug operations, and converts all SMP platform
>> to this new scheme.
>>
>> Patches against v3.5-rc1. Tested on VExpress (Cortex A15).
>>
>> Also available at:
>> git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git soc_desc-v3.5-rc1
> 
> With my experimental multiplatform kernel tree, it let me actually build
> an allyesconfig including SMP enabled, so just for that you get an
> 
> Acked-by: Arnd Bergmann <arnd@arndb.de>

Thanks.

> Two comments though:
> 
> 1. I needed the patch below to avoid conflicting pen_release symbols.
> I was not sure if any of the platforms rely on the pen_release variable
> being located in the same cache line or page as the code accessing it,
> or why else it is defined in assembly. If we don't have a reason for that,
> we should probably pick the simpler approach and just have a single
> definition for this in common ARM SMP code.

I have mixed feelings about this. On most hardware, CPU power management
should make the use of pen_release obsolete (it only makes sense if you
cannot turn off the power).

On the other hand, given how "popular" the versatile implementation is,
we might as well consolidate it. I've queued a patch to that effect, but
I'd really like platform maintainers to realize how wrong they are.

> 2. Sorry for having to bring it up yet again, but it still feels silly
> to have the split data structures when nothing in the code actually
> checks whether the functions are __init or __cpuinit, which was the
> intention for splitting the struct in the first place according to
> Nico. If people still like the split, I'll just shut up, but I would
> prefer if this could be converted (back) into a single 'struct smp_ops'
> with function pointers and no "name" field or the ambition to add
> stuff other than SMP callbacks.

Right. I now have a slightly simpler/smaller series, which only cares
about SMP and have a single structure approach (though it still uses
split structures internally):

git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
smp_ops-v3.5-rc2

I'll post it later today.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

      reply	other threads:[~2012-06-12 10:39 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-07 16:09 [PATCH v7 00/12] Per SoC descriptor Marc Zyngier
2012-06-07 16:09 ` [PATCH v7 01/12] ARM: SoC: Introduce per " Marc Zyngier
2012-06-07 16:09 ` [PATCH v7 02/12] ARM: SoC: Add per SoC SMP and CPU hotplug operations Marc Zyngier
2012-06-11  3:47   ` Shawn Guo
2012-06-07 16:09 ` [PATCH v7 03/12] ARM: SoC: convert VExpress/RealView to SoC descriptor Marc Zyngier
2012-06-08  9:31   ` Pawel Moll
2012-06-07 16:09 ` [PATCH v7 04/12] ARM: SoC: convert OMAP4 " Marc Zyngier
2012-06-12  7:04   ` Tony Lindgren
2012-06-07 16:09 ` [PATCH v7 05/12] ARM: SoC: convert Tegra " Marc Zyngier
2012-06-07 16:09 ` [PATCH v7 06/12] ARM: SoC: convert Exynos4 " Marc Zyngier
2012-06-07 16:09 ` [PATCH v7 07/12] ARM: SoC: convert MSM SMP " Marc Zyngier
2012-06-07 20:23   ` David Brown
2012-06-07 16:09 ` [PATCH v7 08/12] ARM: SoC: convert ux500 " Marc Zyngier
2012-06-07 16:09 ` [PATCH v7 09/12] ARM: SoC: convert shmobile SMP " Marc Zyngier
2012-06-07 16:09 ` [PATCH v7 10/12] ARM: SoC: convert highbank " Marc Zyngier
2012-06-08  0:52   ` Rob Herring
2012-06-07 16:09 ` [PATCH v7 11/12] ARM: SoC: convert imx6q " Marc Zyngier
2012-06-11  3:48   ` Shawn Guo
2012-06-07 16:09 ` [PATCH v7 12/12] ARM: smp: Make SoC descriptor mandatory for SMP platforms Marc Zyngier
2012-06-08 14:54 ` [PATCH v7 00/12] Per SoC descriptor Arnd Bergmann
2012-06-12 10:39   ` Marc Zyngier [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=4FD71C45.3010206@arm.com \
    --to=marc.zyngier@arm.com \
    --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 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.