All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frieder Schrempf <frieder.schrempf@kontron.de>
To: Michael Nazzareno Trimarchi <michael@amarulasolutions.com>,
	Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: Frieder Schrempf <frieder@fris.de>,
	u-boot@lists.denx.de, Jagan Teki <jagan@amarulasolutions.com>,
	Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,
	Miquel Raynal <miquel.raynal@bootlin.com>,
	Simon Glass <sjg@chromium.org>, Stefan Roese <sr@denx.de>,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation
Date: Tue, 18 Apr 2023 15:46:44 +0200	[thread overview]
Message-ID: <d1f5e0fc-898b-b7fa-ec6c-8cb39850db78@kontron.de> (raw)
In-Reply-To: <cb9a84b4-e0d7-13a5-2597-67c020a534ee@kontron.de>

Hi Michael, Dario,

On 28.03.23 09:57, Frieder Schrempf wrote:
> Hi Michael,
> 
> On 10.02.23 12:57, Michael Nazzareno Trimarchi wrote:
>> Hi
>>
>> I will review
>>
>> On Thu, Feb 9, 2023 at 5:52 PM Tom Rini <trini@konsulko.com> wrote:
>>>
>>> On Thu, Feb 09, 2023 at 10:24:47AM +0100, Frieder Schrempf wrote:
>>>> Hi,
>>>>
>>>> On 10.01.23 12:58, Frieder Schrempf wrote:
>>>>> From: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
>>>>>
>>>>> Currently there are 3 different variants of read_id implementation:
>>>>> 1. opcode only. Found in GD5FxGQ4xF.
>>>>> 2. opcode + 1 addr byte. Found in GD5GxGQ4xA/E
>>>>> 3. opcode + 1 dummy byte. Found in other currently supported chips.
>>>>>
>>>>> Original implementation was for variant 1 and let detect function
>>>>> of chips with variant 2 and 3 to ignore the first byte. This isn't
>>>>> robust:
>>>>>
>>>>> 1. For chips of variant 2, if SPI master doesn't keep MOSI low
>>>>> during read, chip will get a random id offset, and the entire id
>>>>> buffer will shift by that offset, causing detect failure.
>>>>>
>>>>> 2. For chips of variant 1, if it happens to get a devid that equals
>>>>> to manufacture id of variant 2 or 3 chips, it'll get incorrectly
>>>>> detected.
>>>>>
>>>>> This patch reworks detect procedure to address problems above. New
>>>>> logic do detection for all variants separatedly, in 1-2-3 order.
>>>>> Since all current detect methods do exactly the same id matching
>>>>> procedure, unify them into core.c and remove detect method from
>>>>> manufacture_ops.
>>>>>
>>>>> This is a rework of Chuanhong Guo <gch981213@gmail.com> patch
>>>>> submitted to linux kernel
>>>>>
>>>>> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
>>>>> Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
>>>>
>>>> +Cc: Jagan, Tom
>>>>
>>>> Who is supposed to pick up these patches? Some of them have been around
>>>> for some months (before I resent them).
>>>>
>>>> There is no maintainer for drivers/mtd/spinand/ and no maintainer for
>>>> drivers/mtd/ in general.
>>>>
>>>> In Patchwork Jagan got assigned, but the get_maintainer.pl script didn't
>>>> even add him to Cc, of course.
>>>>
>>>> Any ideas how to proceed?
>>>
>>> We don't have anyone dedicated to that area, yes, sadly. I've added
>>> Michael and Dario as they've also been doing mtd-but-not-spi work of
>>> late to see if they're interested. Or since you've long been working
>>> here, would you like to more formally maintain the area? Thanks!
>>
>> They can come from our tree. I will try to sort out all my duties weeked
> 
> Any news regarding reviewing/picking these patches?

Ping!

Can you please apply these patches, that have been waiting for so long?

Thanks
Frieder

  reply	other threads:[~2023-04-18 13:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-10 11:58 [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation Frieder Schrempf
2023-01-10 11:58 ` [PATCH 2/5] mtd/spinand: sync core spinand code with linux-5.10.118 Frieder Schrempf
2023-01-10 11:58 ` [PATCH 3/5] mtd/spinand: sync supported devices with linux-5.15.43 Frieder Schrempf
2023-01-10 11:58 ` [PATCH 4/5] mtd: spinand: winbond: fix flash identification Frieder Schrempf
2023-01-10 11:58 ` [PATCH 5/5] mtd: spinand: winbond: add Winbond W25N02KV flash support Frieder Schrempf
2023-02-09  9:24 ` [PATCH 1/5] mtd/spinand: rework detect procedure for different READ_ID operation Frieder Schrempf
2023-02-09 16:52   ` Tom Rini
2023-02-10 11:57     ` Michael Nazzareno Trimarchi
2023-02-13  9:51       ` Frieder Schrempf
2023-03-28  7:57       ` Frieder Schrempf
2023-04-18 13:46         ` Frieder Schrempf [this message]
2023-04-18 13:48           ` Michael Nazzareno Trimarchi
2023-04-18 18:19             ` Mikhail Kshevetskiy
2023-04-18 18:24               ` Michael Nazzareno Trimarchi
2023-04-19  7:08                 ` Frieder Schrempf
2023-05-09  7:09           ` Frieder Schrempf
2023-05-15 21:12             ` Tom Rini
2023-05-15 21:33               ` Michael Nazzareno Trimarchi
2023-05-17  7:43                 ` Frieder Schrempf
2023-05-31 10:58                   ` Frieder Schrempf
2023-05-31 12:58                     ` Dario Binacchi
2023-05-31 13:02                       ` Frieder Schrempf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d1f5e0fc-898b-b7fa-ec6c-8cb39850db78@kontron.de \
    --to=frieder.schrempf@kontron.de \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=frieder@fris.de \
    --cc=jagan@amarulasolutions.com \
    --cc=michael@amarulasolutions.com \
    --cc=mikhail.kshevetskiy@iopsys.eu \
    --cc=miquel.raynal@bootlin.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.