From patchwork Thu Jun 20 15:37:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Pieralisi X-Patchwork-Id: 253036 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:770:15f::2]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C62872C00AB for ; Fri, 21 Jun 2013 02:39:28 +1000 (EST) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Upgwu-0006fv-T2; Thu, 20 Jun 2013 15:39:02 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Upgvu-0002fl-MB; Thu, 20 Jun 2013 15:37:58 +0000 Received: from service87.mimecast.com ([91.220.42.44]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Upgvs-0002fO-Pw for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2013 15:37:57 +0000 Received: from cam-owa2.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Thu, 20 Jun 2013 16:37:34 +0100 Received: from e102568-lin.cambridge.arm.com ([10.1.255.212]) by cam-owa2.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 20 Jun 2013 16:37:32 +0100 Date: Thu, 20 Jun 2013 16:37:31 +0100 From: Lorenzo Pieralisi To: linux+pull@arm.linux.org.uk Subject: [GIT PULL RESEND] ARM: MPIDR linearization Message-ID: <20130620153731.GB10110@e102568-lin.cambridge.arm.com> MIME-Version: 1.0 User-Agent: Mutt/1.5.21 (2010-09-15) X-OriginalArrivalTime: 20 Jun 2013 15:37:32.0588 (UTC) FILETIME=[148D3EC0:01CE6DCC] X-MC-Unique: 113062016373407401 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130620_113757_004003_60042CD0 X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [91.220.42.44 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: nicolas.pitre@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi Russell, please pull this patch series that implements MPIDR linearization through a simple hashing algorithm and updates current cpu_{suspend}/{resume} code to use the newly created hash structures to retrieve context pointers. It represents a stepping stone for the implementation of power management code on forthcoming multi-cluster ARM systems. It has been tested on TC2 (dual cluster A15xA7 system), iMX6q, OMAP4 and Tegra, with processors hitting low-power states requiring warm-boot resume through the cpu_resume code path. It is rebased against your devel-stable, I fixed conflicts with code already queued there. Please let me know if you have any objection. Thank you very much indeed, Lorenzo The following changes since commit fd8957a96d535a992067b2c206672323a885454a: Merge branch 'for-rmk/arch-timer-cleanups' of git://linux-arm.org/linux-mr into devel-stable (2013-06-18 20:12:56 +0100) are available in the git repository at: git://linux-arm.org/linux-2.6-lp.git mpidr-updates-for-rmk for you to fetch changes up to 7604537bbb5720376e8c9e6bc74a8e6305e3094d: ARM: kernel: implement stack pointer save array through MPIDR hashing (2013-06-20 11:24:11 +0100) ---------------------------------------------------------------- Lorenzo Pieralisi (2): ARM: kernel: build MPIDR hash function data structure ARM: kernel: implement stack pointer save array through MPIDR hashing arch/arm/include/asm/smp_plat.h | 18 ++++++++ arch/arm/include/asm/suspend.h | 5 +++ arch/arm/kernel/asm-offsets.c | 6 +++ arch/arm/kernel/setup.c | 67 ++++++++++++++++++++++++++++ arch/arm/kernel/sleep.S | 97 +++++++++++++++++++++++++++++++++-------- arch/arm/kernel/suspend.c | 20 +++++++++ 6 files changed, 195 insertions(+), 18 deletions(-)