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: 4634291 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 7B09F9F36A for ; Mon, 28 Jul 2014 12:55:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 99E7420158 for ; Mon, 28 Jul 2014 12:55:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C6A27200E6 for ; Mon, 28 Jul 2014 12:55:27 +0000 (UTC) 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-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/DO4aE34wsX9p/IZDBkIjbXf4GvNw2UoJ0cqQ3VqKck=; b=acuWcAbe8ttYIoo/zI99X2CdxTyY/YipZB7a2iU+X2OUH51lFIEVwJD+Z3JoGOoADS ChR9sS8zy4DtQve3DB/nAJYl8d4twAQFJ2FGO/RtgbM975nWRbQO5PHIu1kcFHoTW1Zx Y3rcxXERewp/nuGnQg8rglzWEmcT5VE6Gqi/B/WdWo2fJeJqePmJMEWfrVLjmDPJe0+f q/pUzXhu/R8WGrPRc8+lzzYGPqt+YGmQ9cKxiK+ywMwiSNs9VF00CCQTBF3xxNkmJ6vJ mHNTEnbiGpEYjAtjtchBnYhg5LuKsmGdtTqP99AJuNL0hk299Chlck9NG6EiP3T3vsiG 7Jcg== X-Gm-Message-State: ALoCoQmCOK53qcyyAj9pJrq+BOMZr0PQl2Ext/sLZ+3Ua/aec+iM3bXqleItwZcb5v7MD7pEOR/k 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 (-) 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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