[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <62909863-5f1d-7fc7-3fd5-a8da0caa89ba@quicinc.com>
Date: Wed, 18 Oct 2023 16:37:34 +0530
From: Md Sadre Alam <quic_mdalam@...cinc.com>
To: Pratyush Yadav <pratyush@...nel.org>,
Michael Walle <michael@...le.cc>
CC: <tudor.ambarus@...aro.org>, <miquel.raynal@...tlin.com>,
<richard@....at>, <vigneshr@...com>,
<linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<quic_srichara@...cinc.com>, <quic_varada@...cinc.com>
Subject: Re: [PATCH] mtd: spi-nor: Ensure operation completion before shutdown
On 10/12/2023 3:36 PM, Pratyush Yadav wrote:
> On Thu, Oct 12 2023, Michael Walle wrote:
>
>> Hi,
>>
>> Am 2023-10-12 07:51, schrieb Md Sadre Alam:
>>> Ensure that there are no pending spi operation inprogress
>>> when system halts.
>>
>> What operation might be in progress here? Did you encounter some problems?
>> Please explain it in more detail in the commit message.
>
> +1
>
> Ideally we should never reach this function with a pending operation. I
> think we should do a proper wait in the place we did the operation that
> needs waiting rather than here. That would make sure operations other
> than shutdown, like reads, also work properly.
>
We have faced issue while doing nor flash read/write test with specific nor part.
Will check once again with the same part and post new patch.
Powered by blists - more mailing lists