From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.11 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796377006; b=Dam4z2kctVEGFwFfRCqCGt1qqD+b95ianCg+Tty1/AZTs86Rjtn3cnwcq0V2twC2sWbJ TsjW7cZYYubs96XYT9QkNnf+EqFVLjqdTVX6oWXg/Is3+AC09Qs3/vSvFZB1FBRxwYja0 npRx30+xGvx7gNNWWTaAujcfXcfgYiDuyC6ENoa3vVm9fN+IOHaGJ2aD7kxY6uELpf4Qc qpttDT9IWIubxZloA0gYpE0/eLTsTyzz6n3eDY+7YMZUOS1387JmpOiml0YdV+CGx2Jlk UL+YPKYpD3W1qviT/Gfk7W1XdkYvhmjb38hHoTY4ElEq3//HVjVr79NlDhfvyBDHulg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796377006; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:Organization; bh=hVxwAshwMUanWiDN/ZExqYhJLGZdwoy4fXJalXA96Us=; b=YIkrk6pDvM/TYf+ly4ISPKC6X4+tuRlNnhIJGTMfbRA0yrSs0UQSN+8R/ODpm3Dy6HMd qjSRA5W1aIycCREw0GrF5gXoHhhkYr7hL1W9MsEzsrIiv2NtHRx/e8XulPiWYDEvoVcfK EOaVwUYow8f1IxoI143xpR9c3f9eFsYZwORmLnJPAvuyfWEhoNnbekTuyZRCorSy1B2fD 6Up6fURzFIYkWVOWtV/a19iUMPfvYTO8+Aqu9S9d5q3Q/2kBstRgQI+58brO2MvAoHTdD v32W5BpAWyZi2CaJVapbNg21rpTlrJBZUwpgH1MnKNIdpaGkZYZX/2XwA5raNCP8C/w== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=QvRO0d3D; arc=none smtp.remote-ip=192.198.163.11 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.11]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1D617606A332; Fri, 4 Dec 2026 09:36:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 1D617606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=QvRO0d3D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796377006; x=1827913006; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hVxwAshwMUanWiDN/ZExqYhJLGZdwoy4fXJalXA96Us=; b=QvRO0d3D0Yk3bubOIdduPh5ZO0mcAu9aohVcepgIZSjqwIcpjuVowmcq Knqgt/OFRyyZJKjdEC1SITQllcIqOrUUQFhQb5a9JBy8Wobeks/QmRmdG 707GYTEiG1x7g7T/1vOc+x1b5WtgNJ/nQVY1xzZ00IuNIrTe9bUnI6QVz MYAQPGAHsEetUMi3dcaMRBhXyE+LQASqpaAh3j4oU4iAfabRVnby0KYGU mmPlJBy68GsRkM3HPqCmZeVW6b2WbEnjtIhdimbSUS7MHvj3d8HN7Pr62 B3XMPND7rEQAVAuhRADCt5q+P8A6bNwvwvObuJEZHLATmpmkgfRpeGiEw w==; X-CSE-ConnectionGUID: r6g2wGUrRhaL1OcCrdxHRA== X-CSE-MsgGUID: OS30aUL1TrOzNnaqDlo3wQ== X-IronPort-AV: E=McAfee;i="6800,10657,11985"; a="5260412" X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="5260412" Received: from orviesa001.jf.intel.com ([10.64.159.141]) by fmvoesa105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 01:36:44 -0800 X-CSE-ConnectionGUID: pX90pRe3Te2wdBthL1Cj8A== X-CSE-MsgGUID: mRgKlplbQYOogupw74JB4Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,78,1794902400"; d="scan'208";a="14237691" Received: from alekseim-mobl.ger.corp.intel.com (HELO localhost) ([10.245.245.10]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Dec 2026 01:36:42 -0800 Date: Fri, 4 Dec 2026 11:36:39 +0200 From: Andy Shevchenko To: Dmitry Torokhov Cc: Linus Walleij , Bartosz Golaszewski , Benson Leung , Guenter Roeck , Stephen Boyd , patches@opensource.cirrus.com, linux-gpio@vger.kernel.org, chrome-platform@lists.linux.dev, stable@vger.kernel.org Subject: Re: [PATCH 0/6] gpio: fix firmware node reference count underflows Message-ID: References: <20261202-gpio-arizona-fwnode-fix-v1-0-3899179bf9d1@gmail.com> <76b37401fb46d112333b5490740b6dd1@gmail.com> X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76b37401fb46d112333b5490740b6dd1@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Thu, Dec 03, 2026 at 11:58:10AM -0800, Dmitry Torokhov wrote: > On Thu, Dec 03, 2026 at 02:09:43PM +0200, Andy Shevchenko wrote: > > On Wed, Dec 02, 2026 at 10:45:45PM -0800, Dmitry Torokhov wrote: ... > > > Commit 6dbe6c07f94f replaced gpio_chip.of_node one week before > > > gpio_chip.fwnode was added in commit 990f6756bb64, making > > > gpio_chip.fwnode the direct mechanism for passing a firmware node to > > > gpiolib. Leaving the platform device's of_node unset also keeps its > > > uevent MODALIAS as platform: and avoids pinctrl_bind_pins() > > > conflicts on rebind. > > > > I'm not sure how it's possible. If you look at the Git history you can > > see that 990f6756bb64 was the first one followed by 6dbe6c07f94f. > > I compared author dates instead of commit dates. When you wrote > 6dbe6c07f94f on Dec 6, Bart had not written 990f6756bb64 yet (Dec 13), > even though he applied his first on Dec 17, so the timeline still makes > sense. It's not true. The "gpiolib: allow to specify the firmware node in struct gpio_chip" comes from v11 (sic!) of the series, which was started some time before my change. I think the verb 'written' is misused here. The date of the commit does not give a comprehensive information. Whatever, this is cover letter and I don't think Bart uses `b4 shazam -M`, otherwise the paragraph in question should be dropped or rephrased. -- With Best Regards, Andy Shevchenko