On 21.01.24 10:42, Linux regression tracking #adding (Thorsten Leemhuis) wrote: > On 12.01.24 20:11, Guenter Roeck wrote: >> >> On Sat, Nov 25, 2023 at 02:51:30PM +0530, Amit Kumar Mahapatra wrote: >>> AMD-Xilinx GQSPI controller has two advanced mode that allows the >>> controller to consider two flashes as one single device. >>> >>> One of these two mode is the parallel mode in which each byte of data is >>> stored in both devices, the even bits in the lower flash & the odd bits in >>> the upper flash. The byte split is automatically handled by the QSPI >>> controller. >> [...] >> With this patch in the mainline kernel, two of my qemu emulations >> (quanta-q71l-bmc and almetto-bmc) fail to instantiate the first SPI >> controller and thus fail to boot from SPI. The error message is >> >> [ 3.006458] spi_master spi0: No. of CS is more than max. no. of supported CS >> [ 3.006775] spi_master spi0: Failed to create SPI device for /ahb/spi@1e620000/flash@0 >> >> The problem is no longer seen after reverting this patch. >> [...] >> # first bad commit: [4d8ff6b0991d5e86b17b235fc46ec62e9195cb9b] spi: Add multi-cs memories support in SPI core > > Thanks for the report. To be sure the issue doesn't fall through the > cracks unnoticed, I'm adding it to regzbot, the Linux kernel regression > tracking bot: > > #regzbot ^introduced 4d8ff6b0991d5e86b17b235fc46ec62e9195cb9 > #regzbot title spi: qemu emulations quanta-q71l-bmc and almetto-bmc fail > to boot > #regzbot ignore-activity #regzbot fix: spi: Raise limit on number of chip selects #regzbot ignore-activity 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 That page also explains what to do if mails like this annoy you.