Catalin Marinas
c0114709ed
irqchip: gic: Perform the gic_secondary_init() call via CPU notifier
...
All the calls to gic_secondary_init() pass 0 as the first argument.
Since this function is called on each CPU when starting, it can be done
in a platform-independent way via a CPU notifier registered by the GIC
code.
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com >
Acked-by: Stephen Warren <swarren@nvidia.com >
Acked-by: Viresh Kumar <viresh.kumar@linaro.org >
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com >
Acked-by: Rob Herring <rob.herring@calxeda.com >
Acked-by: Simon Horman <horms+renesas@verge.net.au >
Tested-by: Simon Horman <horms+renesas@verge.net.au >
Acked-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com >
Tested-by: Dinh Nguyen <dinguyen@altera.com >
Acked-by: Nicolas Pitre <nico@linaro.org >
Tested-by: Marc Zyngier <marc.zyngier@arm.com >
Cc: Russell King <linux@arm.linux.org.uk >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Kukjin Kim <kgene.kim@samsung.com >
Cc: Sascha Hauer <kernel@pengutronix.de >
Cc: David Brown <davidb@codeaurora.org >
Cc: Bryan Huntsman <bryanh@codeaurora.org >
Cc: Tony Lindgren <tony@atomide.com >
Cc: Magnus Damm <magnus.damm@gmail.com >
Cc: Shiraz Hashim <shiraz.hashim@st.com >
Cc: Linus Walleij <linus.walleij@linaro.org >
Cc: Will Deacon <will.deacon@arm.com >
Cc: Kukjin Kim <kgene.kim@samsung.com >
Cc: Barry Song <baohua.song@csr.com >
2013-03-26 16:12:02 +00:00
Marc Zyngier
a96ab03917
ARM: gic: add __ASSEMBLY__ guard to C definitions
...
The GIC include file being used by some of the KVM assembly code,
wrap the C definitions with a #ifdef __ASSEMBLY__ guard.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com >
2013-02-11 18:58:34 +00:00
Marc Zyngier
fdf77a72ec
ARM: gic: define GICH offsets for VGIC support
...
The GICH_* constants are defined by the GIC HW spec, and even though
they only be used by KVM to begin with, define them generically in gic.h.
Reviewed-by: Will Deacon <will.deacon@arm.com >
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com >
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com >
2013-02-11 18:58:23 +00:00
Christoffer Dall
7c7945a8f9
ARM: gic: add missing distributor defintions
...
Add missing register map offsets for the distributor and rename
GIC_DIST_ACTIVE_BIT to GIC_DIST_ACTIVE_SET to be consistent.
Reviewed-by: Will Deacon <will.deacon@arm.com >
Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com >
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com >
2013-02-11 18:57:47 +00:00
Rob Herring
520f7bd733
irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h
...
Now that we have GIC moved to drivers/irqchip and all GIC DT init for
platforms using irqchip_init, move gic.h and update the remaining
includes.
Signed-off-by: Rob Herring <rob.herring@calxeda.com >
Cc: Thomas Gleixner <tglx@linutronix.de >
Cc: Russell King <linux@arm.linux.org.uk >
Cc: Anton Vorontsov <avorontsov@mvista.com >
Cc: Kukjin Kim <kgene.kim@samsung.com >
Cc: Sascha Hauer <kernel@pengutronix.de >
Cc: David Brown <davidb@codeaurora.org >
Cc: Daniel Walker <dwalker@fifo99.com >
Cc: Bryan Huntsman <bryanh@codeaurora.org >
Cc: Tony Lindgren <tony@atomide.com >
Cc: Paul Mundt <lethal@linux-sh.org >
Cc: Magnus Damm <magnus.damm@gmail.com >
Cc: Viresh Kumar <viresh.linux@gmail.com >
Cc: Shiraz Hashim <shiraz.hashim@st.com >
Cc: Stephen Warren <swarren@wwwdotorg.org >
Cc: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com >
Cc: Linus Walleij <linus.walleij@linaro.org >
Cc: Samuel Ortiz <sameo@linux.intel.com >
2013-01-12 10:47:32 -06:00