zephyr/arch
Yong Cong Sin 31ebb79c86 arch: multilevel_irq: fix interrupt bits check
The bits allocated for each aggregator level only need to be enough to
encode CONFIG_MAX_IRQ_PER_AGGREGATOR, instead of the combined number of
IRQs from all aggregators in that level.

Add additional check for L3 interrupts as well, if it is enabled.

Updated the assert in `z_get_sw_isr_table_idx()` to be more verbose.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-09-06 14:06:23 -05:00
..
arc arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
arm arch: arm: cortex_m: pm_s2ram: save system_off before s2ram marking 2024-08-22 14:21:07 -04:00
arm64 xen: Make XEN_INTERFACE_VERSION configurable 2024-09-04 12:52:16 +02:00
common arch: multilevel_irq: fix interrupt bits check 2024-09-06 14:06:23 -05:00
mips arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
nios2 arch: use same syntax for custom arch calls 2024-08-12 12:43:36 +02:00
posix arch posix: Implement arch_thread_name_set() 2024-08-23 08:01:33 -04:00
riscv arch: riscv: add an option for empty spurious interrupt handler 2024-09-02 12:35:57 -04:00
sparc arch: remove the use of z_arch_esf_t completely from internal 2024-06-04 14:02:51 -05:00
x86 zefi: add bootargs support 2024-09-05 12:30:39 -05:00
xtensa xtensa: implements arch_thread_priv_stack_space_get 2024-08-28 06:50:30 -04:00
archs.yml hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
Kconfig arch: riscv: add an option for empty spurious interrupt handler 2024-09-02 12:35:57 -04:00
Kconfig.v1 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
Kconfig.v2 hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00