zephyr/arch
Carlo Caione 1f6d4e2705 irq: cortex-r: Fix wrong irq enabling
In the cortex-r port we are currently using GIC as a fake cascade
controller hooked to a fake parent IRQ #0. And in gic_init() we use
IRQ_CONNECT() to connect this dummy IRQ.

Unfortunately this value is shifted and offset when calling
irq_set_priority_next_level() that tries to set the IRQ priority on a
value of 0xffffffff.

This value is offset again in gic_irq_set_priority() that actually sets
the priority on the PPI #31.

Fix this avoiding to set any priority for IRQ #0.

Signed-off-by: Carlo Caione <ccaione@baylibre.com>
2019-10-31 16:07:45 +01:00
..
arc arch: arc/arm: kconfig: Remove unused DATA_ENDIANNESS_LITTLE symbol 2019-10-30 09:14:12 +01:00
arm irq: cortex-r: Fix wrong irq enabling 2019-10-31 16:07:45 +01:00
common timing_info: rename globals 2019-09-30 15:25:55 -04:00
nios2 kconfig: Remove symbol types from Kconfig.defconfig files 2019-10-24 12:40:22 -05:00
posix posix arch: Untangle headers 2019-10-25 11:23:49 -07:00
riscv arm/riscv: kconfig: Remove type from NUM_IRQS in defconfig files 2019-10-28 08:27:28 -05:00
x86 x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
xtensa kconfig: Remove symbol types from Kconfig.defconfig files 2019-10-24 12:40:22 -05:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00