From patchwork Mon Jul 28 12:51:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Haojian Zhuang X-Patchwork-Id: 34358 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 46643213FD for ; Mon, 28 Jul 2014 12:54:52 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id g18sf50812677oah.10 for ; Mon, 28 Jul 2014 05:54:51 -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=Hh7m9xR4nS/48KSkW3UI9s52kdkJJ07kLSsqs+of4io=; b=UpP02nT1CAX2M1SWusc4i4XHGBgF1wHDRzZTvCxUhOt9G1bFkI6hIJdjXSoy0nhIyf wDFLTKSq3WSSmo9jzZRgvJ1AmjLIqxB3PkF9wmEXztKhF0tiCpZ8YJkRrxFk1cFKACvb oo5JYh0sJMd8coqk8UfRKKTrizLlBdwD68H4sMM7IMzc4iR/WSTCLoNElq1rDnxNvAFL O29jqtIKEUKpvpj/eQwSmoU5F45Oq5SHIsbsLh8z29SLbR9Iw9RmxYSIS2DridetXTKm IZPh0l9cYG7dZ81+AN/FsFdMC15/P4ivby0az8JtXxlGRenTpixiiYemPOraJFI4TauH ssSg== X-Gm-Message-State: ALoCoQlDgdTOQyo1oEoOkPkAp0JTvXgMVB6cLc8MDbxZQB97ejs0ICY59FQnawjm0ZoQE9SREDHY X-Received: by 10.42.35.142 with SMTP id q14mr17268552icd.6.1406552091858; Mon, 28 Jul 2014 05:54:51 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.19.147 with SMTP id 19ls348351qgh.27.gmail; Mon, 28 Jul 2014 05:54:51 -0700 (PDT) X-Received: by 10.52.248.232 with SMTP id yp8mr1440120vdc.83.1406552091708; Mon, 28 Jul 2014 05:54:51 -0700 (PDT) Received: from mail-vc0-f179.google.com (mail-vc0-f179.google.com [209.85.220.179]) by mx.google.com with ESMTPS id cj4si10171433vdd.77.2014.07.28.05.54.51 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 28 Jul 2014 05:54:51 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.179 as permitted sender) client-ip=209.85.220.179; Received: by mail-vc0-f179.google.com with SMTP id hq11so11229983vcb.10 for ; Mon, 28 Jul 2014 05:54:51 -0700 (PDT) X-Received: by 10.52.248.146 with SMTP id ym18mr37613879vdc.8.1406552091599; Mon, 28 Jul 2014 05:54:51 -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 tc5csp164123vcb; Mon, 28 Jul 2014 05:54:51 -0700 (PDT) X-Received: by 10.70.53.138 with SMTP id b10mr34763329pdp.48.1406552090844; Mon, 28 Jul 2014 05:54:50 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ns7si17701660pbb.248.2014.07.28.05.54.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Jul 2014 05:54:50 -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 1XBkQz-0002bN-Nz; Mon, 28 Jul 2014 12:53:45 +0000 Received: from mail-pd0-f169.google.com ([209.85.192.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XBkQq-0002A4-9X for linux-arm-kernel@lists.infradead.org; Mon, 28 Jul 2014 12:53:37 +0000 Received: by mail-pd0-f169.google.com with SMTP id y10so9926910pdj.0 for ; Mon, 28 Jul 2014 05:53:15 -0700 (PDT) X-Received: by 10.66.121.168 with SMTP id ll8mr38750420pab.86.1406551995069; Mon, 28 Jul 2014 05:53:15 -0700 (PDT) Received: from localhost.localdomain ([61.172.253.147]) by mx.google.com with ESMTPSA id ia2sm17602248pbb.32.2014.07.28.05.53.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 28 Jul 2014 05:53:13 -0700 (PDT) From: Haojian Zhuang To: arnd@arndb.de, xuwei5@hisilicon.com, olof@lixom.net, khilman@linaro.org, arm@kernel.org, linux-arm-kernel@lists.infradead.org, yanhaifeng@hisilicon.com, liguozhu@hisilicon.com Subject: [PATCH v5 7/8] ARM: hisi: set l2 aux for pl310 Date: Mon, 28 Jul 2014 20:51:22 +0800 Message-Id: <1406551883-26154-8-git-send-email-haojian.zhuang@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406551883-26154-1-git-send-email-haojian.zhuang@linaro.org> References: <1406551883-26154-1-git-send-email-haojian.zhuang@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140728_055336_378507_A587D436 X-CRM114-Status: UNSURE ( 8.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.4 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.192.169 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.7 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.192.169 listed in wl.mailspike.net] 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.179 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 Enable L2 aux value for both HI3xxx and HIX5HD2. Signed-off-by: Haojian Zhuang --- arch/arm/mach-hisi/hisilicon.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-hisi/hisilicon.c b/arch/arm/mach-hisi/hisilicon.c index 7996c6b..284f9a1 100644 --- a/arch/arm/mach-hisi/hisilicon.c +++ b/arch/arm/mach-hisi/hisilicon.c @@ -55,6 +55,8 @@ static const char *hi3xxx_compat[] __initconst = { DT_MACHINE_START(HI3620, "Hisilicon Hi3620 (Flattened Device Tree)") .map_io = hi3620_map_io, .dt_compat = hi3xxx_compat, + .l2c_aux_val = 0x0, + .l2c_aux_mask = 0xffffffff, .smp = smp_ops(hi3xxx_smp_ops), MACHINE_END @@ -65,5 +67,7 @@ static const char *hix5hd2_compat[] __initconst = { DT_MACHINE_START(HIX5HD2_DT, "Hisilicon HIX5HD2 (Flattened Device Tree)") .dt_compat = hix5hd2_compat, + .l2c_aux_val = 0x00050000, + .l2c_aux_mask = 0xfff0ffff, .smp = smp_ops(hix5hd2_smp_ops), MACHINE_END