From patchwork Mon Jun 10 09:19:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2696711 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) by patchwork2.kernel.org (Postfix) with ESMTP id 846E5DF264 for ; Mon, 10 Jun 2013 10:22:24 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UlyBv-0002Ph-P6; Mon, 10 Jun 2013 09:15:13 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uly9n-0004we-8y; Mon, 10 Jun 2013 09:12:55 +0000 Received: from mail-pb0-x236.google.com ([2607:f8b0:400e:c01::236]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uly9g-0004t0-83 for linux-arm-kernel@lists.infradead.org; Mon, 10 Jun 2013 09:12:49 +0000 Received: by mail-pb0-f54.google.com with SMTP id ro2so7013079pbb.41 for ; Mon, 10 Jun 2013 02:12:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=ha7zoetoT3YkDXLXSoyam5yug+3YeUZcPR/XUSWds30=; b=mMc42qupOZVBiHYxVMGXyvK9JGO5aB8EuwIna1GdtF19pAZuru65doBLE6c0tUFn69 iCI8dclEK96S4HpEcb7yeu+AjPfpRbhjhgPHtqZNUaT8ZuWqGGHZo6bLrkAdPTg+mqWo NYgi6PEJkvQuKQTQ7Z8dNyW/UeeE4hXq88dNTmZGzeIEDEulrjfANDAQfp6v7c6eYYV7 kfx1k6LpDKdTOURBzffUe3u+5PPey382dtAsRVzKHFivKAw79zP3wcpzQD40kCbz/+qW VdpOKIPcMLpvvleXnay/20rTH0DlmZds9hPs33mAid8H4U75ya2n5QOcLqcT/y4I7P2+ FrCA== X-Received: by 10.68.1.34 with SMTP id 2mr9070512pbj.3.1370855546754; Mon, 10 Jun 2013 02:12:26 -0700 (PDT) Received: from [127.0.0.1] (ac230065.ppp.asahi-net.or.jp. [183.77.230.65]) by mx.google.com with ESMTPSA id iq6sm4396234pbc.1.2013.06.10.02.12.24 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Jun 2013 02:12:25 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 10 Jun 2013 18:19:56 +0900 Message-Id: <20130610091956.18944.57224.sendpatchset@w520> In-Reply-To: <20130610091925.18944.68117.sendpatchset@w520> References: <20130610091925.18944.68117.sendpatchset@w520> Subject: [PATCH 03/06] ARM: shmobile: r8a7779 SMP with SCU boot fn and args X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130610_051248_427530_2205C8C5 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (magnus.damm[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: arnd@arndb.de, Magnus Damm , horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Magnus Damm Let r8a7779 make use of shmobile_boot_fn and shmobile_boot_arg together with shmobile_boot_scu and the SCU base address. Signed-off-by: Magnus Damm --- arch/arm/mach-shmobile/smp-r8a7779.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- 0001/arch/arm/mach-shmobile/smp-r8a7779.c +++ work/arch/arm/mach-shmobile/smp-r8a7779.c 2013-06-05 14:58:21.000000000 +0900 @@ -101,8 +101,10 @@ static void __init r8a7779_smp_prepare_c { scu_enable(shmobile_scu_base); - /* Map the reset vector (in headsmp-scu.S) */ - __raw_writel(__pa(shmobile_secondary_vector_scu), AVECR); + /* Map the reset vector (in headsmp-scu.S, headsmp.S) */ + __raw_writel(__pa(shmobile_boot_vector), AVECR); + shmobile_boot_fn = virt_to_phys(shmobile_boot_scu); + shmobile_boot_arg = (unsigned long)shmobile_scu_base; /* enable cache coherency on booting CPU */ scu_power_mode(shmobile_scu_base, SCU_PM_NORMAL);