OpenCloudOS-Kernel/arch/xtensa/platforms/xtfpga/include/platform
Max Filippov e5c86679d5 xtensa: don't use linux IRQ #0
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 #.

Cc: stable@vger.kernel.org
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2017-06-05 16:53:10 -07:00
..
hardware.h xtensa: don't use linux IRQ #0 2017-06-05 16:53:10 -07:00
lcd.h xtensa: xtfpga: fix hardware lockup caused by LCD driver 2015-02-27 07:55:29 +03:00
serial.h xtensa: add support for the XTFPGA boards 2012-12-18 21:10:24 -08:00