🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6174

Re: [PATCH net-next 0/4] can: don't discard the platform_get_irq() error in probe

#6174
From: Jakub Kicinski
Date: Wed, 21 Oct 2026 20:31
18 lines
8590 bytes
On Fri, 16 Oct 2026 14:11:35 +0800 Chaosheng Qu wrote:
> Four CAN platform drivers collapse every failure of platform_get_irq()
> into a fixed error code:
> 
>     sun4i_can    -ENODEV
>     at91_can     -ENODEV  (also tests irq <= 0, which cannot happen)
>     janz-ican3   -ENODEV
>     ifi_canfd    -EINVAL
> 
> sun4i_can, at91_can and ifi_canfd match through an of_match_table, so
> of_irq_get() returns -EPROBE_DEFER while the interrupt controller has not
> been probed. The probes overwrite it and the driver core stops retrying,
> leaving the device unbound even though the interrupt controller appears
> later.

Please don't CC netdev@ on run-of-the-mill CAN patches.
Follow to MAINTAINERS / get_maintainers.pl
Technical Details
Message-ID: <20261021133130.2cf75b3c@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350233-linux-kernel-netdev=dewy.ru
References: <cover.1792118040.git.chaosheng.qu.linux@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-350233-linux-kernel-netdev=dewy.ru
From: kuba@kernel.org (Jakub Kicinski)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 0/4] can: don't discard the platform_get_irq()
 error in probe
Date: Wed, 21 Oct 2026 13:31:30 -0700
Organization: Usenet Network
Message-ID: <20261021133130.2cf75b3c@kernel.org>
References: <cover.1792118040.git.chaosheng.qu.linux@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="56129"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:8b7sq3mOj2B7YvwatfDAXj+K/B0= sha256:+tW53qh6mhd+WWGqf9BDwwy2mT+WJpSVUFjEmIoEFzo=
	sha1:buJ8iUheCHg4K+pWW9uNf0tFHSg= sha256:w+YSbfK+V/i8PVkLhaskFMMNPhn+f5eYfyJw7HBMQdo=
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 CC9AB1110FF; Wed, 21 Oct 2026 23:32:27 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 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] 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 HO_FPvOkf8gK;
	Wed, 21 Oct 2026 23:32:25 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350233-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id F3E121110EC; Wed, 21 Oct 2026 23:32:16 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id CBDB93B1EF; Wed, 21 Oct 2026 20:31:38 +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=1792614698;
	b=rqtdA0PUZSqg2kSh4PDGbBhpsqt0lZPk3AWBSJ/2DQrnkDrvr9q3QoV7ujzfyCFDdesG
	 4h7Dj79wo7j3sPtZCargzFcEwhKTHylwNLzNyI9tc6a+vWNRaw/Fx8R3IDhL1hTl3onN6
	 wIvmJCGmLsUISv7nRkIZQwhQUBvAAbt5CmOIP77aeugIkg0h37u9BFXgImTVez8arApXl
	 4bFKjqgMToVevTKM2rXIMRS0JLa6Zn+LrhZy7aFnMN1MFwyFp3MSdBgpn63sOetALnVdE
	 sxfxvVN3ko3AUlvpmKvBh8tDaxq/s2FCenvri//n/pf2h0BYGStLLoKJwlOZLqmUPLw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792614698;
	h=X-Original-To:Received:Received:DKIM-Signature:Date:From:To:Cc:
	 Subject:Message-ID:In-Reply-To:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Transfer-Encoding;
	bh=ssm0YwnEh2UcHUt8QcjyuPt/pRIf3DpHvZcSL8oz4S0=;
	b=IBwVVya4NPQYjrg9fIcfQ895bsxzBS0XedTOfbEFs8dOaYv3+vMPc0afEue/1/VJhvwj
	 1duXn5o0ytJW7MSzvgOS+hvsxQBd3bScDeG4m7QPz7oMQ3Bs8Bu3BGt4q3NJyKmR0SzJH
	 BheSOG3kcuODkUTaOGNYnRWkEoGFX3GDQDngWOVotTi8NFH39aLyuc7VdVvRcRs2kqw5C
	 sKNJXm2JDlNsWIp8jdpoIvkfI9U4EW3TQUYcQO0VzInYe9OOHBsqb/aTq2BshP4H3lGzO
	 Sp63fa9lkDETDYKoqW05LaaCyitzEazpc484usiFzQq34YXp3DjkSmA8zYfvOinWx7w==
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=NDLJV8No;
	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 838C4606A32A;
	Wed, 21 Oct 2026 20:31:38 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=NDLJV8No
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=1792614692;
	b=njvNCJYFxaF8DGaqHo/74OFcsT9YU7gVviiSUECSARaDFuL9zB6vEGxD4LFl001awxIw
	 75M0RQZ9ouvM79lM89F6RghDY8pAzmwaAtRjuR4yRWTcQRc3cBvBco34bvx1WKhgoUwAY
	 5shOpdMf9v5jjwSNhGqbdlY0206IEgghABldBMjmbaF8hYBJQKHpWz4xXgILU6IS7pJGC
	 8q6Z2jqkEBVSwPc5+Oc8k1VDoy2Y49sbThLx/7spmYx91rSLuFQC+4zCkZiOV/YbzLP9B
	 JsFyYyUYSeemPHqkg8+oWiMlu+dQYRJwUe0qm+yyWZS8iJ12yfa+8cU7uTn6LcREpPw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792614692;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 In-Reply-To:References:MIME-Version:Content-Type:
	 Content-Transfer-Encoding;
	bh=ssm0YwnEh2UcHUt8QcjyuPt/pRIf3DpHvZcSL8oz4S0=;
	b=ADuDVDwYcH1F18QpZoLMABDhwJN+9/C9Xa7hfTv8QYAEay1w+pYLpjXh7V0SqZ8rS/Cm
	 JVMKYUoEQvXPIWfaP1WyTIyPxQAXSSQgMKHu9jNswSeaBA/hWLGiH7xdsmzLa9AGYRsvR
	 RnC8OUunerSVy3unC0QO+uwEhhHspSOG0Wcri+RgaeSOV/QMl229WFQylwkxPa+KmZ3AZ
	 k5fC8lqn95/DhCazTJPK7P3fa+wIeTh4H2dzNnO3W1NtuO17XOsSczEFduPDe/W1Mjerd
	 l9dXpQj3tWbL0Bvqs2gCbVxVqIDJT+/Kj66K6bhL6HuLFiZgMpcOFm4GnJYOJkVZlcQ==
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=NDLJV8No;
	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 5D96A606A31B;
	Wed, 21 Oct 2026 20:31:32 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9B7891F000C3;
	Wed, 21 Oct 2026 20:31:31 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792614692;
	bh=ssm0YwnEh2UcHUt8QcjyuPt/pRIf3DpHvZcSL8oz4S0=;
	h=Date:From:To:Cc:Subject:In-Reply-To:References;
	b=NDLJV8NoCr5f9+TkGJJl2Hkn6h5j5Mm74AxTTyRkaG+aHi9qqOCyg6zixBH40Wopb
	 Zaj1RrO4veKx4QpZ/rHuy7QI1R35WQPf4mKaBW1yoxl/i8mwDpbpEpkeqehWkxQoJE
	 VLbThztCco0/b1N48QUrY+Nn0Lhvryvsg8Hmj+L+VWv7ohWj9UAul6QQPy7bT6teFt
	 iePvzeCRwyosmNEg5HTj7hr7lI0i/lplJKhuWyZId/PK3W6eVCKJacU8j8YfR+0Ow/
	 BaasCsW2eS8Uv4S6Z6fBwAlPu47xOmEwhkzHOo5DIDCkvscdM9nlaYzRY+PxO73OCd
	 9UEeISvpIKHCw==
X-Cc: Marc Kleine-Budde <mkl@pengutronix.de>, Vincent Mailhol
 <mailhol@kernel.org>, Chen-Yu Tsai <wens@kernel.org>, Jernej Skrabec
 <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Nicolas
 Ferre <nicolas.ferre@microchip.com>, Alexandre Belloni
 <alexandre.belloni@bootlin.com>, Claudiu Beznea <claudiu.beznea@tuxon.dev>,
 linux-can@vger.kernel.org, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org
X-In-Reply-To: <cover.1792118040.git.chaosheng.qu.linux@gmail.com>
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