Skip to content

Commit 081aa2f

Browse files
ycsinnashif
authored andcommitted
tests: build_all: plic: install second instance to 0x8(uei)
Install the second instance to 0x8(uei), because MSI is installed to 0x3(msi) when SMP is enabled. Signed-off-by: Yong Cong Sin <[email protected]> Signed-off-by: Yong Cong Sin <[email protected]>
1 parent 3f3e37a commit 081aa2f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

tests/drivers/build_all/interrupt_controller/intc_plic/app.multi_instance.overlay

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
riscv,ndev = <0x35>;
1212
reg = <0x08000000 0x04000000>;
1313
interrupts-extended = <
14-
&hlic0 0x03
15-
&hlic1 0x03
16-
&hlic2 0x03
17-
&hlic3 0x03
18-
&hlic4 0x03
19-
&hlic5 0x03
20-
&hlic6 0x03
21-
&hlic7 0x03
14+
&hlic0 0x08
15+
&hlic1 0x08
16+
&hlic2 0x08
17+
&hlic3 0x08
18+
&hlic4 0x08
19+
&hlic5 0x08
20+
&hlic6 0x08
21+
&hlic7 0x08
2222
>;
2323
interrupt-controller;
2424
compatible = "sifive,plic-1.0.0";

tests/drivers/build_all/interrupt_controller/intc_plic/testcase.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ tests:
2525
- CONFIG_MULTI_LEVEL_INTERRUPTS=y
2626
- CONFIG_DYNAMIC_INTERRUPTS=y
2727
- CONFIG_NUM_2ND_LEVEL_AGGREGATORS=2
28-
- CONFIG_2ND_LVL_INTR_01_OFFSET=3
28+
- CONFIG_2ND_LVL_INTR_01_OFFSET=8
2929
- CONFIG_UART_INTERRUPT_DRIVEN=y

0 commit comments

Comments
 (0)