Re: [PATCH v1 1/5] spi: fsl-spi: Fix CPM/QE mode Litte Endian
From: Mark Brown
Date: Wed Apr 05 2023 - 09:43:56 EST
On Sat, 01 Apr 2023 19:59:46 +0200, Christophe Leroy wrote:
> CPM has the same problem as QE so for CPM also use the fix added
> by commit 0398fb70940e ("spi/spi_mpc8xxx: Fix QE mode Litte Endian"):
>
> CPM mode uses Little Endian so words > 8 bits are byte swapped.
> Workaround this by always enforcing wordsize 8 for 16 and 32 bits
> words. Unfortunately this will not work for LSB transfers
> where wordsize is > 8 bits so disable these for now.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/5] spi: fsl-spi: Fix CPM/QE mode Litte Endian
commit: c20c57d9868d7f9fd1b2904c7801b07e128f6322
[2/5] spi: fsl-spi: Re-organise transfer bits_per_word adaptation
commit: 8a5299a1278eadf1e08a598a5345c376206f171e
[3/5] spi: fsl-cpm: Use 16 bit mode for large transfers with even size
commit: fc96ec826bced75cc6b9c07a4ac44bbf651337ab
[4/5] spi: fsl-spi: Change mspi_apply_cpu_mode_quirks() to void
commit: 99aebb3c1b418d865461aa0813ef1b55285cbda4
[5/5] spi: fsl-spi: No need to check transfer length versus word size
commit: 4084c8ca1266ba09554de8df19aac82b6dd2e079
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