History log of /arch/sh/include/asm/irq.h
Revision Date Author Comments
7f1e76370b717be264f0af54719182a96fb8f36d 17-Jan-2012 Rob Herring <rob.herring@calxeda.com> sh: intc: unify evt2irq/irq2evt macros for sh and arm

Move evt2irq and irq2evt macros definitions out of sh and arm includes
into a common location.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
b32f1fef4fd7bdfb4f1c466393e7f3e3f359c5e0 06-Jul-2010 Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> sh: modify NR_IRQS from 256 to 512

Newer parts need NR_IRQS > 256, so simply bump this up to 512 across the
board. At this point sparseirq is used unconditionally across all CPUs,
so this introduces minimal overhead.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
763142d1efb56effe614d71185781796c4b83c78 26-Apr-2010 Paul Mundt <lethal@linux-sh.org> sh: CPU hotplug support.

This adds preliminary support for CPU hotplug for SH SMP systems.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
dc825b17904a06bbd2f79d720b23156e4c01a22f 15-Apr-2010 Paul Mundt <lethal@linux-sh.org> sh: intc: IRQ auto-distribution support.

This implements support for hardware-managed IRQ balancing as implemented
by SH-X3 cores (presently only hooked up for SH7786, but can probably be
carried over to other SH-X3 cores, too).

CPUs need to specify their distribution register along with the mask
definitions, as these follow the same format. Peripheral IRQs that don't
opt out of balancing will be automatically distributed at the whim of the
hardware block, while each CPU needs to verify whether it is handling the
IRQ or not, especially before clearing the mask.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
f8f06bc74b5afbb434b8f3982db19acdbf48dee9 14-Jun-2009 Paul Mundt <lethal@linux-sh.org> sh: Tidy up duplication in irq/swab/timex.h.

The asm-generic versions have some helper definitions that we can use
instead, drop our definitions and use those instead.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
62fad39be0662a924b60e4354b802525ceda0bb1 22-May-2009 Paul Mundt <lethal@linux-sh.org> sh: Add a NR_IRQS_LEGACY for external IRQ0-7.

This adds a NR_IRQS_LEGACY definition, which will be used by sparse irq.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
fa43972fab24a3c050e880a7831f9378c6cebc0b 04-Sep-2008 Paul Mundt <lethal@linux-sh.org> sh: fixup many sparse errors.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
f15cbe6f1a4b4d9df59142fc8e4abb973302cf44 29-Jul-2008 Paul Mundt <lethal@linux-sh.org> sh: migrate to arch/sh/include/

This follows the sparc changes a439fe51a1f8eb087c22dd24d69cebae4a3addac.

Most of the moving about was done with Sam's directions at:

http://marc.info/?l=linux-sh&m=121724823706062&w=2

with subsequent hacking and fixups entirely my fault.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>