Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754910Ab0K3Ria (ORCPT ); Tue, 30 Nov 2010 12:38:30 -0500 Received: from imap.ru.mvista.com ([213.79.90.228]:12498 "EHLO buildserver.ru.mvista.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752465Ab0K3Ri1 (ORCPT ); Tue, 30 Nov 2010 12:38:27 -0500 Date: Tue, 30 Nov 2010 20:16:26 +0300 From: Anton Vorontsov To: Russell King Cc: Tony Lindgren , Kukjin Kim , Colin Cross , Srinidhi Kasagar , Jamie Iles , Catalin Marinas , Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH v4 0/8] SMP support for CNS3xxx + some SMP SCU cleanups Message-ID: <20101130171626.GA6165@oksana.dev.rtsoft.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3189 Lines: 60 Hello everyone, This is a reincarnation of my old series that was posted some time ago, i.e. http://www.spinics.net/lists/arm-kernel/msg94291.html The main change is that boot protocol routines were split into its own file, i.e. smp_scu_boot.c. And now there are all platforms converted to the common SCU routines (where possible). Russell suggested to get rid of the holding pen thing, I believe this is doable, but for now I don't want to change code behaviour. Just consolidate it as much as possible. For convenience, the patches are available in GIT repository (based on Russell's devel tree): git://git.infradead.org/users/cbou/linux-cns3xxx.git smp Diffstat looks quite good, I think. Especially, considering that the series contains SMP addition for a platform, :-) arch/arm/Kconfig | 2 +- arch/arm/include/asm/smp_scu.h | 9 + arch/arm/kernel/Makefile | 2 +- arch/arm/kernel/smp_scu_boot.c | 149 ++++++++++++++++++ .../headsmp.S => kernel/smp_scu_head.S} | 11 +- arch/arm/mach-cns3xxx/Kconfig | 1 + arch/arm/mach-cns3xxx/Makefile | 1 + arch/arm/mach-cns3xxx/include/mach/smp.h | 28 ++++ arch/arm/mach-cns3xxx/platsmp.c | 69 +++++++++ arch/arm/mach-omap2/omap-smp.c | 64 +-------- arch/arm/mach-realview/Makefile | 2 +- arch/arm/mach-realview/hotplug.c | 5 +- arch/arm/mach-realview/platsmp.c | 161 ++------------------ arch/arm/mach-s5pv310/Makefile | 2 +- arch/arm/mach-s5pv310/headsmp.S | 41 ----- arch/arm/mach-s5pv310/hotplug.c | 5 +- arch/arm/mach-s5pv310/platsmp.c | 125 +--------------- arch/arm/mach-tegra/platsmp.c | 36 +---- arch/arm/mach-ux500/Makefile | 2 +- arch/arm/mach-ux500/headsmp.S | 38 ----- arch/arm/mach-ux500/hotplug.c | 5 +- arch/arm/mach-ux500/include/mach/smp.h | 3 - arch/arm/mach-ux500/platsmp.c | 115 +------------- arch/arm/mach-vexpress/Makefile | 2 +- arch/arm/mach-vexpress/headsmp.S | 39 ----- arch/arm/mach-vexpress/platsmp.c | 150 ++----------------- 26 files changed, 318 insertions(+), 749 deletions(-) create mode 100644 arch/arm/kernel/smp_scu_boot.c rename arch/arm/{mach-realview/headsmp.S => kernel/smp_scu_head.S} (81%) create mode 100644 arch/arm/mach-cns3xxx/include/mach/smp.h create mode 100644 arch/arm/mach-cns3xxx/platsmp.c delete mode 100644 arch/arm/mach-s5pv310/headsmp.S delete mode 100644 arch/arm/mach-ux500/headsmp.S delete mode 100644 arch/arm/mach-vexpress/headsmp.S -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/