Ralf Baechle
4ff3fccd86
MIPS: Remove __strlen_user().
...
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:00 +01:00
Rafał Miłecki
e5810fa0c1
MIPS: BCM47XX: Initialize bcma bus later (with mm available)
...
Initializaion with memory allocator available will be much simpler, this
will allow cleanup in the bcma code.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com >
Acked-by: Hauke Mehrtens <hauke@hauke-m.de >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8234/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:45:00 +01:00
Rafał Miłecki
a59da8fb3b
MIPS: BCM47XX: Move SPROM fallback code into sprom.c
...
This is some general cleanup as well as preparing sprom.c to become a
standalone driver. We will need this for bcm53xx ARM arch support.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com >
Acked-by: Hauke Mehrtens <hauke@hauke-m.de >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/8232/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:59 +01:00
Rafał Miłecki
7177efc5b0
MIPS: BCM47XX: Make bcma init NVRAM instead of bcm47xx polling it
...
This drops ssb/bcma dependency and will allow us to make it a standalone
driver.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com >
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de >
Patchwork: https://patchwork.linux-mips.org/patch/8233/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:59 +01:00
Rafał Miłecki
21400f252a
MIPS: BCM47XX: Make ssb init NVRAM instead of bcm47xx polling it
...
This makes NVRAM code less bcm47xx/ssb specific allowing it to become a
standalone driver in the future. A similar patch for bcma will follow
when it's ready.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com >
Acked-by: Hauke Mehrtens <hauke@hauke-m.de >
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7612/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:59 +01:00
Rafał Miłecki
8d602dd0f9
MIPS: BCM47XX: Get rid of calls to KSEG1ADDR
...
We should be using ioremap_nocache helper which handles remaps in a
smarter way.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com >
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de >
Patchwork: http://patchwork.linux-mips.org/patch/7611/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:59 +01:00
Andrew Bresticker
4060bbe993
MIPS: Move gic.h to include/linux/irqchip/mips-gic.h
...
Now that the MIPS GIC irqchip lives in drivers/irqchip/, move
its header over to include/linux/irqchip/.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jason Cooper <jason@lakedaemon.net >
Cc: Paul Burton <paul.burton@imgtec.com >
Cc: Qais Yousef <qais.yousef@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8129/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:59 +01:00
Andrew Bresticker
5f68fea09e
irqchip: mips-gic: Use proper iomem accessors
...
Get rid of the ugly GICREAD/GICWRITE/GICBIS macros and use proper
iomem accessors instead. Since the GIC registers are not directly
accessed outside of the GIC driver any more, make gic_base static
and move all the GIC register manipulation macros out of gic.h,
converting them to static inline functions.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jason Cooper <jason@lakedaemon.net >
Cc: Paul Burton <paul.burton@imgtec.com >
Cc: Qais Yousef <qais.yousef@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8127/
Patchwork: https://patchwork.linux-mips.org/patch/8229/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:58 +01:00
Andrew Bresticker
609ead041b
MIPS: Malta: Stop using GIC REG macros
...
Stop using the REG macros from gic.h and instead use proper iomem
accessors.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jason Cooper <jason@lakedaemon.net >
Cc: Paul Burton <paul.burton@imgtec.com >
Cc: Qais Yousef <qais.yousef@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8126/
Patchwork: https://patchwork.linux-mips.org/patch/8227/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:58 +01:00
Andrew Bresticker
327b8c89d4
MIPS: SEAD3: Stop using GIC REG macros
...
Stop using the REG macros from gic.h and instead use proper iomem
accessors.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jason Cooper <jason@lakedaemon.net >
Cc: Paul Burton <paul.burton@imgtec.com >
Cc: Qais Yousef <qais.yousef@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8125/
Patchwork: https://patchwork.linux-mips.org/patch/8228/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:58 +01:00
Andrew Bresticker
387904ff84
irqchip: mips-gic: Export function to read counter width
...
Export the function gic_get_count_width to read the width of
the GIC global counter from GIC_SH_CONFIG. Update the GIC
clocksource driver to use this new function.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jason Cooper <jason@lakedaemon.net >
Cc: Paul Burton <paul.burton@imgtec.com >
Cc: Qais Yousef <qais.yousef@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8124/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:57 +01:00
Andrew Bresticker
7d9ad5d8c3
MIPS: Malta: Use gic_read_count() to read GIC timer
...
Instead of reading the GIC registers directly, use the interface the GIC
driver already exposes for reading the global timer. Also get rid of
the unnecessary #ifdefs.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Cc: Daniel Lezcano <daniel.lezcano@linaro.org >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jason Cooper <jason@lakedaemon.net >
Cc: Paul Burton <paul.burton@imgtec.com >
Cc: Qais Yousef <qais.yousef@imgtec.com >
Cc: John Crispin <blogic@openwrt.org >
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8123/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:57 +01:00
Andrew Bresticker
a393d93059
MIPS: SEAD3: Use generic plat_irq_dispatch
...
The generic plat_irq_dispatch provided in irq_cpu.c is sufficient for
dispatching interrupts on SEAD-3 in legacy and vectored interrupt modes.
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: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7822/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:57 +01:00
Andrew Bresticker
4203d644e0
MIPS: Malta: Use generic plat_irq_dispatch
...
The generic plat_irq_dispatch provided in irq_cpu.c is sufficient for
dispatching interrupts on Malta in legacy and vectored interrupt modes.
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: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7821/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:57 +01:00
Andrew Bresticker
3263d085ab
irqchip: mips-gic: Remove unnecessary globals
...
Now that all GIC interrupt routing and handling logic is in the GIC
driver itself, un-export variables/functions which are no longer used
outside the GIC driver. This also allows us to remove gic_compare_int
and combine gic_get_int_mask with gic_get_int since these interfaces
are no longer used.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7820/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:57 +01:00
Andrew Bresticker
e9de688dac
irqchip: mips-gic: Support local interrupts
...
The MIPS GIC supports 7 local interrupts, 2 of which are the GIC
local watchdog and count/compare timer. The remainder are CPU
interrupts which may optionally be re-routed through the GIC.
GIC hardware IRQs 0-6 are now used for local interrupts while
hardware IRQs 7+ are used for external (shared) interrupts.
Note that the 5 CPU interrupts may not be re-routable through
the GIC. In that case mapping will fail and the vectors reported
in C0_IntCtl should be used instead. gic_get_c0_compare_int() and
gic_get_c0_perfcount_int() will return the correct IRQ number to
use for the C0 timer and perfcounter interrupts based on the
routability of those interrupts through the GIC.
A separate irq_chip, with callbacks that mask/unmask the local
interrupt on all CPUs, is used for the C0 timer and performance
counter interrupts since all other platforms do not use the percpu
IRQ API for those interrupts.
Malta, SEAD-3, and the GIC clockevent driver have been updated
to use local interrupts and the R4K clockevent driver has been
updated to poll for C0 timer interrupts through the GIC when
the GIC is present.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7819/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:56 +01:00
Andrew Bresticker
4a6a3ea392
irqchip: mips-gic: Use separate edge/level irq_chips
...
GIC edge-triggered interrupts must be acknowledged by clearing the edge
detector via a write to GIC_SH_WEDGE. Create a separate edge-triggered
irq_chip with the appropriate irq_ack() callback. This also allows us
to get rid of gic_irq_flags.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7818/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:56 +01:00
Andrew Bresticker
fbd552417b
irqchip: mips-gic: Probe for number of external interrupts
...
Instead of requiring platforms to define the correct GIC_NUM_INTRS,
use the value reported in GIC_SH_CONFIG.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7817/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:56 +01:00
Andrew Bresticker
18743d2781
irqchip: mips-gic: Stop using per-platform mapping tables
...
Now that the GIC properly uses IRQ domains, kill off the per-platform
routing tables that were used to make the GIC appear transparent.
This includes:
- removing the mapping tables and the support for applying them,
- moving GIC IPI support to the GIC driver,
- properly routing the i8259 through the GIC on Malta, and
- updating IRQ assignments on SEAD-3 when the GIC is present.
Platforms no longer will pass an interrupt mapping table to gic_init.
Instead, they will pass the CPU interrupt vector (2 - 7) that they
expect the GIC to route interrupts to. Note that in EIC mode this
value is ignored and all GIC interrupts are routed to EIC vector 1.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7816/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:56 +01:00
Andrew Bresticker
c49581a4df
irqchip: mips-gic: Use IRQ domains
...
Use a simple IRQ domain for the MIPS GIC. Remove the gic_platform_init
callback as it's no longer necessary for it to set the irqchip.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7811/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:55 +01:00
Andrew Bresticker
14d160ab72
irqchip: mips-gic: Fix gic_set_affinity() return value
...
If the online CPU check in gic_set_affinity() fails, return a proper
errno value instead of -1.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7814/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:55 +01:00
Andrew Bresticker
95150ae8b3
irqchip: mips-gic: Implement irq_set_type callback
...
Implement an irq_set_type callback for the GIC which is used to set
the polarity and trigger type of GIC interrupts.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7810/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:55 +01:00
Andrew Bresticker
5561c9e467
irqchip: mips-gic: Remove platform irq_ack/irq_eoi callbacks
...
There's no need for platforms to have their own GIC irq_ack/irq_eoi
callbacks. irq_ack need only clear the GIC's edge detector on
edge-triggered interrupts and there's no need at all for irq_eoi.
Also get rid of the mask_ack callback since it's not necessary either.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7809/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:55 +01:00
Andrew Bresticker
8a19b8f194
MIPS: Move GIC to drivers/irqchip/
...
Move GIC irqchip support to drivers/irqchip/ and rename the Kconfig
option from IRQ_GIC to MIPS_GIC to avoid confusion with the ARM GIC.
Signed-off-by: Andrew Bresticker <abrestic@chromium.org >
Acked-by: Jason Cooper <jason@lakedaemon.net >
Reviewed-by: Qais Yousef <qais.yousef@imgtec.com >
Tested-by: Qais Yousef <qais.yousef@imgtec.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7812/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:54 +01:00
Andrew Bresticker
8635233ca5
MIPS: Move MIPS_GIC_IRQ_BASE into platform irq.h
...
Define a generic MIPS_GIC_IRQ_BASE which should be suitable for all
current boards in <mach-generic/irq.h>.
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: Jeffrey Deans <jeffrey.deans@imgtec.com >
Cc: Markos Chandras <markos.chandras@imgtec.com >
Cc: Paul Burton <paul.burton@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/7808/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org >
2014-11-24 07:44:54 +01:00