[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8bec1bdb-2e22-d2bd-18bf-505f6dc75024@collabora.com>
Date: Wed, 7 Dec 2022 14:21:56 +0100
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: Bayi Cheng <bayi.cheng@...iatek.com>,
Mark Brown <broonie@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Ikjoon Jang <ikjn@...omium.org>
Cc: linux-spi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Chuanhong Guo <gch981213@...il.com>,
Project_Global_Chrome_Upstream_Group@...iatek.com
Subject: Re: [PATCH v2] spi: spi-mtk-nor: Add recovery mechanism for dma read
timeout
Il 07/12/22 06:54, Bayi Cheng ha scritto:
> From: bayi cheng <bayi.cheng@...iatek.com>
>
> The state machine of MTK spi nor controller may be disturbed by some
> glitch signals from the relevant BUS during dma read, Although the
> possibility of causing the dma read to fail is next to nothing,
> However, if error-handling is not implemented, which makes the feature
> somewhat risky.
>
> Add an error-handling mechanism here, reset the state machine and
> re-read the data when an error occurs.
>
> Signed-off-by: bayi cheng <bayi.cheng@...iatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists