From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: [PATCH v3 4/5] ARM: tegra: Remove unused GIC initialization
Date: Tue, 26 Aug 2014 08:41:03 +0200 [thread overview]
Message-ID: <1409035264-16999-4-git-send-email-thierry.reding@gmail.com> (raw)
In-Reply-To: <1409035264-16999-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
From: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Tegra has been booting from DT exclusively for quite some time, so this
old code setting up the GIC for non-DT boot is unused and can therefore
be removed.
Signed-off-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
arch/arm/mach-tegra/irq.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c
index b2e2e6dbe52d..39a3358877e0 100644
--- a/arch/arm/mach-tegra/irq.c
+++ b/arch/arm/mach-tegra/irq.c
@@ -362,14 +362,5 @@ void __init tegra_init_irq(void)
gic_arch_extn.irq_set_wake = tegra_set_wake;
gic_arch_extn.flags = IRQCHIP_MASK_ON_SUSPEND;
- /*
- * Check if there is a devicetree present, since the GIC will be
- * initialized elsewhere under DT.
- */
- if (!of_have_populated_dt()) {
- void __iomem *cpubase = ioremap_nocache(0x50040000, 0x2000);
- gic_init(0, 29, distbase, cpubase);
- }
-
tegra114_gic_cpu_pm_registration();
}
--
2.0.4
WARNING: multiple messages have this Message-ID (diff)
From: thierry.reding@gmail.com (Thierry Reding)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v3 4/5] ARM: tegra: Remove unused GIC initialization
Date: Tue, 26 Aug 2014 08:41:03 +0200 [thread overview]
Message-ID: <1409035264-16999-4-git-send-email-thierry.reding@gmail.com> (raw)
In-Reply-To: <1409035264-16999-1-git-send-email-thierry.reding@gmail.com>
From: Thierry Reding <treding@nvidia.com>
Tegra has been booting from DT exclusively for quite some time, so this
old code setting up the GIC for non-DT boot is unused and can therefore
be removed.
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
arch/arm/mach-tegra/irq.c | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c
index b2e2e6dbe52d..39a3358877e0 100644
--- a/arch/arm/mach-tegra/irq.c
+++ b/arch/arm/mach-tegra/irq.c
@@ -362,14 +362,5 @@ void __init tegra_init_irq(void)
gic_arch_extn.irq_set_wake = tegra_set_wake;
gic_arch_extn.flags = IRQCHIP_MASK_ON_SUSPEND;
- /*
- * Check if there is a devicetree present, since the GIC will be
- * initialized elsewhere under DT.
- */
- if (!of_have_populated_dt()) {
- void __iomem *cpubase = ioremap_nocache(0x50040000, 0x2000);
- gic_init(0, 29, distbase, cpubase);
- }
-
tegra114_gic_cpu_pm_registration();
}
--
2.0.4
next prev parent reply other threads:[~2014-08-26 6:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-26 6:41 [PATCH v3 1/5] of: Add NVIDIA Tegra Legacy Interrupt Controller binding Thierry Reding
2014-08-26 6:41 ` Thierry Reding
[not found] ` <1409035264-16999-1-git-send-email-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-08-26 6:41 ` [PATCH v3 2/5] ARM: tegra: Add legacy interrupt controller nodes Thierry Reding
2014-08-26 6:41 ` Thierry Reding
2014-08-26 6:41 ` [PATCH v3 3/5] ARM: tegra: Initialize interrupt controller from DT Thierry Reding
2014-08-26 6:41 ` Thierry Reding
2014-08-26 6:41 ` Thierry Reding [this message]
2014-08-26 6:41 ` [PATCH v3 4/5] ARM: tegra: Remove unused GIC initialization Thierry Reding
2014-08-26 6:41 ` [PATCH v3 5/5] ARM: tegra: Remove unused defines Thierry Reding
2014-08-26 6:41 ` Thierry Reding
2014-08-26 17:59 ` [PATCH v3 1/5] of: Add NVIDIA Tegra Legacy Interrupt Controller binding Stephen Warren
2014-08-26 17:59 ` Stephen Warren
[not found] ` <53FCCAF1.9050504-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-08-27 5:58 ` Thierry Reding
2014-08-27 5:58 ` Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1409035264-16999-4-git-send-email-thierry.reding@gmail.com \
--to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.