From patchwork Thu Oct 15 18:14:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jon Mason X-Patchwork-Id: 55061 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by patches.linaro.org (Postfix) with ESMTPS id 8588122FFA for ; Thu, 15 Oct 2015 18:14:24 +0000 (UTC) Received: by lbbyh1 with SMTP id yh1sf8294157lbb.0 for ; Thu, 15 Oct 2015 11:14:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:date:from:to:cc:subject:message-id :references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=tEPvsc9Ye79dmFVbE/y7jh0VWw4AncY9kXXuIiBgxH8=; b=OXiw0E/VgQcFlrHw0Jlqm6nkxoTu4EDh74drDzHSwZp0dLjGj9JO61dXRwwJldl3gX rBGbKNlBi4l9v/V+DHZ+kBG+cq1376ysgxz4QSgJ4A+Xrt7qbufkOTFD+NEpzVW3GQdf ni6ZxQ5BhFTCLSGgt6FXMiGtawFmw9pRPj9HdXML6j9C3MHDRg9A7hy0KGCDQqmU5UcC x+7J6lRuXIGP6SHfIUjhWrKU4Iw8FpSpkEt8/jrAqMgviD3coVaMfTNF2KhyTBQm4KUn oEcBwdCqcZi1TXtyl7XW8EWxyRBIySikHYZKDacsSKFzKj4ffIXYKHodubxSe49FO9on H+1A== X-Gm-Message-State: ALoCoQldIBHQWvYp6Mv7hw4lbrwwxaeTg1E8GDb5tLHQ/1gRIg5/RvvdQVmUff1KxW/VrsJnUFij X-Received: by 10.194.192.71 with SMTP id he7mr2494035wjc.2.1444932863411; Thu, 15 Oct 2015 11:14:23 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.37.144 with SMTP id l138ls228131lfl.8.gmail; Thu, 15 Oct 2015 11:14:23 -0700 (PDT) X-Received: by 10.112.148.38 with SMTP id tp6mr5468403lbb.110.1444932863255; Thu, 15 Oct 2015 11:14:23 -0700 (PDT) Received: from mail-lf0-f45.google.com (mail-lf0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id 79si4051176lfp.99.2015.10.15.11.14.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Oct 2015 11:14:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lfaz124 with SMTP id z124so40412714lfa.1 for ; Thu, 15 Oct 2015 11:14:22 -0700 (PDT) X-Received: by 10.25.20.24 with SMTP id k24mr3055714lfi.117.1444932862677; Thu, 15 Oct 2015 11:14:22 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp785779lbq; Thu, 15 Oct 2015 11:14:21 -0700 (PDT) X-Received: by 10.50.41.1 with SMTP id b1mr312395igl.3.1444932861566; Thu, 15 Oct 2015 11:14:21 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10si143035igh.51.2015.10.15.11.14.21; Thu, 15 Oct 2015 11:14:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752591AbbJOSOU (ORCPT + 7 others); Thu, 15 Oct 2015 14:14:20 -0400 Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:19791 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752056AbbJOSOT (ORCPT ); Thu, 15 Oct 2015 14:14:19 -0400 X-IronPort-AV: E=Sophos;i="5.17,686,1437462000"; d="scan'208";a="77750493" Received: from irvexchcas06.broadcom.com (HELO IRVEXCHCAS06.corp.ad.broadcom.com) ([10.9.208.53]) by mail-gw2-out.broadcom.com with ESMTP; 15 Oct 2015 11:43:02 -0700 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.3.235.1; Thu, 15 Oct 2015 11:14:18 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.3.235.1; Thu, 15 Oct 2015 11:14:18 -0700 Received: from venom (unknown [10.27.64.103]) by mail-irva-13.broadcom.com (Postfix) with SMTP id DB25B4104C; Thu, 15 Oct 2015 11:11:15 -0700 (PDT) Received: by venom (sSMTP sendmail emulation); Thu, 15 Oct 2015 14:14:10 -0400 Date: Thu, 15 Oct 2015 14:14:10 -0400 From: Jon Mason To: Hauke Mehrtens CC: Kapil Hali , Rob Herring , Pawel Moll , Mark Rutland , "Ian Campbell" , Kumar Gala , Russell King , Ray Jui , "Scott Branden" , Florian Fainelli , Gregory Fong , Lee Jones , "Heiko Stuebner" , Kever Yang , "Maxime Ripard" , Olof Johansson , Paul Walmsley , Linus Walleij , Chen-Yu Tsai , , , , Subject: [RFC] ARM: BCM: Add SMP support for Broadcom 4708 Message-ID: <20151015181409.GJ32089@broadcom.com> References: <1444844820-24290-1-git-send-email-kapilh@broadcom.com> <1444844820-24290-4-git-send-email-kapilh@broadcom.com> <561ED691.8080407@hauke-m.de> <20151014224003.GO15160@broadcom.com> <20151015154934.GD32089@broadcom.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20151015154934.GD32089@broadcom.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: jonmason@broadcom.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ARM: BCM: Add SMP support for Broadcom 4708 Add SMP support for Broadcom's 4708 SoCs. Signed-off-by: Jon Mason Acked-by: Scott Branden --- arch/arm/boot/dts/bcm4708.dtsi | 2 ++ arch/arm/boot/dts/bcm94708.dts | 2 +- arch/arm/mach-bcm/Kconfig | 1 + arch/arm/mach-bcm/Makefile | 3 +++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm4708.dtsi b/arch/arm/boot/dts/bcm4708.dtsi index 31141e8..22a41df 100644 --- a/arch/arm/boot/dts/bcm4708.dtsi +++ b/arch/arm/boot/dts/bcm4708.dtsi @@ -15,6 +15,8 @@ cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "brcm,bcm-nsp-smp"; + secondary-boot-reg = <0xffff0400>; cpu@0 { device_type = "cpu"; diff --git a/arch/arm/boot/dts/bcm94708.dts b/arch/arm/boot/dts/bcm94708.dts index f60bb1d..49682d6 100644 --- a/arch/arm/boot/dts/bcm94708.dts +++ b/arch/arm/boot/dts/bcm94708.dts @@ -32,7 +32,7 @@ /dts-v1/; -#include "bcm5301x.dtsi" +#include "bcm4708.dtsi" / { model = "NorthStar SVK (BCM94708)"; diff --git a/arch/arm/mach-bcm/Kconfig b/arch/arm/mach-bcm/Kconfig index 2e9dbb5..4fc8fa3 100644 --- a/arch/arm/mach-bcm/Kconfig +++ b/arch/arm/mach-bcm/Kconfig @@ -54,6 +54,7 @@ config ARCH_BCM_NSP config ARCH_BCM_5301X bool "Broadcom BCM470X / BCM5301X ARM SoC" if ARCH_MULTI_V7 select ARCH_BCM_IPROC + select HAVE_SMP help Support for Broadcom BCM470X and BCM5301X SoCs with ARM CPU cores. diff --git a/arch/arm/mach-bcm/Makefile b/arch/arm/mach-bcm/Makefile index 36a4ca30..3ca1cf1 100644 --- a/arch/arm/mach-bcm/Makefile +++ b/arch/arm/mach-bcm/Makefile @@ -43,6 +43,9 @@ obj-$(CONFIG_ARCH_BCM2835) += board_bcm2835.o # BCM5301X obj-$(CONFIG_ARCH_BCM_5301X) += bcm_5301x.o +ifeq ($(CONFIG_ARCH_BCM_5301X),y) +obj-$(CONFIG_SMP) += headsmp.o platsmp.o +endif # BCM63XXx ifeq ($(CONFIG_ARCH_BCM_63XX),y)