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: 2696331 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 4EDC0DFE82 for ; Mon, 10 Jun 2013 09:12:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753110Ab3FJJMs (ORCPT ); Mon, 10 Jun 2013 05:12:48 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:48749 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753122Ab3FJJMr (ORCPT ); Mon, 10 Jun 2013 05:12:47 -0400 Received: by mail-pa0-f48.google.com with SMTP id kp12so2611774pab.21 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 Cc: arnd@arndb.de, horms@verge.net.au, laurent.pinchart@ideasonboard.com, olof@lixom.net, Magnus Damm , linux-arm-kernel@lists.infradead.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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.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(-) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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);