[PATCH 00/12] spi: switch to managed controller allocation (part 3/3)

Johan Hovold posted 12 patches 1 month ago
drivers/spi/spi-altera-platform.c | 27 +++++++------------
drivers/spi/spi-armada-3700.c     | 44 ++++++++++---------------------
drivers/spi/spi-clps711x.c        | 31 +++++++---------------
drivers/spi/spi-falcon.c          |  8 ++----
drivers/spi/spi-fsi.c             |  8 +++---
drivers/spi/spi-hisi-sfc-v3xx.c   | 20 +++++---------
drivers/spi/spi-jcore.c           | 23 +++++-----------
drivers/spi/spi-lp8841-rtc.c      | 16 +++--------
drivers/spi/spi-meson-spifc.c     | 22 ++++++----------
drivers/spi/spi-mux.c             | 19 +++----------
drivers/spi/spi-xlp.c             |  3 +--
11 files changed, 68 insertions(+), 153 deletions(-)
[PATCH 00/12] spi: switch to managed controller allocation (part 3/3)
Posted by Johan Hovold 1 month ago
In preparation for fixing the SPI controller API so that it no longer
drops a reference when deregistering (non-managed) controllers (cf.
[1]), this series converts drivers using managed registration to also
use managed allocation.

Included is also a related cleanup of a lp8841-rtc.

This leaves us with 18 drivers using non-managed allocation, which is
few enough to be able to fix the API in tree-wide change.

Johan


[1] https://lore.kernel.org/lkml/20260325145319.1132072-1-johan@kernel.org/


Johan Hovold (12):
  spi: altera-platform: switch to managed controller allocation
  spi: armada-3700: switch to managed controller allocation
  spi: clps711x: switch to managed controller allocation
  spi: falcon: switch to managed controller allocation
  spi: fsi: switch to managed controller allocation
  spi: hisi-sfc-v3xx: switch to managed controller allocation
  spi: jcore: switch to managed controller allocation
  spi: lp8841-rtc: switch to managed controller allocation
  spi: lp8841-rtc: drop unused ifdef
  spi: meson-spifc: switch to managed controller allocation
  spi: mux: switch to managed controller allocation
  spi: xlp: switch to managed controller allocation

 drivers/spi/spi-altera-platform.c | 27 +++++++------------
 drivers/spi/spi-armada-3700.c     | 44 ++++++++++---------------------
 drivers/spi/spi-clps711x.c        | 31 +++++++---------------
 drivers/spi/spi-falcon.c          |  8 ++----
 drivers/spi/spi-fsi.c             |  8 +++---
 drivers/spi/spi-hisi-sfc-v3xx.c   | 20 +++++---------
 drivers/spi/spi-jcore.c           | 23 +++++-----------
 drivers/spi/spi-lp8841-rtc.c      | 16 +++--------
 drivers/spi/spi-meson-spifc.c     | 22 ++++++----------
 drivers/spi/spi-mux.c             | 19 +++----------
 drivers/spi/spi-xlp.c             |  3 +--
 11 files changed, 68 insertions(+), 153 deletions(-)

-- 
2.53.0
Re: [PATCH 00/12] spi: switch to managed controller allocation (part 3/3)
Posted by Mark Brown 3 weeks, 4 days ago
On Mon, 11 May 2026 17:03:56 +0200, Johan Hovold wrote:
> spi: switch to managed controller allocation (part 3/3)
> 
> In preparation for fixing the SPI controller API so that it no longer
> drops a reference when deregistering (non-managed) controllers (cf.
> [1]), this series converts drivers using managed registration to also
> use managed allocation.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-7.2

Thanks!

[01/12] spi: altera-platform: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/a7a24f0eaa71
[02/12] spi: armada-3700: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/5b4a0450fe2f
[03/12] spi: clps711x: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/ee9575d2b3db
[04/12] spi: falcon: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/864c368199cf
[05/12] spi: fsi: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/c087eb4603d9
[06/12] spi: hisi-sfc-v3xx: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/572a9fb1a609
[07/12] spi: jcore: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/0a290bb1ff0b
[08/12] spi: lp8841-rtc: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/06ba67d9d479
[09/12] spi: lp8841-rtc: drop unused ifdef
        https://git.kernel.org/broonie/spi/c/4fee1d3a563d
[10/12] spi: meson-spifc: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/1e447a5aa124
[11/12] spi: mux: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/60db555fca74
[12/12] spi: xlp: switch to managed controller allocation
        https://git.kernel.org/broonie/spi/c/f3d1dc0bc65a

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark