From patchwork Wed Jan 27 22:24:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 60663 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp117481lbb; Wed, 27 Jan 2016 14:24:24 -0800 (PST) X-Received: by 10.98.80.76 with SMTP id e73mr46238005pfb.24.1453933464279; Wed, 27 Jan 2016 14:24:24 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xe7si12109213pab.3.2016.01.27.14.24.24; Wed, 27 Jan 2016 14:24:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965634AbcA0WYX (ORCPT + 2 others); Wed, 27 Jan 2016 17:24:23 -0500 Received: from mail-lb0-f171.google.com ([209.85.217.171]:36105 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964843AbcA0WYW (ORCPT ); Wed, 27 Jan 2016 17:24:22 -0500 Received: by mail-lb0-f171.google.com with SMTP id dx2so13570009lbd.3 for ; Wed, 27 Jan 2016 14:24:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=wxBQFwb0yEqwR05knt8KKgOS0iA4M9iLPRt3InMshOI=; b=VFbRiTqLxJGVR7/gNdpeHUXZsHux1q1OCDXRKZxK2jBYFi3c0b/+q+lGImqcisYTw7 iMc7MUwiMbbyYm5bUH1YyVQszVmxmeB3QV4iS8rAvF0TPETDfHBhqpHg8UYkpYEXkevt kE0W93XHX5NUN1aPFy5vEfgMCrEbWRH8AbV/Q= 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; bh=wxBQFwb0yEqwR05knt8KKgOS0iA4M9iLPRt3InMshOI=; b=mccvDwuG7f0XzMYxix5p/tY4PLWoELkYmDGfzlsk6k9u8OiOLegW3rxS34XJAujuEo 4b7IJCKsrK9+8EgAqaM9RMji/GlOEuSG+ukFbwK79PVZng4eXzaF97fHv1Q7kvvD8nEJ t4uAeRkooWZjRF9y1bfWnvVkJ6oh31odudvszuEiU7Lx0MAvCkQP7v/1AMQfNN6xMYbE CVeR1buFjZEgVGpZb5F5KlF+Uw8fWLdLS2vak0UcJ7Rpbqi8GNaaR+Jcg5cQ8ORj9Dkz ytxoKDqDdfgrC3owAXxr9KyLVryu/Ycjzh97J0pyA3ETu6RFtr5EBeAFWpZcEczlSfMk liuA== X-Gm-Message-State: AG10YOQ6S2N3uU6T2aU3OpWqshPCSoQVKaKzhAyz9BnHq7XwWOijGVRzZ6ieSXKHi3IH4I73 X-Received: by 10.112.126.72 with SMTP id mw8mr11877673lbb.14.1453933461318; Wed, 27 Jan 2016 14:24:21 -0800 (PST) Received: from localhost.localdomain.localdomain (c-917a71d5.01-192-6c756e10.cust.bredbandsbolaget.se. [213.113.122.145]) by smtp.gmail.com with ESMTPSA id b135sm1063117lfe.28.2016.01.27.14.24.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jan 2016 14:24:20 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Russell King Cc: Linus Walleij , stable@vger.kernel.org Subject: [PATCH 2/2] ARM: nomadik: get the cache running normally Date: Wed, 27 Jan 2016 23:24:11 +0100 Message-Id: <1453933451-6716-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 2.4.3 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org There were earlier problems with the L210 cache on the Nomadik. It turns out that to run the cache at full speed, you need to set the "write allocate override" bit in the auxilary control register. Now that this bit can be set from the device tree, we can set down the latencies to 2 again. Cc: stable@vger.kernel.org Fixes: a461a3ecfc7e ("ARM: nomadik: set latencies to 8 cycles") Signed-off-by: Linus Walleij --- arch/arm/boot/dts/ste-nomadik-stn8815.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi index d0c743853318..50c256f0fd98 100644 --- a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi +++ b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi @@ -25,9 +25,10 @@ cache-sets = <512>; cache-line-size = <32>; /* At full speed latency must be >=2 */ - arm,tag-latency = <8>; - arm,data-latency = <8 8>; - arm,dirty-latency = <8>; + arm,tag-latency = <2>; + arm,data-latency = <2 2>; + arm,dirty-latency = <2>; + arm,write-allocate-override; }; mtu0: mtu@101e2000 {