1tests:
2  arch.interrupt:
3    platform_exclude: qemu_cortex_m0
4    tags:
5      - kernel
6      - interrupt
7    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
8  arch.interrupt.qemu_cortex_m0:
9    platform_allow: qemu_cortex_m0
10    tags:
11      - kernel
12      - interrupt
13    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
14    extra_configs:
15      - CONFIG_QEMU_ICOUNT=y
16  arch.interrupt.minimallibc:
17    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_MINIMAL_LIBC_SUPPORTED
18    platform_exclude: qemu_cortex_m0
19    tags:
20      - kernel
21      - interrupt
22      - libc
23    extra_configs:
24      - CONFIG_MINIMAL_LIBC=y
25  arch.interrupt.qemu_cortex_m0.minimallibc:
26    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_MINIMAL_LIBC_SUPPORTED
27    platform_allow: qemu_cortex_m0
28    tags:
29      - kernel
30      - interrupt
31      - libc
32    extra_configs:
33      - CONFIG_QEMU_ICOUNT=y
34      - CONFIG_MINIMAL_LIBC=y
35  arch.shared_interrupt:
36    platform_exclude:
37      # excluded because of failures during test_prevent_interruption
38      - qemu_cortex_m0
39      # On it8xxx2_evb, current trigger_irq implementation of RISC-V architecture
40      # does not trigger interrupts
41      - it8xxx2_evb
42    arch_exclude:
43      # test needs 2 working interrupt lines
44      - xtensa
45      # TODO: make test work on this arch
46      - mips
47    tags:
48      - kernel
49      - interrupt
50    extra_configs:
51      - CONFIG_SHARED_INTERRUPTS=y
52    filter: not CONFIG_TRUSTED_EXECUTION_NONSECURE
53  arch.shared_interrupt.lto: &shared-interrupt-lto
54    # excluded because of failures during test_prevent_interruption
55    platform_exclude: qemu_cortex_m0
56    arch_exclude:
57      # test needs 2 working interrupt lines
58      - xtensa
59      # TODO: make test work on this arch
60      - mips
61    tags:
62      - kernel
63      - interrupt
64      - lto
65    extra_configs:
66      - CONFIG_SHARED_INTERRUPTS=y
67      - CONFIG_TEST_USERSPACE=n
68      - CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
69      - CONFIG_LTO=y
70    # CONFIG_CODE_DATA_RELOCATION causes a build error (issue #69730)
71    filter: >
72      not CONFIG_TRUSTED_EXECUTION_NONSECURE and CONFIG_ISR_TABLES_LOCAL_DECLARATION_SUPPORTED
73      and not CONFIG_CODE_DATA_RELOCATION
74  arch.shared_interrupt.lto.speed:
75    <<: *shared-interrupt-lto
76    extra_configs:
77      - CONFIG_SHARED_INTERRUPTS=y
78      - CONFIG_TEST_USERSPACE=n
79      - CONFIG_ISR_TABLES_LOCAL_DECLARATION=y
80      - CONFIG_LTO=y
81      - CONFIG_SPEED_OPTIMIZATIONS=y
82  arch.interrupt.multilevel:
83    filter: CONFIG_MULTI_LEVEL_INTERRUPTS
84    extra_args:
85      - EXTRA_DTC_OVERLAY_FILE="multilevel_irq.overlay"
86    extra_configs:
87      - CONFIG_TEST_MULTILEVEL_IRQ=y
88  arch.interrupt.multilevel_l3:
89    filter: CONFIG_MULTI_LEVEL_INTERRUPTS
90    extra_args:
91      - EXTRA_DTC_OVERLAY_FILE="multilevel_irq.overlay"
92    extra_configs:
93      - CONFIG_TEST_MULTILEVEL_IRQ=y
94      - CONFIG_3RD_LEVEL_INTERRUPTS=y
95      - CONFIG_3RD_LEVEL_INTERRUPT_BITS=11
96