Re: [PATCH] eeprom: at25: convert to spi-mem API

From: Greg Kroah-Hartman

Date: Tue Nov 04 2025 - 18:15:42 EST


On Mon, Nov 03, 2025 at 05:33:34PM +0100, Christophe Leroy wrote:
> Hi,
>
> Le 03/07/2025 à 00:28, A. Sverdlin a écrit :
> > From: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxxxx>
> >
> > Replace the RAW SPI accesses with spi-mem API. The latter will fall back to
> > RAW SPI accesses if spi-mem callbacks are not implemented by a controller
> > driver.
>
> With this patch (kernel v6.17.1) our powerpc boards are totally unstable, we
> get multiple random Oops due to bad memory accesses.
>
> With this commit reverted the board is stable again.
>
> The SPI driver is:
>
> CONFIG_SPI=y
> CONFIG_SPI_MASTER=y
> CONFIG_SPI_MEM=y
> CONFIG_SPI_FSL_LIB=y
> CONFIG_SPI_FSL_CPM=y
> CONFIG_SPI_FSL_SPI=y
>
> How can we further investigate the issue ?

We can revert it until it comes back working properly. Can you send a
revert so that I can apply it?

thanks,

greg k-h