From patchwork Thu Aug 7 10:51:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 35028 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0163A21137 for ; Thu, 7 Aug 2014 10:55:28 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id et14sf24926175pad.10 for ; Thu, 07 Aug 2014 03:55:28 -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:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=elMvzStq4AvnSH+GaBbFj2fge0WytXijm3oCXCLU1kk=; b=Ndvmz+jDNHV0wIZwUwKilWQIkmfjeZrpn4cm8oy1ck9NI0rSHOW4Rx+B+q6TGc93zZ D9QUdnb6+5tT+rHNW+p3EakVIPqJiYZZSXAt0k+qiLOvIT6onFyORxhMzFUZBLh61VK3 8gjnpXH0jm6Eb1HB6GRcAI1JwAddwX8C6p8+eE+os42dtokplQAEI+4okO/PxrQoRbmq cIn5g2H4/BMHkp2PKBSvwpwo0P9foPJ1R9jrOnf+uTolWzuR9yR6q3qcHO0Bk/sQ70ne H7kNsxzhmHAbcrZpM1kC2PNCp97WeujqV3BV21k792uLD/u0tW6dQp2oB9f3MHRC3CU7 Y16w== X-Gm-Message-State: ALoCoQnGJCTgDtWxtMRd5+2SH8jzf86vgzcUy+G2164k5Nxgjn3KlQ1ub5NhoDRVu3XsAeA6Tf1J X-Received: by 10.70.89.10 with SMTP id bk10mr3807031pdb.4.1407408928152; Thu, 07 Aug 2014 03:55:28 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.134 with SMTP id m6ls108271qge.8.gmail; Thu, 07 Aug 2014 03:55:28 -0700 (PDT) X-Received: by 10.52.127.5 with SMTP id nc5mr129896vdb.59.1407408928041; Thu, 07 Aug 2014 03:55:28 -0700 (PDT) Received: from mail-vc0-f171.google.com (mail-vc0-f171.google.com [209.85.220.171]) by mx.google.com with ESMTPS id ti11si1635448vdb.10.2014.08.07.03.55.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 07 Aug 2014 03:55:28 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) client-ip=209.85.220.171; Received: by mail-vc0-f171.google.com with SMTP id hq11so5925466vcb.30 for ; Thu, 07 Aug 2014 03:55:28 -0700 (PDT) X-Received: by 10.221.44.69 with SMTP id uf5mr15698182vcb.4.1407408927943; Thu, 07 Aug 2014 03:55:27 -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.221.37.5 with SMTP id tc5csp19604vcb; Thu, 7 Aug 2014 03:55:27 -0700 (PDT) X-Received: by 10.68.242.103 with SMTP id wp7mr16903273pbc.131.1407408926937; Thu, 07 Aug 2014 03:55:26 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id te2si3203850pbc.38.2014.08.07.03.55.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Aug 2014 03:55:26 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XFLKq-0000qa-8m; Thu, 07 Aug 2014 10:54:16 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XFLKm-0000Zl-I8 for linux-arm-kernel@lists.infradead.org; Thu, 07 Aug 2014 10:54:13 +0000 Received: by mail-pa0-f52.google.com with SMTP id bj1so5234124pad.11 for ; Thu, 07 Aug 2014 03:53:50 -0700 (PDT) X-Received: by 10.70.46.100 with SMTP id u4mr16976742pdm.29.1407408830719; Thu, 07 Aug 2014 03:53:50 -0700 (PDT) Received: from localhost.localdomain ([61.172.253.147]) by mx.google.com with ESMTPSA id k9sm5937741pdo.28.2014.08.07.03.53.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 03:53:50 -0700 (PDT) From: Haojian Zhuang To: nicolas.pitre@linaro.org, arnd@arndb.de, olof@lixom.net, marc.zyngier@arm.com, jason@lakedaemon.net, linux-arm-kernel@lists.infradead.org, khilman@linaro.org, xuwei5@hisilicon.com Subject: [PATCH v17 3/9] ARM: hisi: enable HiP04 Date: Thu, 7 Aug 2014 18:51:29 +0800 Message-Id: <1407408695-19626-4-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407408695-19626-1-git-send-email-haojian.zhuang@linaro.org> References: <1407408695-19626-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140807_035412_638769_213D78F8 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.52 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.220.52 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Haojian Zhuang X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 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+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: haojian.zhuang@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.171 as permitted sender) smtp.mail=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 Support HiP04 SoC what supports 16 cores. And it relies on MCPM framework. Signed-off-by: Haojian Zhuang --- arch/arm/mach-hisi/Kconfig | 9 +++++++++ arch/arm/mach-hisi/hisilicon.c | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index 9848829..075772b 100644 --- a/arch/arm/mach-hisi/Kconfig +++ b/arch/arm/mach-hisi/Kconfig @@ -22,6 +22,15 @@ config ARCH_HI3xxx help Support for Hisilicon Hi36xx SoC family +config ARCH_HIP04 + bool "Hisilicon HiP04 Cortex A15 family" if ARCH_MULTI_V7 + select ARM_ERRATA_798181 if SMP + select HAVE_ARM_ARCH_TIMER + select MCPM if SMP + select MCPM_QUAD_CLUSTER if SMP + help + Support for Hisilicon HiP04 SoC family + config ARCH_HIX5HD2 bool "Hisilicon X5HD2 family" if ARCH_MULTI_V7 select CACHE_L2X0 diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index f37fb65..5b8c11f 100644 --- a/arch/arm/mach-hisi/hisilicon.c +++ b/arch/arm/mach-hisi/hisilicon.c @@ -65,3 +65,12 @@ static const char *hix5hd2_compat[] __initconst = { DT_MACHINE_START(HIX5HD2_DT, "Hisilicon HIX5HD2 (Flattened Device Tree)") .dt_compat = hix5hd2_compat, MACHINE_END + +static const char *hip04_compat[] __initconst = { + "hisilicon,hip04-d01", + NULL, +}; + +DT_MACHINE_START(HIP04, "Hisilicon HiP04 (Flattened Device Tree)") + .dt_compat = hip04_compat, +MACHINE_END