Files
linux/arch/xtensa/include/asm
Max Filippov a2f6827682 xtensa: don't use linux IRQ #0
commit e5c86679d5 upstream.

Linux IRQ #0 is reserved for error reporting and may not be used.
Increase NR_IRQS for one additional slot and increase
irq_domain_add_legacy parameter first_irq value to 1, so that linux
IRQ #0 is not associated with hardware IRQ #0 in legacy IRQ domains.
Introduce macro XTENSA_PIC_LINUX_IRQ for static translation of xtensa
PIC hardware IRQ # to linux IRQ #. Use this macro in XTFPGA platform
data definitions.

This fixes inability to use hardware IRQ #0 in configurations that don't
use device tree and allows for non-identity mapping between linux IRQ #
and hardware IRQ #.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-06-17 06:41:58 +02:00
..
2016-01-12 20:46:58 +02:00
2016-07-24 06:33:29 +03:00
2015-08-17 07:33:39 +03:00
2014-01-15 00:28:11 +04:00
2011-03-31 11:26:23 -03:00
2013-02-23 19:35:57 -08:00
2009-04-02 23:41:29 -07:00
2017-06-17 06:41:58 +02:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:58 -08:00
2014-01-15 00:27:03 +04:00
2014-01-14 10:19:58 -08:00
2014-01-14 10:19:59 -08:00
2013-02-23 19:22:31 -08:00