aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/patches-3.18/030-MIPS-Always-use-IRQ-domains-for-CPU-IRQs.patch
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-12-02 22:16:37 +0000
committerJonas Gorski <jogo@openwrt.org>2015-12-02 22:16:37 +0000
commit9d7e058a237f04d99797174f2764d90ac8b41818 (patch)
treebae58af1d3e549db373c32b9c46b4e3e1eef46d3 /target/linux/brcm63xx/patches-3.18/030-MIPS-Always-use-IRQ-domains-for-CPU-IRQs.patch
parente9390dcf233733ec269c30e922d285523d068ffc (diff)
downloadupstream-9d7e058a237f04d99797174f2764d90ac8b41818.tar.gz
upstream-9d7e058a237f04d99797174f2764d90ac8b41818.tar.bz2
upstream-9d7e058a237f04d99797174f2764d90ac8b41818.zip
brcm63xx: drop 3.18 support
Drop 3.18 support; it will live on in CC. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 47696
Diffstat (limited to 'target/linux/brcm63xx/patches-3.18/030-MIPS-Always-use-IRQ-domains-for-CPU-IRQs.patch')
-rw-r--r--target/linux/brcm63xx/patches-3.18/030-MIPS-Always-use-IRQ-domains-for-CPU-IRQs.patch98
1 files changed, 0 insertions, 98 deletions
diff --git a/target/linux/brcm63xx/patches-3.18/030-MIPS-Always-use-IRQ-domains-for-CPU-IRQs.patch b/target/linux/brcm63xx/patches-3.18/030-MIPS-Always-use-IRQ-domains-for-CPU-IRQs.patch
deleted file mode 100644
index cfa72980d2..0000000000
--- a/target/linux/brcm63xx/patches-3.18/030-MIPS-Always-use-IRQ-domains-for-CPU-IRQs.patch
+++ /dev/null
@@ -1,98 +0,0 @@
-From 0f84c305351c993e4307e1e8c128d44760314e31 Mon Sep 17 00:00:00 2001
-From: Andrew Bresticker <abrestic@chromium.org>
-Date: Thu, 18 Sep 2014 14:47:07 -0700
-Subject: [PATCH 1/3] MIPS: Always use IRQ domains for CPU IRQs
-
-Use an IRQ domain for the 8 CPU IRQs in both the DT and non-DT cases.
-
-Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
-Reviewed-by: Qais Yousef <qais.yousef@imgtec.com>
-Tested-by: Qais Yousef <qais.yousef@imgtec.com>
-Cc: Thomas Gleixner <tglx@linutronix.de>
-Cc: Jason Cooper <jason@lakedaemon.net>
-Cc: Andrew Bresticker <abrestic@chromium.org>
-Cc: Jeffrey Deans <jeffrey.deans@imgtec.com>
-Cc: Markos Chandras <markos.chandras@imgtec.com>
-Cc: Paul Burton <paul.burton@imgtec.com>
-Cc: Qais Yousef <qais.yousef@imgtec.com>
-Cc: Jonas Gorski <jogo@openwrt.org>
-Cc: John Crispin <blogic@openwrt.org>
-Cc: David Daney <ddaney.cavm@gmail.com>
-Cc: linux-mips@linux-mips.org
-Cc: linux-kernel@vger.kernel.org
-Patchwork: https://patchwork.linux-mips.org/patch/7799/
-Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
----
- arch/mips/Kconfig | 1 +
- arch/mips/kernel/irq_cpu.c | 36 +++++++++++-------------------------
- 2 files changed, 12 insertions(+), 25 deletions(-)
-
---- a/arch/mips/Kconfig
-+++ b/arch/mips/Kconfig
-@@ -1056,6 +1056,7 @@ config MIPS_HUGE_TLB_SUPPORT
-
- config IRQ_CPU
- bool
-+ select IRQ_DOMAIN
-
- config IRQ_CPU_RM7K
- bool
---- a/arch/mips/kernel/irq_cpu.c
-+++ b/arch/mips/kernel/irq_cpu.c
-@@ -98,28 +98,6 @@ static struct irq_chip mips_mt_cpu_irq_c
- .irq_enable = unmask_mips_irq,
- };
-
--void __init mips_cpu_irq_init(void)
--{
-- int irq_base = MIPS_CPU_IRQ_BASE;
-- int i;
--
-- /* Mask interrupts. */
-- clear_c0_status(ST0_IM);
-- clear_c0_cause(CAUSEF_IP);
--
-- /* Software interrupts are used for MT/CMT IPI */
-- for (i = irq_base; i < irq_base + 2; i++)
-- irq_set_chip_and_handler(i, cpu_has_mipsmt ?
-- &mips_mt_cpu_irq_controller :
-- &mips_cpu_irq_controller,
-- handle_percpu_irq);
--
-- for (i = irq_base + 2; i < irq_base + 8; i++)
-- irq_set_chip_and_handler(i, &mips_cpu_irq_controller,
-- handle_percpu_irq);
--}
--
--#ifdef CONFIG_IRQ_DOMAIN
- static int mips_cpu_intc_map(struct irq_domain *d, unsigned int irq,
- irq_hw_number_t hw)
- {
-@@ -142,8 +120,7 @@ static const struct irq_domain_ops mips_
- .xlate = irq_domain_xlate_onecell,
- };
-
--int __init mips_cpu_intc_init(struct device_node *of_node,
-- struct device_node *parent)
-+static void __init __mips_cpu_irq_init(struct device_node *of_node)
- {
- struct irq_domain *domain;
-
-@@ -155,7 +132,16 @@ int __init mips_cpu_intc_init(struct dev
- &mips_cpu_intc_irq_domain_ops, NULL);
- if (!domain)
- panic("Failed to add irqdomain for MIPS CPU");
-+}
-
-+void __init mips_cpu_irq_init(void)
-+{
-+ __mips_cpu_irq_init(NULL);
-+}
-+
-+int __init mips_cpu_intc_init(struct device_node *of_node,
-+ struct device_node *parent)
-+{
-+ __mips_cpu_irq_init(of_node);
- return 0;
- }
--#endif /* CONFIG_IRQ_DOMAIN */