Linux PCI subsystem development
 help / color / mirror / Atom feed
From: Herve Codina <herve.codina@bootlin.com>
To: Abdurrahman Hussain <abdurrahman@nexthop.ai>,
	Richard Cheng <icheng@nvidia.com>, Andrew Lunn <andrew@lunn.ch>,
	Rob Herring <robh@kernel.org>,
	Saravana Kannan <saravanak@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Danilo Krummrich <dakr@kernel.org>,
	Johan Hovold <johan@kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>,
	David Rhodes <david.rhodes@cirrus.com>,
	Richard Fitzgerald <rf@opensource.cirrus.com>,
	Charles Keepax <ckeepax@opensource.cirrus.com>,
	Linus Walleij <linusw@kernel.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Daniel Scally <djrscally@gmail.com>,
	Heikki Krogerus <heikki.krogerus@linux.intel.com>,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Bartosz Golaszewski <brgl@kernel.org>,
	Len Brown <lenb@kernel.org>, Davidlohr Bueso <dave@stgolabs.net>,
	Jonathan Cameron <jic23@kernel.org>,
	Dave Jiang <dave.jiang@intel.com>,
	Alison Schofield <alison.schofield@intel.com>,
	Vishal Verma <vishal.l.verma@intel.com>,
	Dan Williams <djbw@kernel.org>, Ira Weiny <iweiny@kernel.org>,
	Li Ming <ming.li@zohomail.com>,
	Herve Codina <herve.codina@bootlin.com>,
	Lizhi Hou <lizhi.hou@amd.com>
Cc: driver-core@lists.linux.dev, linux-kernel@vger.kernel.org,
	linux-pci@vger.kernel.org, linux-sound@vger.kernel.org,
	patches@opensource.cirrus.com, linux-gpio@vger.kernel.org,
	linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org,
	Allan Nielsen <allan.nielsen@microchip.com>,
	Horatiu Vultur <horatiu.vultur@microchip.com>,
	Daniel Machon <daniel.machon@microchip.com>,
	Steen Hegelund <steen.hegelund@microchip.com>,
	Luca Ceresoli <luca.ceresoli@bootlin.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v14 00/10] lan966x pci device: Add support for SFPs, PCI part
Date: Wed, 25 Nov 2026 09:22:40 +0100	[thread overview]
Message-ID: <20261125092240.43499f8f@bootlin.com> (raw)
In-Reply-To: <20261103155540.365294-1-herve.codina@bootlin.com>

Hi Bjorn, Maintainers,

Just a gentle ping on this series, as it has been three weeks since it was
posted and hasn't received any feedback yet.

Please let me know if any changes or clarifications are needed from my side,
or if it looks good to be applied.

Best regards,
Hervé


On Tue,  3 Nov 2026 16:55:06 +0100
Herve Codina <herve.codina@bootlin.com> wrote:

> Hi,
> 
> Previously, I sent a big picture series adding support for SFP ports
> available on the LAN966x PCI device [0].
> 
> In this series patches touch several parts and sub-system in the kernel.
> Reviews have be done and it makes sense to split the series and send
> parts separately.
> 
> This current series is the extraction of patches related to issues in
> the PCI subsystem. It has to be seen as a continuation of the big
> picture series but related to this specific core part.
> 
> Patches 1 to 6 introduce and use fw_devlink_set_device() in already
> existing code. No functional change but the introduction of the
> fw_devlink_set_device() wrapper.
> 
> Patch 7 avoids a dangling pointer.
> 
> Patches 8 and 9 fix fw_devlink issues specific to PCI and the
> device-tree nodes created during enumeration.
> 
> Patch 10 avoids the usage of np->data and adds guards to prevent
> incorrect nodes removal.
> 
> [0] https://lore.kernel.org/all/20260325143555.451852-1-herve.codina@bootlin.com/
> 
> Best regards,
> Hervé
> 
> Changes:
> 
> v13 -> v14
>   v13: https://lore.kernel.org/all/20261012142826.159178-1-herve.codina@bootlin.com/
> 
>   Rebase on top of v7.4-rc1
> 
>   - Patches 1, 2, 6, 8, 9
>     Add 'Tested-by: Abdurrahman Hussain'
> 
>   - Patch 10:
>     Add 'Acked-by: Bjorn Helgaas'
> 
>   - Other patches:
>     No changes
> 
> v12 -> v13
>   v12: https://lore.kernel.org/all/20261001142815.277550-1-herve.codina@bootlin.com/
> 
>   - Patches 1 to 9
>     No changes
> 
>   - Patch 10
>     Split a test condition into two distinct checks as suggested by
>     Andy. No functional change but readability improvement. Split done
>     in both of_pci_remove_node() and of_pci_remove_host_bridge_node().
> 
> v11 -> v12
>   v11: https://lore.kernel.org/all/20260909080114.591938-1-herve.codina@bootlin.com/
> 
>   - Patches 1 to 7
>     Add 'Reviewed-by: Bartosz Golaszewski'
> 
>   - Patches 8 and 9
>     No changes
> 
>   - Patch 10
>     Add a NULL check for the retrieved OF node in removal functions to
>     avoid any NULL pointer dereferences.
>     Robustify the guard setting cset to NULL after freeing it.
>     Those issues have been reported by Shashiko:
>     https://lore.kernel.org/all/20260909081755.444E91F00A3A@smtp.kernel.org/
> 
> v10 -> v11
>   v10: https://lore.kernel.org/all/20260717145147.823749-1-herve.codina@bootlin.com/
> 
>   Rebase on top of v7.3-rc1
> 
>   - Patches 1 to 5
>     Add 'Reviewed-by: Richard Cheng'
> 
>   - Patches 6, 7 and 8
>     Add 'Reviewed-by: Richard Cheng'
>     Add 'Acked-by: Manivannan Sadhasivam'
> 
>   - Patch 9
>     Add 'Reviewed-by: Richard Cheng'
> 
>   - Patch 10
>     Rework removing np->data usage in the PCI devicetree node creation
>     and removal.
> 
> v9 -> v10
>   v9: https://lore.kernel.org/all/20260708100302.517792-1-herve.codina@bootlin.com/
> 
>   - Patches 1 to 6
>     No changes
> 
>   - Patch 7
>     Clear fwnode->dev also on error path.
> 
>   - Patch 8
>     Clear fwnode->dev also on error path.
> 
>   - Patch 9
>     No changes
> 
>   - Patch 10 (New patch in v10)
>     Guard against node removal with incorrect np->data.
> 
> v8 -> v9
>   v8: https://lore.kernel.org/all/20260630102804.413563-1-herve.codina@bootlin.com/
> 
>   - Patch 7 (new patch in v9)
>     Clear fwnode->dev during root bridge node removal (avoid a dangling
>     pointer).
> 
>   - Patch 8 (patch 7 in v8)
>     Clear fwnode->dev during PCI device node removal.
> 
> v7 -> v8
>   v7: https://lore.kernel.org/all/20260511155930.34604-1-herve.codina@bootlin.com/
> 
>   Rebase on top of v7.2-rc1
> 
>   - patches 4 and 5
>     Add 'Reviewed-by: Andy Shevchenko'
> 
>   - Other Patches
>     No other changes
> 
> v6 -> v7
> 
>   Rebase on top of v7.1-rc1
> 
>   - Patch 1
>      Add Cc stable. Needed for patches 11 and 12
> 
>   - Patches 2 to 5
>     No changes
> 
>   - Patch 6
>      Add Cc stable. Needed for patch 13
>      Add 'Acked-by: Bjorn Helgaas'
> 
>   - Patch 7
>      Fix a typo in commit log
>      Add Fixes tag + Cc stable
>      Add 'Acked-by: Bjorn Helgaas'
> 
>   - Patch 8
>      Add Fixes tag + Cc stable
>      Add 'Acked-by: Bjorn Helgaas'
> Older iterations:
>   Patches 6 to 13 in the big picture series
>   https://lore.kernel.org/all/20260325143555.451852-1-herve.codina@bootlin.com/
> 
> Herve Codina (10):
>   driver core: fw_devlink: Introduce fw_devlink_set_device()
>   drivers: core: Use fw_devlink_set_device()
>   pinctrl: cs42l43: Use fw_devlink_set_device()
>   cxl/test: Use device_set_node()
>   cxl/test: Use fw_devlink_set_device()
>   PCI: of: Use fw_devlink_set_device()
>   PCI: of: Clear fwnode->dev during root bridge node removal and error
>     path
>   PCI: of: Set fwnode device of newly created PCI device nodes
>   PCI: of: Remove fwnode_dev_initialized() call for a PCI root bridge
>     node
>   PCI: of: Avoid np->data usage for the node changeset
> 
>  drivers/base/core.c                      |  4 +-
>  drivers/pci/of.c                         | 52 ++++++++++++++++--------
>  drivers/pinctrl/cirrus/pinctrl-cs42l43.c |  2 +-
>  include/linux/fwnode.h                   |  6 +++
>  include/linux/pci.h                      | 11 +++++
>  tools/testing/cxl/test/cxl.c             |  4 +-
>  6 files changed, 58 insertions(+), 21 deletions(-)
> 



-- 
Hervé Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

      parent reply	other threads:[~2026-11-25  8:23 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-03 15:55 [PATCH v14 00/10] lan966x pci device: Add support for SFPs, PCI part Herve Codina
2026-11-03 15:55 ` [PATCH v14 01/10] driver core: fw_devlink: Introduce fw_devlink_set_device() Herve Codina
2026-11-05 15:44   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 02/10] drivers: core: Use fw_devlink_set_device() Herve Codina
2026-11-05 15:46   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 03/10] pinctrl: cs42l43: " Herve Codina
2026-11-05 15:55   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 04/10] cxl/test: Use device_set_node() Herve Codina
2026-11-05 15:57   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 05/10] cxl/test: Use fw_devlink_set_device() Herve Codina
2026-11-05 15:58   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 06/10] PCI: of: " Herve Codina
2026-11-05 16:02   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 07/10] PCI: of: Clear fwnode->dev during root bridge node removal and error path Herve Codina
2026-11-05 16:08   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 08/10] PCI: of: Set fwnode device of newly created PCI device nodes Herve Codina
2026-11-05 16:18   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 09/10] PCI: of: Remove fwnode_dev_initialized() call for a PCI root bridge node Herve Codina
2026-11-05 16:23   ` sashiko-bot
2026-11-03 15:55 ` [PATCH v14 10/10] PCI: of: Avoid np->data usage for the node changeset Herve Codina
2026-11-05 16:27   ` sashiko-bot
2026-11-25  8:22 ` Herve Codina [this message]

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=20261125092240.43499f8f@bootlin.com \
    --to=herve.codina@bootlin.com \
    --cc=abdurrahman@nexthop.ai \
    --cc=alison.schofield@intel.com \
    --cc=allan.nielsen@microchip.com \
    --cc=andrew@lunn.ch \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=bhelgaas@google.com \
    --cc=brgl@kernel.org \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=dakr@kernel.org \
    --cc=daniel.machon@microchip.com \
    --cc=dave.jiang@intel.com \
    --cc=dave@stgolabs.net \
    --cc=david.rhodes@cirrus.com \
    --cc=djbw@kernel.org \
    --cc=djrscally@gmail.com \
    --cc=driver-core@lists.linux.dev \
    --cc=gregkh@linuxfoundation.org \
    --cc=heikki.krogerus@linux.intel.com \
    --cc=horatiu.vultur@microchip.com \
    --cc=icheng@nvidia.com \
    --cc=iweiny@kernel.org \
    --cc=jic23@kernel.org \
    --cc=johan@kernel.org \
    --cc=lenb@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=lizhi.hou@amd.com \
    --cc=luca.ceresoli@bootlin.com \
    --cc=ming.li@zohomail.com \
    --cc=patches@opensource.cirrus.com \
    --cc=rafael@kernel.org \
    --cc=rf@opensource.cirrus.com \
    --cc=robh@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    --cc=saravanak@kernel.org \
    --cc=steen.hegelund@microchip.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vishal.l.verma@intel.com \
    /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