[PATCH v2 2/3] mtd: spi-nor: stm32-quadspi: fix prefetching outside fsize
Cyrille Pitchen
cyrille.pitchen at wedev4u.fr
Sun Oct 29 10:57:37 PDT 2017
Le 26/10/2017 à 17:12, Ludovic Barre a écrit :
> From: Ludovic Barre <ludovic.barre at st.com>
>
> When memory-mapped mode is used, a prefetching mechanism fully
> managed by the hardware allows to optimize the read from external
> the QSPI memory. A 32-bytes FIFO is used for prefetching.
> When the limit of flash size - fifo size is reached the prefetching
> mechanism tries to read outside the fsize.
> The stm32 quadspi hardware become busy and should be aborted.
>
> Signed-off-by: Ludovic Barre <ludovic.barre at st.com>
> Reported-by: Bruno Herrera <bruherrera at gmail.com>
> Tested-by: Bruno Herrera <bruherrera at gmail.com>
Applied to the spi-nor/next branch of l2-mtd
Thanks!
More information about the linux-arm-kernel
mailing list