From patchwork Mon Sep 16 12:22:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 20336 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AFB6D24694 for ; Mon, 16 Sep 2013 12:22:20 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id a11sf4174760qen.6 for ; Mon, 16 Sep 2013 05:22:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=ssDjYcwc2khkTbML6sgn5/42ObHYhWlSIvM5nXN1F4M=; b=dmVlTJmSGftBhXZa14Kq2YJ0RBM4Rajbh4kVTLO2Twqth8098OOYgz1xGJoPp8gX8k 5kEjc0/wjJCmCHw+oD0V0e7IY00rBsmpflNWJ2/6GM+ynsWbsFReBPkAsiF3wX8EEUQG GTJ5HXFr+Dv/pgjq8VVK9QgJ+EyK7e+NF+2CluIgnS4opFaMn5ZgTvn99PyTNWZA/9pR dJ/qNI+Lw6B6lP1rq+Gjc2T18BtpUJ58Ny006AW6T9ZuD+MzSpVdxmuR7oJKE99UiX9y EoAT4LA0lhbnQJBVzDlD3oICfru4hjNqk60Zp5/ynLBCzkbUu3l6SQPWBydLBuMb6QPW 2IUg== X-Gm-Message-State: ALoCoQlXIxDcOnRzfc5U/fgoxjaGzGH6g7jVb3UaNlMskbXtd5iZDIyfwDcJUT4wJ8KzKf2SxL4V X-Received: by 10.236.24.195 with SMTP id x43mr10460499yhx.3.1379334139965; Mon, 16 Sep 2013 05:22:19 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.11.179 with SMTP id r19ls2260533qeb.76.gmail; Mon, 16 Sep 2013 05:22:19 -0700 (PDT) X-Received: by 10.220.13.20 with SMTP id z20mr26833180vcz.0.1379334139898; Mon, 16 Sep 2013 05:22:19 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id d9si3178010vee.9.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 05:22:19 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id oy12so2952958veb.12 for ; Mon, 16 Sep 2013 05:22:19 -0700 (PDT) X-Received: by 10.52.107.226 with SMTP id hf2mr2193091vdb.2.1379334139795; Mon, 16 Sep 2013 05:22:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp93459vcz; Mon, 16 Sep 2013 05:22:19 -0700 (PDT) X-Received: by 10.112.0.173 with SMTP id 13mr24807665lbf.8.1379334138066; Mon, 16 Sep 2013 05:22:18 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com [209.85.215.52]) by mx.google.com with ESMTPS id ao5si9765390lac.69.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Sep 2013 05:22:18 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.52 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id ev20so3082748lab.11 for ; Mon, 16 Sep 2013 05:22:17 -0700 (PDT) X-Received: by 10.152.9.37 with SMTP id w5mr6343837laa.23.1379334137340; Mon, 16 Sep 2013 05:22:17 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id m13sm12860610lbo.11.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 16 Sep 2013 05:22:16 -0700 (PDT) From: Linus Walleij To: arm@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Linus Walleij , Lee Jones Subject: [PATCH] ARM: ux500: disable outer cache debug Date: Mon, 16 Sep 2013 14:22:04 +0200 Message-Id: <1379334124-9703-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.181 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This fixes a multiplatform regression on the Ux500. When compiling the Ux500 platforms in multiplatform configurations both PL310_ERRATA_588369 and PL310_ERRATA_727915 would crash the platform when trying to launch the init process. The Ux500 cannot access the debug registers of the PL310, it will just crash if you try this. So disable this by setting the debug callback to NULL when initializing the l2x0 on this platform. Cc: Lee Jones Signed-off-by: Linus Walleij --- Hi ARM SoC folks: this (hopefully) fixes the bug that made Snowball (and other Ux500) not boot properly on multi_v7. Please apply this patch directly to your fixes branch if you're happy with it. --- arch/arm/mach-ux500/cache-l2x0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-ux500/cache-l2x0.c b/arch/arm/mach-ux500/cache-l2x0.c index 82ccf1d..264f894 100644 --- a/arch/arm/mach-ux500/cache-l2x0.c +++ b/arch/arm/mach-ux500/cache-l2x0.c @@ -69,6 +69,7 @@ static int __init ux500_l2x0_init(void) * some SMI service available. */ outer_cache.disable = NULL; + outer_cache.set_debug = NULL; return 0; }