From patchwork Mon Sep 8 11:27:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 36962 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f69.google.com (mail-pa0-f69.google.com [209.85.220.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A290420491 for ; Mon, 8 Sep 2014 11:29:33 +0000 (UTC) Received: by mail-pa0-f69.google.com with SMTP id kx10sf3758864pab.8 for ; Mon, 08 Sep 2014 04:29:33 -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: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=C56UQtKmg882F2cPdpCaGo2dYRnHFa+gRE7px+BsBdA=; b=aI19FzwsCD/+5qC47c+HHPDq4cnexqwMpa46ikKdTkUzrUEGu1VXcgIqWUxbvO2jeb ZZjUv71uc7Pg4A+aCtJTJcwtWNfxaczvp0hOQNkUualda7pO0m1nTR0ltXkU5FhkEJ9q YpDZCwr+T+9REnAVvbWSxl/uJ6cg/A7Qo2XRRFu9Y9mdNb9/l46TAMwPauzekzQRwrer 3ZLcSrMmwq9NkIlPdJ8Fr1znUKxv6bOB9lxVDprR1LpTaW5UXWbvEzdcEnC7zifsrrh6 Tl4R0XbsKF4vqxp6DgndFQPT+68zb9L6sd95ITzvUAUF0TAIJiuNy7iyRn+iKlDCWc5b ycnA== X-Gm-Message-State: ALoCoQm/NPM5ZsY1w/QL1jMgV1Ofjv+Wm2EAJqDRab98x2NnijbILMwpu6/ZMH7LnVjCUSAxzIdY X-Received: by 10.70.119.74 with SMTP id ks10mr3368842pdb.9.1410175772823; Mon, 08 Sep 2014 04:29:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.38.176 with SMTP id t45ls1704207qgt.60.gmail; Mon, 08 Sep 2014 04:29:32 -0700 (PDT) X-Received: by 10.52.162.74 with SMTP id xy10mr319261vdb.51.1410175772640; Mon, 08 Sep 2014 04:29:32 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id k10si62132vcv.84.2014.09.08.04.29.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Sep 2014 04:29:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id le20so1200508vcb.18 for ; Mon, 08 Sep 2014 04:29:32 -0700 (PDT) X-Received: by 10.220.190.134 with SMTP id di6mr363463vcb.43.1410175772561; Mon, 08 Sep 2014 04:29:32 -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.45.67 with SMTP id uj3csp118205vcb; Mon, 8 Sep 2014 04:29:31 -0700 (PDT) X-Received: by 10.66.102.68 with SMTP id fm4mr46542903pab.46.1410175770987; Mon, 08 Sep 2014 04:29:30 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id ny12si17184319pab.172.2014.09.08.04.29.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Sep 2014 04:29:29 -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 1XQx7J-0004sI-85; Mon, 08 Sep 2014 11:28:17 +0000 Received: from mail-we0-f169.google.com ([74.125.82.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XQx7F-0004ka-6K for linux-arm-kernel@lists.infradead.org; Mon, 08 Sep 2014 11:28:14 +0000 Received: by mail-we0-f169.google.com with SMTP id w61so525534wes.28 for ; Mon, 08 Sep 2014 04:27:47 -0700 (PDT) X-Received: by 10.180.13.195 with SMTP id j3mr3597996wic.70.1410175667624; Mon, 08 Sep 2014 04:27:47 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id eh3sm11411963wic.4.2014.09.08.04.27.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Sep 2014 04:27:46 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Arnd Bergmann Subject: [PATCH] ARM: on a generic DT system: do not touch l2x0 Date: Mon, 8 Sep 2014 13:27:41 +0200 Message-Id: <1410175661-31011-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140908_042813_376929_53FB30C7 X-CRM114-Status: GOOD ( 11.17 ) 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 [74.125.82.169 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [74.125.82.169 listed in wl.mailspike.net] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Linus Walleij , Russell King 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: linus.walleij@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.173 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 Set no bits, mask all bits in the AUX l2x0 register for the default DT ARM system: if anything needs to be modified, it should be done using DT bindings. Suggested-by: Arnd Bergmann Cc: Russell King Signed-off-by: Linus Walleij --- arch/arm/kernel/devtree.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/kernel/devtree.c b/arch/arm/kernel/devtree.c index 11c54de9f8cf..d989c0c2b221 100644 --- a/arch/arm/kernel/devtree.c +++ b/arch/arm/kernel/devtree.c @@ -207,6 +207,8 @@ const struct machine_desc * __init setup_machine_fdt(unsigned int dt_phys) #ifdef CONFIG_ARCH_MULTIPLATFORM DT_MACHINE_START(GENERIC_DT, "Generic DT based system") + .l2c_aux_val = 0x0, + .l2c_aux_mask = ~0x0, MACHINE_END mdesc_best = &__mach_desc_GENERIC_DT;