On 20.11.23 18:48, Francesco Dolcini wrote: > On Mon, Nov 20, 2023 at 04:30:15PM +0100, Stefan Moring wrote: >> Can you verify the values used for the transfer, spi_imx->count and spi_imx-> >> bits_per_word inside the mx51_ecpsi_prepare_transfer() method? Those are the >> only two things that changed in the commits. Maybe compare them to the working >> version? > > I would suggest to bisect the issue to the actual commit that > introduced the regression, I do not think this was done yet. I think it was. To quote https://lore.kernel.org/all/8a415902c751cdbb4b20ce76569216ed@xxxxxxxxxxxxxxxxxxx/ "'" After upgrade from kernel 6.5.11 to 6.6.1 the spi-devices on my hw colibri-imx6dl and verdin-imx8mm are not working anymore (TPM2 and SPI-SRAM). Analyzing the problem showed that the 2 commits introduced the problem: spi: Increase imx51 ecspi burst length based on transfer length 15a6af94a2779d5dfb42ee4bfac858ea8e964a3f spi: imx: Take in account bits per word instead of assuming 8-bits 5f66db08cbd3ca471c66bacb0282902c79db9274 Reverting the commits solved the problem. "'" Or am I missing something here? Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) -- Everything you wanna know about Linux kernel regression tracking: https://linux-regtracking.leemhuis.info/about/#tldr If I did something stupid, please tell me, as explained on that page.