[PATCH] spi: airoha: Explicitly prevent continuous reads

Miquel Raynal miquel.raynal at bootlin.com
Thu Nov 19 01:26:26 PST 2026


Hi Mikhail,

On 18/11/2026 at 21:37:21 +03, Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu> wrote:

> Hello Miquel,
>
> I think the patch is bad for the following reasons:
> * As I know there is no CS issue with Airoha controller. It works properly.
> * Airoha controller supports large reads (but only in PIO  mode). Thus
>   continuous reading may work properly. Unfortunately PIO reading several
>   times slower than DMA reading.
> * DMA reading is much faster, but can't be used for continuous reading.
>   Maximum transfer size is 8191 bytes.
>
> Thus for new Airoha controllers (en7523, an7581 and newer) it's better do
> not use continuous reading and read pages using DMA. Old controllers (like
> en7512) does not support DMA, so they can benefit from continuous mode
> reading.

I had understood that the problem was CS handling. Therefore, the
approach proposed here is not a good solution, let's drop that patch.

Thanks for the feedback,
Miquèl



More information about the linux-arm-kernel mailing list