From patchwork Mon Jan 4 01:18:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 59110 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp5089191lbb; Sun, 3 Jan 2016 17:18:39 -0800 (PST) X-Received: by 10.66.234.8 with SMTP id ua8mr123827498pac.45.1451870319252; Sun, 03 Jan 2016 17:18:39 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id sp7si14009563pac.230.2016.01.03.17.18.39; Sun, 03 Jan 2016 17:18:39 -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 S1752481AbcADBSi (ORCPT + 2 others); Sun, 3 Jan 2016 20:18:38 -0500 Received: from mail-lf0-f54.google.com ([209.85.215.54]:36302 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752063AbcADBSh (ORCPT ); Sun, 3 Jan 2016 20:18:37 -0500 Received: by mail-lf0-f54.google.com with SMTP id z124so262442470lfa.3 for ; Sun, 03 Jan 2016 17:18:37 -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=O4guy3k61VL51hM4Odl66H/keD4bSMItp+LRXLQeVGE=; b=JyJoGCLc2S2AcY45fZnGwhbGjNh4BrR//Fh5EUEmVkDjd603WWjs6wCP8q0klXWZHG CjFeCmecbnskVAU3x5xD2CvKPZ019ljqbGev8hUETtrONTxAFjpS941ANJ892QlZktE8 /2AsBsnh3WT70NRy6BMdcZo5P0gja/v3studE= 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=O4guy3k61VL51hM4Odl66H/keD4bSMItp+LRXLQeVGE=; b=a3qAt/CRtJ+PHfo+2LSaHiT9NHO/E8nuOC7YXjL6qrPAQgc+cosCx8uRFKAZ7SgHYz VO4WRVYZaZYpkgZvT3OqP9o8jZYpIiU3C4Fpgxv8Q583739Zc9tOBW8RWSx6nDq0+ieo auwMBoojJ4BYtuaJZ1Iw6GddNSvG/Vlx8+YS5cPXqRBMUDjhimLEwSaqL5GeubKthD57 QJytGjxZMhDfl9YynSzknDCFPMtcf5oAmaagAGQ8rpoUwEuC1pyU+kmfDtTTYl3v3R9T JjCAsHgi1lDxrECescwxGZA16oprSD0+k71nDUZpD7eKe9goSdDNhPPiwlKOynmvSR4b dxuw== X-Gm-Message-State: ALoCoQl9x0i+xBceOht475o8aNDPD2xkznATDG7HQaOKdjj6ZH3aaiPlFJm7T15iJYrB2ggw3Vq52PsK2h6Xm6OZQ/3YhDIVvg== X-Received: by 10.25.160.1 with SMTP id j1mr1433725lfe.35.1451870316335; Sun, 03 Jan 2016 17:18:36 -0800 (PST) Received: from localhost.localdomain.localdomain (c-297471d5.01-192-6c756e10.cust.bredbandsbolaget.se. [213.113.116.41]) by smtp.gmail.com with ESMTPSA id d75sm15409505lfb.1.2016.01.03.17.18.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jan 2016 17:18:34 -0800 (PST) From: Linus Walleij To: arm@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , stable@vger.kernel.org Subject: [PATCH] ARM: nomadik: set latencies to 8 cycles Date: Mon, 4 Jan 2016 02:18:28 +0100 Message-Id: <1451870308-19245-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 The Nomadik has sporadic crashes because of these latencies, setting them to max makes the platform work nicely, so use this values for now. These latencies were set to 2 since the Nomadik platform was merged, but I suspect they never took effect until the right size and associativity for the cache was specified in the device tree and that is why the crash comes now. Cc: stable@vger.kernel.org Signed-off-by: Linus Walleij --- ARM SoC folks: please apply this directly for fixes at your convenience. --- arch/arm/boot/dts/ste-nomadik-stn8815.dtsi | 6 +++--- 1 file changed, 3 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 314f59c12162..d0c743853318 100644 --- a/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi +++ b/arch/arm/boot/dts/ste-nomadik-stn8815.dtsi @@ -25,9 +25,9 @@ cache-sets = <512>; cache-line-size = <32>; /* At full speed latency must be >=2 */ - arm,tag-latency = <2>; - arm,data-latency = <2 2>; - arm,dirty-latency = <2>; + arm,tag-latency = <8>; + arm,data-latency = <8 8>; + arm,dirty-latency = <8>; }; mtu0: mtu@101e2000 {