Linux SPI subsystem development
 help / color / mirror / Atom feed
* [PATCH v7 0/3] lan966x pci device: Add support for SFPs, core part
@ 2026-05-11 15:57 Herve Codina
  2026-05-11 15:57 ` [PATCH v7 1/3] Revert "treewide: Fix probing of devices in DT overlays" Herve Codina
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Herve Codina @ 2026-05-11 15:57 UTC (permalink / raw)
  To: Andrew Lunn, Rob Herring, Saravana Kannan, Geert Uytterhoeven,
	Kalle Niemi, Matti Vaittinen, Greg Kroah-Hartman,
	Rafael J. Wysocki, Danilo Krummrich, Frank Li, Sascha Hauer,
	Pengutronix Kernel Team, Fabio Estevam, Wolfram Sang, Mark Brown,
	Andy Shevchenko, Daniel Scally, Heikki Krogerus, Sakari Ailus,
	Len Brown, Shawn Guo
  Cc: Wolfram Sang, driver-core, linux-kernel, imx, linux-arm-kernel,
	linux-i2c, devicetree, linux-spi, linux-acpi, Allan Nielsen,
	Horatiu Vultur, Daniel Machon, Steen Hegelund, Luca Ceresoli,
	Thomas Petazzoni, Herve Codina

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 driver core
subsystem. It fixes devlink issues when a device-tree overlay is applied
and avoid a warning when a device is removed.

It has to be seen as a continuation of the big picture series but
related to this specific core part.

Patches 1 and 2 fixes fw_devlink when it is used with overlay. Those
patches were previously sent by Saravana [1].

I rebased them on top of v7.1-rc1 and I added a call to
driver_deferred_probe_trigger() in Saravana's patch (patch 2) to ensure
that probes are retried after the modification performed on the dangling
consumers. This allows to fix issues reported by Matti and Geert [2]
with the previous iteration patches.

Patch 3 avoids a warning on device removal.

Those 3 patches seem ready to land and so having them extracted in this
current series will help having them applied.

[0] https://lore.kernel.org/all/20260325143555.451852-1-herve.codina@bootlin.com/
[1] https://lore.kernel.org/lkml/20240411235623.1260061-1-saravanak@google.com/
[2] https://lore.kernel.org/all/072dde7c-a53c-4525-83ac-57ea38edc0b5@gmail.com/

Best regards,
Hervé

Changes:

v6 -> v7

  Rebase on top v7.1-rc1

  - Patch 1
    Fix conflict due to commit f72e77c33e4b ("device property: Make
    modifications of fwnode "flags" thread safe")
    Add 'Acked-by: Rob Herring'

  - Patch 2
    Use fwnode_test_flag() to test fwnode flags value
    Add 'Acked-by: Rob Herring'

  - Patche 3
    No changes

Older iterations:
  Patches 1 to 3 in the big picture series
  https://lore.kernel.org/all/20260325143555.451852-1-herve.codina@bootlin.com/

Herve Codina (1):
  driver core: Avoid warning when removing a device while its supplier
    is unbinding

Saravana Kannan (2):
  Revert "treewide: Fix probing of devices in DT overlays"
  of: dynamic: Fix overlayed devices not probing because of fw_devlink

 drivers/base/core.c       | 86 ++++++++++++++++++++++++++++++++++-----
 drivers/bus/imx-weim.c    |  6 ---
 drivers/i2c/i2c-core-of.c |  5 ---
 drivers/of/dynamic.c      |  1 -
 drivers/of/overlay.c      | 15 +++++++
 drivers/of/platform.c     |  5 ---
 drivers/spi/spi.c         |  5 ---
 include/linux/fwnode.h    |  1 +
 8 files changed, 92 insertions(+), 32 deletions(-)

-- 
2.54.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-05-11 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-11 15:57 [PATCH v7 0/3] lan966x pci device: Add support for SFPs, core part Herve Codina
2026-05-11 15:57 ` [PATCH v7 1/3] Revert "treewide: Fix probing of devices in DT overlays" Herve Codina
2026-05-11 15:57 ` [PATCH v7 2/3] of: dynamic: Fix overlayed devices not probing because of fw_devlink Herve Codina
2026-05-11 15:57 ` [PATCH v7 3/3] driver core: Avoid warning when removing a device while its supplier is unbinding Herve Codina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox