On Sun, 20 Sep 2020 14:28:44 +0300, Serge Semin wrote: > Originally I intended to merge a dedicated Baikal-T1 System Boot SPI > Controller driver into the kernel and leave the DW APB SSI driver > untouched. But after a long discussion (see the link at the bottom of the > letter) Mark and Andy persuaded me to integrate what we developed there > into the DW APB SSI core driver to be useful for another controllers, > which may have got the same peculiarities/problems as ours: > - No IRQ. > - No DMA. > - No GPIO CS, so a native CS is utilized. > - small Tx/Rx FIFO depth. > - Automatic CS assertion/de-assertion. > - Slow system bus. > All of them have been fixed in the framework of this patchset in some > extent at least for the SPI memory operations. As I expected it wasn't > that easy and the integration took that many patches as you can see from > the subject. Though some of them are mere cleanups or weakly related with > the subject fixes, but we just couldn't leave the code as is at some > places since we were working with the DW APB SSI driver anyway. Here is > what we did to fix the original DW APB SSI driver, to make it less messy. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/9] spi: dw: Discard IRQ threshold macro commit: 07918df724f2fed02327e3cbfe58a5d5568b2cc2 [2/9] spi: dw: Initialize n_bytes before the memory barrier commit: 8225c1c9a073c323f68833d136fcf94fbc75a275 [3/9] spi: spi-dw: Remove extraneous locking commit: 0b6bfad4cee4a3d5c49e01fa00284db4b676360e [4/9] spi: dw: Clear IRQ status on DW SPI controller reset commit: a128f6ecd56a32e559889145003425b0c7d406e3 [5/9] spi: dw: Disable all IRQs when controller is unused commit: a1d5aa6f7f97b15e8fd917169239088823471741 [6/9] spi: dw: Use relaxed IO-methods to access FIFOs commit: 7e31cea7d1e0f4b683dc45c21530cd3ee82559b4 [7/9] spi: dw: Discard DW SSI chip type storages commit: 675e7c9d71cedee3988b554c47971be77e72d2db [8/9] spi: dw: Convert CS-override to DW SPI capabilities commit: cc760f3143f53ea8387cd76cffc43bdc89db9df4 [9/9] spi: dw: Add KeemBay Master capability commit: ffb7ca54c95b4c76ad8a9aa1b2b16d61df2a7139 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