Netdev List
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: "Nitka, Grzegorz" <grzegorz.nitka@intel.com>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"intel-wired-lan@lists.osuosl.org"
	<intel-wired-lan@lists.osuosl.org>,
	"Oros, Petr" <poros@redhat.com>,
	"richardcochran@gmail.com" <richardcochran@gmail.com>,
	"andrew+netdev@lunn.ch" <andrew+netdev@lunn.ch>,
	"Kitszel, Przemyslaw" <przemyslaw.kitszel@intel.com>,
	"Nguyen, Anthony L" <anthony.l.nguyen@intel.com>,
	"Prathosh.Satish@microchip.com" <Prathosh.Satish@microchip.com>,
	"Vecera, Ivan" <ivecera@redhat.com>,
	"jiri@resnulli.us" <jiri@resnulli.us>,
	"Kubalewski, Arkadiusz" <arkadiusz.kubalewski@intel.com>,
	"vadim.fedorenko@linux.dev" <vadim.fedorenko@linux.dev>,
	"donald.hunter@gmail.com" <donald.hunter@gmail.com>,
	"horms@kernel.org" <horms@kernel.org>,
	"kuba@kernel.org" <kuba@kernel.org>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"edumazet@google.com" <edumazet@google.com>
Subject: Re: [PATCH v14 net-next 03/13] dpll: fix stale iteration in dpll_pin_on_pin_unregister()
Date: Thu, 11 Jun 2026 16:41:07 +0200	[thread overview]
Message-ID: <20be8f49-4d85-430b-a651-c4aecd172a57@redhat.com> (raw)
In-Reply-To: <IA1PR11MB6219E71E2581AE3A4C91F870921B2@IA1PR11MB6219.namprd11.prod.outlook.com>

On 6/11/26 12:01 PM, Nitka, Grzegorz wrote:
>> -----Original Message-----
>> From: Paolo Abeni <pabeni@redhat.com>
>> Sent: Thursday, June 11, 2026 10:50 AM
>> To: Nitka, Grzegorz <grzegorz.nitka@intel.com>; netdev@vger.kernel.org
>> Cc: linux-kernel@vger.kernel.org; intel-wired-lan@lists.osuosl.org; Oros, Petr
>> <poros@redhat.com>; richardcochran@gmail.com;
>> andrew+netdev@lunn.ch; Kitszel, Przemyslaw
>> <przemyslaw.kitszel@intel.com>; Nguyen, Anthony L
>> <anthony.l.nguyen@intel.com>; Prathosh.Satish@microchip.com; Vecera,
>> Ivan <ivecera@redhat.com>; jiri@resnulli.us; Kubalewski, Arkadiusz
>> <arkadiusz.kubalewski@intel.com>; vadim.fedorenko@linux.dev;
>> donald.hunter@gmail.com; horms@kernel.org; kuba@kernel.org;
>> davem@davemloft.net; edumazet@google.com
>> Subject: Re: [PATCH v14 net-next 03/13] dpll: fix stale iteration in
>> dpll_pin_on_pin_unregister()
>>
>> On 6/7/26 8:30 PM, Grzegorz Nitka wrote:
>>> Neither parent->dpll_refs nor pin->dpll_refs on its own is a correct
>>> iteration target at unregister time:
>>>
>>>   - pin->dpll_refs includes DPLLs the child was registered against
>>>     via a different parent or directly; blind unregister WARNs on
>>>     the cookie miss in dpll_xa_ref_pin_del().
>>>   - parent->dpll_refs reflects the parent's current attachments, not
>>>     those at child-register time. Another driver may have (un)reg'd
>>>     the parent against additional DPLLs in the meantime, so we miss
>>>     registrations that exist and visit DPLLs that have none.
>>>
>>> Walk pin->dpll_refs and use dpll_pin_registration_find() to filter
>>> to entries whose cookie is this parent. Symmetric with
>>> dpll_pin_on_pin_register(), correct under any subsequent change to
>>> parent->dpll_refs.
>>>
>>> Fixes: 9431063ad323 ("dpll: core: Add DPLL framework base functions")
>>> Signed-off-by: Grzegorz Nitka <grzegorz.nitka@intel.com>
>>
>> The current guidance is to avoid the Fixes tag for net-next patches,
>> when such tag refers to code already into Linus's tree.
>>
>> If it's a real user-visible issue, the patch should target net.
>> Otherwise if the intended target is really net-next, no fixes tag please.
>>
>> Unrelated important node: sashiko (gemini) still has some comments, some
>> of them looks new and relevant to me i.e. the possible divide by zero
>> bug in patch 11, see:
>>
>> https://sashiko.dev/#/patchset/20260607183045.1213735-1-
>> grzegorz.nitka%40intel.com
>>
>> /P
> 
> Hi Paolo
> 
> Thanks for your feedback.
> Regarding patches with 'Fixes' tag ...
> Actually patches from 3 to 7 in this series are indeed fix patches for the existing code.
> It was reported by Sashiko earlier for this series as pre-existing issues.
> Kuba suggested, at least this is how I understood it, to include it in the series to see
> a clean AI scan. 
> So please advise on the next steps ...
> Should I simply remove 'Fixes' tag from the commits and keep those patches in the series?
> Or ...  to remove them from the series and re-send as regular fix patches on 'net'?

The current guidance for the Fixes tag is to avoid it in net-next
patches, unless fixed patch is only present on net-next. My reading of
Jakub suggestion would be to drop the fixes tag as 'are not actually bugs.':

https://lore.kernel.org/netdev/20260604155422.167314ff@kernel.org/

Note that I could misread his wording.

Fixes tag could be stripped when applying the patches as needed, and I
think that could be preferable to a repost just for such thing, given
the current PW load...

> Regarding the latest Sahiko comments .. this specific one about divide-by-zero panic
> is false-positive. It was fixed with the latest revision.
> I'll respond in a separate message with my view on the other high ones.
... unless sashiko points to something really relevant. Please report on
the ML.

Thanks,

Paolo


  reply	other threads:[~2026-06-11 14:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-07 18:30 [PATCH v14 net-next 00/13] dpll/ice: Add generic DPLL type and full TX reference clock control for E825 Grzegorz Nitka
2026-06-07 18:30 ` [PATCH v14 net-next 01/13] dpll: add generic DPLL type Grzegorz Nitka
2026-06-07 18:30 ` [PATCH v14 net-next 02/13] dpll: allow registering FW-identified pin with a different DPLL Grzegorz Nitka
2026-06-07 18:30 ` [PATCH v14 net-next 03/13] dpll: fix stale iteration in dpll_pin_on_pin_unregister() Grzegorz Nitka
2026-06-08 16:51   ` Kubalewski, Arkadiusz
2026-06-09  6:50     ` Nitka, Grzegorz
2026-06-11  8:50   ` Paolo Abeni
2026-06-11 10:01     ` Nitka, Grzegorz
2026-06-11 14:41       ` Paolo Abeni [this message]
2026-06-11 17:41         ` Jakub Kicinski
2026-06-11 18:36           ` Nitka, Grzegorz
2026-06-07 18:30 ` [PATCH v14 net-next 04/13] dpll: send delete notification before unregister in on-pin rollback Grzegorz Nitka
2026-06-08 16:45   ` Kubalewski, Arkadiusz
2026-06-09  7:09     ` Nitka, Grzegorz
2026-06-10 19:42       ` Nitka, Grzegorz
2026-06-10 21:27         ` Nitka, Grzegorz
2026-06-07 18:30 ` [PATCH v14 net-next 05/13] dpll: emit per-dpll delete notifications in dpll_pin_on_pin_unregister() Grzegorz Nitka
2026-06-08 16:40   ` Kubalewski, Arkadiusz
2026-06-07 18:30 ` [PATCH v14 net-next 06/13] dpll: guard sync-pair removal on full pin unregister Grzegorz Nitka
2026-06-08 16:38   ` Kubalewski, Arkadiusz
2026-06-07 18:30 ` [PATCH v14 net-next 07/13] dpll: balance create/delete notifications in __dpll_pin_(un)register Grzegorz Nitka
2026-06-08 16:35   ` Kubalewski, Arkadiusz
2026-06-07 18:30 ` [PATCH v14 net-next 08/13] dpll: extend pin notifier with notification source ID Grzegorz Nitka
2026-06-07 18:30 ` [PATCH v14 net-next 09/13] dpll: allow fwnode pins to attempt state change without capability bit Grzegorz Nitka
2026-06-07 18:30 ` [PATCH v14 net-next 10/13] ice: introduce TXC DPLL device and TX ref clock pin framework for E825 Grzegorz Nitka
2026-06-07 18:30 ` [PATCH v14 net-next 11/13] ice: implement CPI support for E825C Grzegorz Nitka
2026-06-07 18:30 ` [PATCH v14 net-next 12/13] ice: add Tx reference clock index handling to AN restart command Grzegorz Nitka
2026-06-07 18:30 ` [PATCH v14 net-next 13/13] ice: implement E825 TX ref clock control and TXC hardware sync status Grzegorz Nitka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20be8f49-4d85-430b-a651-c4aecd172a57@redhat.com \
    --to=pabeni@redhat.com \
    --cc=Prathosh.Satish@microchip.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=anthony.l.nguyen@intel.com \
    --cc=arkadiusz.kubalewski@intel.com \
    --cc=davem@davemloft.net \
    --cc=donald.hunter@gmail.com \
    --cc=edumazet@google.com \
    --cc=grzegorz.nitka@intel.com \
    --cc=horms@kernel.org \
    --cc=intel-wired-lan@lists.osuosl.org \
    --cc=ivecera@redhat.com \
    --cc=jiri@resnulli.us \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=poros@redhat.com \
    --cc=przemyslaw.kitszel@intel.com \
    --cc=richardcochran@gmail.com \
    --cc=vadim.fedorenko@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox