From patchwork Mon Jun 10 09:20:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 2696371 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 AA0C9DF264 for ; Mon, 10 Jun 2013 09:18:19 +0000 (UTC) Received: from merlin.infradead.org ([205.233.59.134]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UlyF0-0003tG-20; Mon, 10 Jun 2013 09:18:18 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UlyA7-0004yW-TS; Mon, 10 Jun 2013 09:13:15 +0000 Received: from mail-pb0-x22c.google.com ([2607:f8b0:400e:c01::22c]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UlyA5-0004vN-Ju for linux-arm-kernel@lists.infradead.org; Mon, 10 Jun 2013 09:13:14 +0000 Received: by mail-pb0-f44.google.com with SMTP id uo1so2290616pbc.31 for ; Mon, 10 Jun 2013 02:12:46 -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=X/LjEHAOhGHGrUj0qgZF5iW1n21BLQgCwuFsHACGN+g=; b=ZkS24+/mWQ23Odm8tcwlLfM6NwGA5DOmcJvsKK4nF1GtZyRVJLHt6u+I2vwCnVrmTx ay/0zEC7Ds6YVP69THZq55L00/79LEwzPTUBSIJD7B1+pvtA765b0jsVhVh8zYgmBzdF NjKHAtTAZNXY/xjToJQxwHOlloztEfXyO4zQWaeYq5kJewYhfo/GaL0EwbQb97p2ySW7 NvLc5efzdkh9w2DnXx3Y1fLWt9gTvrfHzvKCzP16wgZsaEmA90iysLAgQ2vB12Ws2zeD Wz/iEQIPn31KgLiwLu3jyQGjHUpayk+FWhtyL9GBTtfT6b6rFKOFzEJ4on9chlu9B0WC ta0g== X-Received: by 10.68.226.99 with SMTP id rr3mr9336335pbc.35.1370855566712; Mon, 10 Jun 2013 02:12:46 -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 pb5sm9750112pbc.29.2013.06.10.02.12.43 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Jun 2013 02:12:45 -0700 (PDT) From: Magnus Damm To: linux-sh@vger.kernel.org Date: Mon, 10 Jun 2013 18:20:15 +0900 Message-Id: <20130610092015.18944.61634.sendpatchset@w520> In-Reply-To: <20130610091925.18944.68117.sendpatchset@w520> References: <20130610091925.18944.68117.sendpatchset@w520> Subject: [PATCH 05/06] ARM: shmobile: EMEV2 SMP with SCU boot fn and args X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130610_051313_757075_9272E3FE X-CRM114-Status: UNSURE ( 9.01 ) 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 EMEV2 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-emev2.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- 0001/arch/arm/mach-shmobile/smp-emev2.c +++ work/arch/arm/mach-shmobile/smp-emev2.c 2013-06-05 15:00:28.000000000 +0900 @@ -40,8 +40,10 @@ static void __init emev2_smp_prepare_cpu { scu_enable(shmobile_scu_base); - /* Tell ROM loader about our vector (in headsmp-scu.S) */ - emev2_set_boot_vector(__pa(shmobile_secondary_vector_scu)); + /* Tell ROM loader about our vector (in headsmp-scu.S, headsmp.S) */ + emev2_set_boot_vector(__pa(shmobile_boot_vector)); + 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);