From patchwork Fri Feb 28 13:01:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 25540 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f198.google.com (mail-ig0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 129CE20567 for ; Fri, 28 Feb 2014 13:02:41 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id h3sf2762563igd.1 for ; Fri, 28 Feb 2014 05:02:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=QMm+D8JA8v/PUV37tZWm3SGO8FCZxDO/RM89ADCwV5E=; b=JrzvkiWnDGfyvy4Qz4mwLrxZ3uQpyKnRXR/BXihf0FDqYZMsOuqg4j5oEa8kp1tszn fm/Y03DEqpIkKH1OUHDvNcjJYzcbSB9CC3cUain3+rvI29ZSZTFudJyRM83kpoLS2Uqy WwSRrp1W7BM88gUJvoc+iGGqahk2/hRnhZhMaJ0ZHy2F946R2BWPrg2DYANReSY9ufdu mY1uVHYJfP1J4eODLJ+ZYx8vjfFRfjF6eu5WCWJD28oBvmxmdlK/X/gU9as8VqiBDH7g oL83X7HleN2wslrJVJ/eU5Nqfv05RRD56pEhZDoYftBkkUFCshRwE22A4m/wEWsAzVXn ZLdw== X-Gm-Message-State: ALoCoQlEzmw1FgEPmpS4MI0q/tNYIa+CjBwoFTkvjAGg7JZotb1ygmmUdPJq8DUlli8pJkts31ML X-Received: by 10.182.60.37 with SMTP id e5mr6523656obr.30.1393592561209; Fri, 28 Feb 2014 05:02:41 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.11 with SMTP id w11ls1049182qgw.42.gmail; Fri, 28 Feb 2014 05:02:41 -0800 (PST) X-Received: by 10.52.164.137 with SMTP id yq9mr5417049vdb.33.1393592561042; Fri, 28 Feb 2014 05:02:41 -0800 (PST) Received: from mail-ve0-f182.google.com (mail-ve0-f182.google.com [209.85.128.182]) by mx.google.com with ESMTPS id be7si1756095vcb.110.2014.02.28.05.02.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Feb 2014 05:02:41 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.182 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.182; Received: by mail-ve0-f182.google.com with SMTP id jy13so697968veb.13 for ; Fri, 28 Feb 2014 05:02:41 -0800 (PST) X-Received: by 10.52.242.167 with SMTP id wr7mr13223598vdc.32.1393592560952; Fri, 28 Feb 2014 05:02:40 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.130.193 with SMTP id u1csp52074vcs; Fri, 28 Feb 2014 05:02:40 -0800 (PST) X-Received: by 10.180.76.168 with SMTP id l8mr3261972wiw.40.1393592558447; Fri, 28 Feb 2014 05:02:38 -0800 (PST) Received: from casper.infradead.org (casper.infradead.org. [2001:770:15f::2]) by mx.google.com with ESMTPS id cd13si1927910wib.70.2014.02.28.05.02.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Feb 2014 05:02:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:770:15f::2 as permitted sender) client-ip=2001:770:15f::2; Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WJN53-00078y-2h; Fri, 28 Feb 2014 13:02:21 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WJN50-0002Ww-Qm; Fri, 28 Feb 2014 13:02:18 +0000 Received: from mail-wg0-f48.google.com ([74.125.82.48]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WJN4x-0002W9-Qb for linux-arm-kernel@lists.infradead.org; Fri, 28 Feb 2014 13:02:16 +0000 Received: by mail-wg0-f48.google.com with SMTP id b13so516609wgh.31 for ; Fri, 28 Feb 2014 05:01:52 -0800 (PST) X-Received: by 10.194.71.47 with SMTP id r15mr2610653wju.19.1393592512102; Fri, 28 Feb 2014 05:01:52 -0800 (PST) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id ga20sm6032373wic.0.2014.02.28.05.01.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Feb 2014 05:01:51 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: ux500: skip GIC CPU and dist address checks Date: Fri, 28 Feb 2014 14:01:47 +0100 Message-Id: <1393592507-2466-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.5.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140228_080215_968833_91AF5DC4 X-CRM114-Status: UNSURE ( 9.27 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.48 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Linus Walleij , Lee Jones X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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+patch=linaro.org@lists.infradead.org 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.182 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 Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The Ux500 is initializing its IRQs from the device tree and does not need to figure out any static base addresses anymore, this is just dead code so delete it. Cc: Lee Jones Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/cpu.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux500/cpu.c index d11ac4bf336c..db16b5a04ad5 100644 --- a/arch/arm/mach-ux500/cpu.c +++ b/arch/arm/mach-ux500/cpu.c @@ -52,17 +52,7 @@ void ux500_restart(enum reboot_mode mode, const char *cmd) */ void __init ux500_init_irq(void) { - void __iomem *dist_base; - void __iomem *cpu_base; - gic_arch_extn.flags = IRQCHIP_SKIP_SET_WAKE | IRQCHIP_MASK_ON_SUSPEND; - - if (cpu_is_u8500_family() || cpu_is_ux540_family()) { - dist_base = __io_address(U8500_GIC_DIST_BASE); - cpu_base = __io_address(U8500_GIC_CPU_BASE); - } else - ux500_unknown_soc(); - irqchip_init(); /*