From patchwork Mon May 11 22:17:31 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sjoerd Simons X-Patchwork-Id: 6384441 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4AE2F9F374 for ; Mon, 11 May 2015 22:20:36 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7B8F820421 for ; Mon, 11 May 2015 22:20:35 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B9BBF2028D for ; Mon, 11 May 2015 22:20:34 +0000 (UTC) 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 1Yrw1o-0005Rm-LT; Mon, 11 May 2015 22:18:24 +0000 Received: from bhuna.collabora.co.uk ([93.93.135.160]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yrw1P-0005CF-Uh for linux-arm-kernel@lists.infradead.org; Mon, 11 May 2015 22:18:01 +0000 Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: sjoerd) with ESMTPSA id 7BE10600088 Received: by dusk.luon.net (Postfix, from userid 1000) id B395826D40; Tue, 12 May 2015 00:17:31 +0200 (CEST) From: Sjoerd Simons To: Rob Herring , Russell King , Tony Lindgren Subject: [PATCH 3/3] ARM: l2c: highbank: Add dummy configure function Date: Tue, 12 May 2015 00:17:31 +0200 Message-Id: <1431382651-15894-4-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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150511_151800_169713_36D8A572 X-CRM114-Status: UNSURE ( 9.15 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Javier Martinez Canillas 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add empty configure function for the highbank l2c to reflect that the cache can't be configured through a SMC. This prevent a useless WARN_ONCE during early boot. Signed-off-by: Sjoerd Simons --- arch/arm/mach-highbank/highbank.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/mach-highbank/highbank.c b/arch/arm/mach-highbank/highbank.c index 8e4846d..cee18db 100644 --- a/arch/arm/mach-highbank/highbank.c +++ b/arch/arm/mach-highbank/highbank.c @@ -60,6 +60,10 @@ static void highbank_l2c310_write_sec(unsigned long val, unsigned reg) reg); } +static void highbank_l2c310_configure(const struct l2x0_regs *regs) +{ +} + static void __init highbank_init_irq(void) { irqchip_init(); @@ -68,6 +72,7 @@ static void __init highbank_init_irq(void) highbank_scu_map_io(); if (IS_ENABLED(CONFIG_CACHE_L2X0)) { + outer_cache.configure = highbank_l2c310_configure; outer_cache.skip_unlock = true; } }