Dovetail 5.15.129 and 6.1.54: New kernel warning on ARM
Hi Philippe,
something regressed:
2023-09-21T18:21:40 [ 0.000000] ------------[ cut here ]------------ 2023-09-21T18:21:40 [ 0.000000] WARNING: CPU: 0 PID: 0 at kernel/irq/pipeline.c:1829 irq_pipeline_init+0xbc/0xe0 2023-09-21T18:21:40 [ 0.000000] Modules linked in: 2023-09-21T18:21:40 [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.129+ #1 2023-09-21T18:21:40 [ 0.000000] Hardware name: Generic AM33XX (Flattened Device Tree) 2023-09-21T18:21:40 [ 0.000000] IRQ stage: Linux 2023-09-21T18:21:40 [ 0.000000] [<c03117e0>] (unwind_backtrace) from [<c030bd10>] (show_stack+0x10/0x14) 2023-09-21T18:21:40 [ 0.000000] [<c030bd10>] (show_stack) from [<c1092dd0>] (dump_stack_lvl+0x8c/0xc0) 2023-09-21T18:21:40 [ 0.000000] [<c1092dd0>] (dump_stack_lvl) from [<c0346b00>] (__warn+0x88/0x128) 2023-09-21T18:21:40 [ 0.000000] [<c0346b00>] (__warn) from [<c108ea28>] (warn_slowpath_fmt+0x70/0xc8) 2023-09-21T18:21:40 [ 0.000000] [<c108ea28>] (warn_slowpath_fmt) from [<c171d37c>] (irq_pipeline_init+0xbc/0xe0) 2023-09-21T18:21:40 [ 0.000000] [<c171d37c>] (irq_pipeline_init) from [<c1700fec>] (start_kernel+0x4ec/0x6d8) 2023-09-21T18:21:40 [ 0.000000] [<c1700fec>] (start_kernel) from [<00000000>] (0x0) 2023-09-21T18:21:40 [ 0.000000] ---[ end trace 58996bc4bee07162 ]---
https://source.denx.de/Xenomai/xenomai-images/-/jobs/693461#L544
https://source.denx.de/Xenomai/xenomai-images/-/jobs/693455#L543
Not seeing this with latest 5.10-dovetail.
Jan
Signature · 2 lines
Siemens AG, Technology Linux Expert Center
Quoted 19 lines · Jan Kiszka
Hi Philippe,
something regressed:
2023-09-21T18:21:40 [ 0.000000] ------------[ cut here ]------------ 2023-09-21T18:21:40 [ 0.000000] WARNING: CPU: 0 PID: 0 at kernel/irq/pipeline.c:1829 irq_pipeline_init+0xbc/0xe0 2023-09-21T18:21:40 [ 0.000000] Modules linked in: 2023-09-21T18:21:40 [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.129+ #1 2023-09-21T18:21:40 [ 0.000000] Hardware name: Generic AM33XX (Flattened Device Tree) 2023-09-21T18:21:40 [ 0.000000] IRQ stage: Linux 2023-09-21T18:21:40 [ 0.000000] [<c03117e0>] (unwind_backtrace) from [<c030bd10>] (show_stack+0x10/0x14) 2023-09-21T18:21:40 [ 0.000000] [<c030bd10>] (show_stack) from [<c1092dd0>] (dump_stack_lvl+0x8c/0xc0) 2023-09-21T18:21:40 [ 0.000000] [<c1092dd0>] (dump_stack_lvl) from [<c0346b00>] (__warn+0x88/0x128) 2023-09-21T18:21:40 [ 0.000000] [<c0346b00>] (__warn) from [<c108ea28>] (warn_slowpath_fmt+0x70/0xc8) 2023-09-21T18:21:40 [ 0.000000] [<c108ea28>] (warn_slowpath_fmt) from [<c171d37c>] (irq_pipeline_init+0xbc/0xe0) 2023-09-21T18:21:40 [ 0.000000] [<c171d37c>] (irq_pipeline_init) from [<c1700fec>] (start_kernel+0x4ec/0x6d8) 2023-09-21T18:21:40 [ 0.000000] [<c1700fec>] (start_kernel) from [<00000000>] (0x0) 2023-09-21T18:21:40 [ 0.000000] ---[ end trace 58996bc4bee07162 ]---
Quoted 5 lines
https://source.denx.de/Xenomai/xenomai-images/-/jobs/693461#L544
https://source.denx.de/Xenomai/xenomai-images/-/jobs/693455#L543Not seeing this with latest 5.10-dovetail.
This means the CI runs a SMP kernel on this uniprocessor SoC. It's fine except for latency measurement - the impact of the SMP glue on the worst case figure is noticeable in this case (+10%). Anyway, I'll work around this.
Signature · 1 line
Philippe.
Quoted 25 lines · Philippe Gerum
Quoted 22 lines · Jan Kiszka
Hi Philippe,
something regressed:
2023-09-21T18:21:40 [ 0.000000] ------------[ cut here ]------------ 2023-09-21T18:21:40 [ 0.000000] WARNING: CPU: 0 PID: 0 at kernel/irq/pipeline.c:1829 irq_pipeline_init+0xbc/0xe0 2023-09-21T18:21:40 [ 0.000000] Modules linked in: 2023-09-21T18:21:40 [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.129+ #1 2023-09-21T18:21:40 [ 0.000000] Hardware name: Generic AM33XX (Flattened Device Tree) 2023-09-21T18:21:40 [ 0.000000] IRQ stage: Linux 2023-09-21T18:21:40 [ 0.000000] [<c03117e0>] (unwind_backtrace) from [<c030bd10>] (show_stack+0x10/0x14) 2023-09-21T18:21:40 [ 0.000000] [<c030bd10>] (show_stack) from [<c1092dd0>] (dump_stack_lvl+0x8c/0xc0) 2023-09-21T18:21:40 [ 0.000000] [<c1092dd0>] (dump_stack_lvl) from [<c0346b00>] (__warn+0x88/0x128) 2023-09-21T18:21:40 [ 0.000000] [<c0346b00>] (__warn) from [<c108ea28>] (warn_slowpath_fmt+0x70/0xc8) 2023-09-21T18:21:40 [ 0.000000] [<c108ea28>] (warn_slowpath_fmt) from [<c171d37c>] (irq_pipeline_init+0xbc/0xe0) 2023-09-21T18:21:40 [ 0.000000] [<c171d37c>] (irq_pipeline_init) from [<c1700fec>] (start_kernel+0x4ec/0x6d8) 2023-09-21T18:21:40 [ 0.000000] [<c1700fec>] (start_kernel) from [<00000000>] (0x0) 2023-09-21T18:21:40 [ 0.000000] ---[ end trace 58996bc4bee07162 ]---https://source.denx.de/Xenomai/xenomai-images/-/jobs/693461#L544
https://source.denx.de/Xenomai/xenomai-images/-/jobs/693455#L543
Quoted 7 lines
Quoted 2 lines
Not seeing this with latest 5.10-dovetail.
This means the CI runs a SMP kernel on this uniprocessor SoC. It's fine except for latency measurement - the impact of the SMP glue on the worst case figure is noticeable in this case (+10%). Anyway, I'll work around this.
Yes, we are running the same kernel config on arm in xenomai-images. Given that you basically can't buy new single-core SOCs anymore, it's more important to test and qualify SMP than UP.
Jan
Signature · 2 lines
Siemens AG, Technology Linux Expert Center
Quoted 29 lines · Jan Kiszka
Quoted 28 lines · Philippe Gerum
Quoted 24 lines · Jan Kiszka
Hi Philippe,
something regressed:
2023-09-21T18:21:40 [ 0.000000] ------------[ cut here ]------------ 2023-09-21T18:21:40 [ 0.000000] WARNING: CPU: 0 PID: 0 at kernel/irq/pipeline.c:1829 irq_pipeline_init+0xbc/0xe0 2023-09-21T18:21:40 [ 0.000000] Modules linked in: 2023-09-21T18:21:40 [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.129+ #1 2023-09-21T18:21:40 [ 0.000000] Hardware name: Generic AM33XX (Flattened Device Tree) 2023-09-21T18:21:40 [ 0.000000] IRQ stage: Linux 2023-09-21T18:21:40 [ 0.000000] [<c03117e0>] (unwind_backtrace) from [<c030bd10>] (show_stack+0x10/0x14) 2023-09-21T18:21:40 [ 0.000000] [<c030bd10>] (show_stack) from [<c1092dd0>] (dump_stack_lvl+0x8c/0xc0) 2023-09-21T18:21:40 [ 0.000000] [<c1092dd0>] (dump_stack_lvl) from [<c0346b00>] (__warn+0x88/0x128) 2023-09-21T18:21:40 [ 0.000000] [<c0346b00>] (__warn) from [<c108ea28>] (warn_slowpath_fmt+0x70/0xc8) 2023-09-21T18:21:40 [ 0.000000] [<c108ea28>] (warn_slowpath_fmt) from [<c171d37c>] (irq_pipeline_init+0xbc/0xe0) 2023-09-21T18:21:40 [ 0.000000] [<c171d37c>] (irq_pipeline_init) from [<c1700fec>] (start_kernel+0x4ec/0x6d8) 2023-09-21T18:21:40 [ 0.000000] [<c1700fec>] (start_kernel) from [<00000000>] (0x0) 2023-09-21T18:21:40 [ 0.000000] ---[ end trace 58996bc4bee07162 ]---https://source.denx.de/Xenomai/xenomai-images/-/jobs/693461#L544
https://source.denx.de/Xenomai/xenomai-images/-/jobs/693455#L543Not seeing this with latest 5.10-dovetail.
Quoted 9 lines
Quoted 4 lines
This means the CI runs a SMP kernel on this uniprocessor SoC. It's fine except for latency measurement - the impact of the SMP glue on the worst case figure is noticeable in this case (+10%). Anyway, I'll work around this.
Yes, we are running the same kernel config on arm in xenomai-images. Given that you basically can't buy new single-core SOCs anymore, it's more important to test and qualify SMP than UP.
You are not testing much of the SMP capabilities on a bbb anyway, but I get the idea. The warning is fixed upstream, including v5.10.y which also had the issue - SMP was most likely disabled for this one in the CI image.
Signature · 1 line
Philippe.
Quoted 42 lines · Philippe Gerum
Quoted 29 lines · Jan Kiszka
Quoted 28 lines · Philippe Gerum
Quoted 24 lines · Jan Kiszka
Hi Philippe,
something regressed:
2023-09-21T18:21:40 [ 0.000000] ------------[ cut here ]------------ 2023-09-21T18:21:40 [ 0.000000] WARNING: CPU: 0 PID: 0 at kernel/irq/pipeline.c:1829 irq_pipeline_init+0xbc/0xe0 2023-09-21T18:21:40 [ 0.000000] Modules linked in: 2023-09-21T18:21:40 [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.129+ #1 2023-09-21T18:21:40 [ 0.000000] Hardware name: Generic AM33XX (Flattened Device Tree) 2023-09-21T18:21:40 [ 0.000000] IRQ stage: Linux 2023-09-21T18:21:40 [ 0.000000] [<c03117e0>] (unwind_backtrace) from [<c030bd10>] (show_stack+0x10/0x14) 2023-09-21T18:21:40 [ 0.000000] [<c030bd10>] (show_stack) from [<c1092dd0>] (dump_stack_lvl+0x8c/0xc0) 2023-09-21T18:21:40 [ 0.000000] [<c1092dd0>] (dump_stack_lvl) from [<c0346b00>] (__warn+0x88/0x128) 2023-09-21T18:21:40 [ 0.000000] [<c0346b00>] (__warn) from [<c108ea28>] (warn_slowpath_fmt+0x70/0xc8) 2023-09-21T18:21:40 [ 0.000000] [<c108ea28>] (warn_slowpath_fmt) from [<c171d37c>] (irq_pipeline_init+0xbc/0xe0) 2023-09-21T18:21:40 [ 0.000000] [<c171d37c>] (irq_pipeline_init) from [<c1700fec>] (start_kernel+0x4ec/0x6d8) 2023-09-21T18:21:40 [ 0.000000] [<c1700fec>] (start_kernel) from [<00000000>] (0x0) 2023-09-21T18:21:40 [ 0.000000] ---[ end trace 58996bc4bee07162 ]---https://source.denx.de/Xenomai/xenomai-images/-/jobs/693461#L544
https://source.denx.de/Xenomai/xenomai-images/-/jobs/693455#L543Not seeing this with latest 5.10-dovetail.
Quoted 9 lines
Quoted 4 lines
This means the CI runs a SMP kernel on this uniprocessor SoC. It's fine except for latency measurement - the impact of the SMP glue on the worst case figure is noticeable in this case (+10%). Anyway, I'll work around this.
Yes, we are running the same kernel config on arm in xenomai-images. Given that you basically can't buy new single-core SOCs anymore, it's more important to test and qualify SMP than UP.
Quoted 4 lines
You are not testing much of the SMP capabilities on a bbb anyway, but I get the idea. The warning is fixed upstream, including v5.10.y which also had the issue - SMP was most likely disabled for this one in the CI image.
Nope, we are using the same defconfig for all kernel versions (except for old 4.4 on BBB).
Jan
Signature · 2 lines
Siemens AG, Technology Linux Expert Center
Quoted 43 lines · Jan Kiszka
Quoted 42 lines · Philippe Gerum
Quoted 38 lines · Jan Kiszka
Quoted 25 lines · Philippe Gerum
Quoted 22 lines · Jan Kiszka
Hi Philippe,
something regressed:
2023-09-21T18:21:40 [ 0.000000] ------------[ cut here ]------------ 2023-09-21T18:21:40 [ 0.000000] WARNING: CPU: 0 PID: 0 at kernel/irq/pipeline.c:1829 irq_pipeline_init+0xbc/0xe0 2023-09-21T18:21:40 [ 0.000000] Modules linked in: 2023-09-21T18:21:40 [ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.15.129+ #1 2023-09-21T18:21:40 [ 0.000000] Hardware name: Generic AM33XX (Flattened Device Tree) 2023-09-21T18:21:40 [ 0.000000] IRQ stage: Linux 2023-09-21T18:21:40 [ 0.000000] [<c03117e0>] (unwind_backtrace) from [<c030bd10>] (show_stack+0x10/0x14) 2023-09-21T18:21:40 [ 0.000000] [<c030bd10>] (show_stack) from [<c1092dd0>] (dump_stack_lvl+0x8c/0xc0) 2023-09-21T18:21:40 [ 0.000000] [<c1092dd0>] (dump_stack_lvl) from [<c0346b00>] (__warn+0x88/0x128) 2023-09-21T18:21:40 [ 0.000000] [<c0346b00>] (__warn) from [<c108ea28>] (warn_slowpath_fmt+0x70/0xc8) 2023-09-21T18:21:40 [ 0.000000] [<c108ea28>] (warn_slowpath_fmt) from [<c171d37c>] (irq_pipeline_init+0xbc/0xe0) 2023-09-21T18:21:40 [ 0.000000] [<c171d37c>] (irq_pipeline_init) from [<c1700fec>] (start_kernel+0x4ec/0x6d8) 2023-09-21T18:21:40 [ 0.000000] [<c1700fec>] (start_kernel) from [<00000000>] (0x0) 2023-09-21T18:21:40 [ 0.000000] ---[ end trace 58996bc4bee07162 ]---https://source.denx.de/Xenomai/xenomai-images/-/jobs/693461#L544
https://source.denx.de/Xenomai/xenomai-images/-/jobs/693455#L543Quoted 7 lines
Quoted 2 lines
Not seeing this with latest 5.10-dovetail.
This means the CI runs a SMP kernel on this uniprocessor SoC. It's fine except for latency measurement - the impact of the SMP glue on the worst case figure is noticeable in this case (+10%). Anyway, I'll work around this.
Yes, we are running the same kernel config on arm in xenomai-images. Given that you basically can't buy new single-core SOCs anymore, it's more important to test and qualify SMP than UP.
Quoted 8 lines
Quoted 4 lines
You are not testing much of the SMP capabilities on a bbb anyway, but I get the idea. The warning is fixed upstream, including v5.10.y which also had the issue - SMP was most likely disabled for this one in the CI image.
Nope, we are using the same defconfig for all kernel versions (except for old 4.4 on BBB).
Then something looks fishy, because there is no way the INTC omap controller would allocate IPIs, therefore CALL_FUNCTION_OOB_IPI would yield 3 due to ipi_irq_base being zero. I guess that a random device IRQ was successfully but spuriously hooked on v5.10.y then (i.e. IRQ3).
Signature · 1 line
Philippe.