[PATCH v4 0/6] spi: Implement a atomic transfer as a last resort

Mark Brown broonie at kernel.org
Tue Nov 24 11:46:42 PST 2026


On Thu, 19 Nov 2026 14:58:02 +0100, Heiko Stuebner wrote:
> spi: Implement a atomic transfer as a last resort
> 
> SPI devices at times are used as PMICs including a power-controller
> functionality that should turn off a system.
> 
> This happens in an atomic context very late during the shutdown, where
> no interrupts are available anymore and conflicts with the asynchronous
> nature of the SPI subsystem.
> 
> [...]

Applied to

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

Thanks!

[1/6] spi: Allow spi_toggle_csgpiod() to get called from atomic contexts
      https://git.kernel.org/broonie/spi/c/bf7dd2bcdb4b
[2/6] spi: Allow spi_delay_exec() to be used from atomic contexts
      https://git.kernel.org/broonie/spi/c/3a54ec9ea89f
[3/6] spi: Export spi_set_cs() function
      https://git.kernel.org/broonie/spi/c/a26e42ee67cb
[4/6] spi: Add infrastructure for atomic sync transfers
      https://git.kernel.org/broonie/spi/c/4ab1c64f3f04
[5/6] spi: rockchip: Fix runtime resume error handling
      https://git.kernel.org/broonie/spi/c/2aa087742af9
[6/6] spi: rockchip: Add an atomic transfer function
      https://git.kernel.org/broonie/spi/c/324d55c0103c

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




More information about the Linux-rockchip mailing list