Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752268AbbEKWRj (ORCPT ); Mon, 11 May 2015 18:17:39 -0400 Received: from bhuna.collabora.co.uk ([93.93.135.160]:43549 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751761AbbEKWRg (ORCPT ); Mon, 11 May 2015 18:17:36 -0400 From: Sjoerd Simons To: Rob Herring , Russell King , Tony Lindgren Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Javier Martinez Canillas Subject: [PATCH 2/3] ARM: l2c: highbank: Skip l2c unlocking Date: Tue, 12 May 2015 00:17:30 +0200 Message-Id: <1431382651-15894-3-git-send-email-sjoerd.simons@collabora.co.uk> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1431382651-15894-1-git-send-email-sjoerd.simons@collabora.co.uk> References: <1431382651-15894-1-git-send-email-sjoerd.simons@collabora.co.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1059 Lines: 32 The highbank SMC interface doesn't allow configuring the cache for unlocking from the non-secure world. So skip unlocking otherwise the machine get imprecise abort and become unstable on boot. Signed-off-by: Sjoerd Simons --- arch/arm/mach-highbank/highbank.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 231fba0..8e4846d 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c @@ -66,6 +66,10 @@ static void __init highbank_init_irq(void) if (of_find_compatible_node(NULL, NULL, "arm,cortex-a9")) highbank_scu_map_io(); + + if (IS_ENABLED(CONFIG_CACHE_L2X0)) { + outer_cache.skip_unlock = true; + } } static void highbank_power_off(void) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/