Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1CCA28EC for ; Sat, 23 Sep 2023 16:51:11 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 13F7CE0003; Sat, 23 Sep 2023 16:51:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xenomai.org; s=gm1; t=1695487864; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ehQ98d21DGdXXWC11J7E7Nu4zEIonn6PhWQjd98Gimk=; b=DPSr72fWlJ+FnsSB5R7QRPcaawAbOZDzjP4WYT8T/xqW+LTiDHvwC58uCFBmwKqsU+Srs6 D48oT4uhm6CYrhExwzE1HNIk9uQqYt2jjxTZ3aZh7P8EIlwceqyaNDQ7Yttux5cOMDXh1R WsDdc8GFd6RqgTrTSvyhKsFyBb21ealq9g6m5fYrdm2dLa4faeIw9UVETwYOAMWReJFS8C 1gBzEghIMs/NKNP1IeerxeNjUVtmSYcDBR8gYI+JmIm2foBrhpeysoslqH1JBbCa+l/kSY HlJ5mOnDfqoYIHYGp1PS2z1hrNIHAZ2v/BWIsa8wgQbb969y+Hos7V4+1aLMPA== References: <878r8ymqzp.fsf@xenomai.org> <544dee0a-c072-4f7d-b5e3-84e6d50df093@siemens.com> <87pm29xkon.fsf@xenomai.org> <8637b67d-ec5f-4dac-a53d-a473d3f89cfc@siemens.com> User-agent: mu4e 1.8.11; emacs 28.2 From: Philippe Gerum To: Jan Kiszka Cc: Xenomai Subject: Re: Dovetail 5.15.129 and 6.1.54: New kernel warning on ARM Date: Sat, 23 Sep 2023 18:47:10 +0200 In-reply-to: <8637b67d-ec5f-4dac-a53d-a473d3f89cfc@siemens.com> Message-ID: <87h6nkygso.fsf@xenomai.org> Precedence: bulk X-Mailing-List: xenomai@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: rpm@xenomai.org Jan Kiszka writes: > On 23.09.23 12:07, Philippe Gerum wrote: >> >> Jan Kiszka writes: >> >>> On 22.09.23 12:21, Philippe Gerum wrote: >>>> >>>> Jan Kiszka writes: >>>> >>>>> 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] [] (unwind_backtrace) from [] (show_stack+0x10/0x14) >>>>> 2023-09-21T18:21:40 [ 0.000000] [] (show_stack) from [] (dump_stack_lvl+0x8c/0xc0) >>>>> 2023-09-21T18:21:40 [ 0.000000] [] (dump_stack_lvl) from [] (__warn+0x88/0x128) >>>>> 2023-09-21T18:21:40 [ 0.000000] [] (__warn) from [] (warn_slowpath_fmt+0x70/0xc8) >>>>> 2023-09-21T18:21:40 [ 0.000000] [] (warn_slowpath_fmt) from [] (irq_pipeline_init+0xbc/0xe0) >>>>> 2023-09-21T18:21:40 [ 0.000000] [] (irq_pipeline_init) from [] (start_kernel+0x4ec/0x6d8) >>>>> 2023-09-21T18:21:40 [ 0.000000] [] (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. >>>>> >>>> >>>> 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. > > 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). -- Philippe.