Article View: linux.kernel.netdev
Article #19080Re: [PATCH net-next 07/12] can: at91_can: don't discard the IRQ lookup error in probe
From: netdev-bot+sashiko
Date: Thu, 19 Nov 2026 09:54
Date: Thu, 19 Nov 2026 09:54
65 lines
10462 bytes
10462 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] The commit message of "can: at91_can: don't discard the IRQ
lookup error in probe" gives a real deferred-probe failure as theβ¦
--
can: at91_can: don't discard the IRQ lookup error in probe
This commit splits the memory resource and IRQ lookups in
at91_can_probe(). A missing memory resource still returns -ENODEV, and the
error from platform_get_irq() is now passed through unchanged instead of
being collapsed into -ENODEV.
Link: https://patch.msgid.link/303815792800553c34842147941cab083823c212.1792118040.git.chaosheng.qu.linux@gmail.com
> The driver matches through an of_match_table, so of_irq_get() returns
> -EPROBE_DEFER while the interrupt controller has not been probed. The
> probe overwrites it and the driver core stops retrying, leaving the
> device unbound even though the interrupt controller appears later.
[Severity: Low]
Can this deferral scenario happen with any in-tree user of this driver?
Every in-tree CAN node for this driver inherits interrupt-parent = <&aic>
from the root of at91sam9263.dtsi, at91sam9x5.dtsi, sama5d3.dtsi and
sam9x60.dtsi.
The controllers behind <&aic> all register through IRQCHIP_DECLARE:
drivers/irqchip/irq-atmel-aic.c:
IRQCHIP_DECLARE(at91rm9200_aic, "atmel,at91rm9200-aic", aic_of_init);
drivers/irqchip/irq-atmel-aic5.c:
IRQCHIP_DECLARE(sama5d3_aic5, "atmel,sama5d3-aic", sama5d3_aic5_of_init);
...
IRQCHIP_DECLARE(sam9x60_aic5, "microchip,sam9x60-aic", sam9x60_aic5_of_init);
That means of_irq_init() sets them up from init_IRQ(), well before any
platform driver probes. So irq_find_host() in of_irq_get() should always
find the domain, and the -EPROBE_DEFER path is not reachable for this
device. The legacy non-DT path through platform_get_device_id() never
calls of_irq_get() at all.
The change itself looks fine as a consistency and robustness cleanup.
The sibling commit "can: cc770: don't discard the IRQ lookup error in
probe" has this caveat:
This is a robustness and consistency cleanup, this issue has not been
seen on real hardware
The commit "can: janz-ican3: don't discard the IRQ lookup error in probe"
also says it does not fix a deferred probe.
Could this message carry a similar note? As written, it reads like a fix
for an observed unbound device, and that could affect stable or AUTOSEL
backport decisions.
--
Sashiko AI review Β· https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261118092955.1283165-2-mkl%40pengutronix.de
Technical Details
Message-ID:
<179508207014.3136.12887292371349872739@kernel.org>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366918-linux-kernel-netdev=dewy.ruReferences:
<20261118092955.1283165-8-mkl@pengutronix.de>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-366918-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 07/12] can: at91_can: don't discard the IRQ lookup error in probe Date: Thu, 19 Nov 2026 09:54:30 +0000 Organization: Usenet Network Message-ID: <179508207014.3136.12887292371349872739@kernel.org> References: <20261118092955.1283165-8-mkl@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2842393"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:5dMOYPUIObst9hdnTuisl8kk9OA= sha256:apXwGx5ydcyuhGpTO4Ks6ITn99AdJblLf0i4ADtWeqs= sha1:mds5It2OAZXAe2aHNHeOrd8Axlc= sha256:w4n7AB14+7NRqCk8MF+9eZceAmqPJEJkcVNouoOxyJM= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id E924A1155A8; Thu, 19 Nov 2026 12:54:57 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.4 X-Spam-Status: No, score=-3.4 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lFkppn_a_cCV; Thu, 19 Nov 2026 12:54:53 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-366918-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114]) by mail.dewy.ru (Postfix) with ESMTPS id F11411155A6; Thu, 19 Nov 2026 12:54:37 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by tor.lore.kernel.org (Postfix) with ESMTP id 6BE20816D6; Thu, 19 Nov 2026 09:54:34 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1795082072; b=NaJigX1ps1PqH/bVstfJWpHPi1AE7/MLrATM2nhix9HI7wHnYFMl8xVfUdJVP9yTDGWh 5mxJeeI19twPgpqzfPWg2q0/bWERJSrr0WaxjeTMH+WAJVss01WLre1/LSF4xJL92ZRYU UQFRk+ddoWlkOrpYTxA84OndvWaovonEqn7tVCiMykGR3M5d6wBMNmtzeeYnQUP0Rf7Uc wyQVmJuwenfFDVssAJDpDvT0m/UNiMPf/R4KR7kUk9Nt8Qm4o/dVB3n2L/5UxUh8rgt5D tutjB/jbD5Yb9Odf3N5auQ4Rxr8u+ux5WUCah9yYUxajSPCHd+J5WEcPQlYm+B4+GJQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795082072; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=YMJZwCjdtyDiOoX/BpN2k21LxmiAFx2iq0oQkc7VWDw=; b=oyZoteuKVgMlW37om1nM/H43qvRG0FyE2ndnC+Izrgh3Txomc/vUoyu1pKhaUoB0M4/w 4XdJaKU7rwc+UYf4HtO3m7Iw53u3ZRY5hgDHtdqJanslXYKfc4ACUDnQJh23fBEg5B5Es W0LKfDxDcYez02uoj0LmipvZagF/1iLfLfkdmCutWUYi7NFuLRFQcBWIUyIicchfmEr/8 OYGhjN9/+Vl1QZE/oqgfRjmgwPV3JNEAJjowG/pxU+ZfLNkbdBsQZ7FUuK1EzmmtvNred Z2a9bPXhEvDnhqXfqBtF28yWK5vjO/GXyMOeeTcgtzOrMEIsPpO1GZjANlqX3ANGm/w== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cDummkaC; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E9077606A326; Thu, 19 Nov 2026 09:54:31 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cDummkaC X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795082071; b=IaQLyE5iS3R/fBg4JtkhE5zyBSYOilNN5c0qhc1Mz148AtpmiWuWcCG8a9VKSu17CotL X+3wF63KzHwgwThzjDGFupkS+ITCiGPko4MtiC3c41QJyQa0IxD9UIiaTvF2VM5rIr9zN RHuQmvZwntm+7cLELcuNTH9yQCZowIwbrtXqzCrNE0w9iNcEUgD4vLjcdQFwqdY2NSlk0 0fSz/T8zfwlniBHRYybDwbV7ljfemk+t1tTsviVtda89VvHIWTzF+BYkqnNRFEyU7BrXK 8Uy29JgEXCn9ODZNtp9LVQK9zo4vMmnHZRY6JGaa4T6+csR1lsyTuFAFy5w9d8w/mRg== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795082071; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=YMJZwCjdtyDiOoX/BpN2k21LxmiAFx2iq0oQkc7VWDw=; b=BZzjgHKBvVzJi9SUIyEZaNXLPpmRQDSXa6SY9Z2T+YIBlau6FZKRXTSEdJaxAd5SaN70 fkQBQYJ93ceoNVd7eFE/AIBwcT49vjNnmfHrWI/F0+PFRAOV79xkeYgILh7m3A0phISdS FZ1fI6wHWzBxfCnSJFoWW/PRs8khVrPIes6+NRpSD1jnlCn5Oo8C/RitJKYolel06rZxm 8lu5mEKOPpVhMFT4iR/Y/lztnboTNuKcF3rii02s0mQcA/To9EoCGms2zh7ZL4x4Hdhs6 A4XBc4ROk0df6OzGpFP4vZXBW30Sw5ASNcbJYHVZL0vUgsAOYYthbfY1BXKpYPdEHXQ== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=cDummkaC; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 14CB1606A33C; Thu, 19 Nov 2026 09:54:31 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 887CD1F000CA; Thu, 19 Nov 2026 09:54:30 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795082070; bh=YMJZwCjdtyDiOoX/BpN2k21LxmiAFx2iq0oQkc7VWDw=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=cDummkaCMifkduCY00dpb0/xZcD+5+/PBAzKXbPFBv1kDmD/q5QnvRh/byzWfQ3Lu wywIIx0Bm1HO1iUPMA9jziVlDVH/yEXUV8xFPxTB7YMxlpE9T+JeNgzsOmnBBjvSic 5Xo0uKW5PkRTOntRmjN5g4PrcYA0e/haLquc7KITDSY/P9lcGNfnR8oMJYOhyKh8wR Kx7QfKqZAme11Gnl3UIwGiQOJX67Vd1Ljt/FZ765aSRDuPcM6wICc8mzX6VzuywUBi uX/Jb44faZwrr4kqftI2zAyR2PajosjTxnwu5J5NiI42el/c9NKrbqg5qFazdDsPHl Ne5X+Gy2WDB3g== X-Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org, linux-can@vger.kernel.org, kernel@pengutronix.de, socketcan@hartkopp.net, dev.kurt@vandijck-laurijssen.be X-In-Reply-To: <20261118092955.1283165-8-mkl@pengutronix.de> X-sashiko-severity: Low X-Mailing-List: netdev@vger.kernel.org X-List-Post: <mailto:netdev@vger.kernel.org> X-List-Help: <mailto:netdev+help@vger.kernel.org> X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:netdev+owner@vger.kernel.org> X-Precedence: list