From: Michael Walle <michael@walle.cc>
To: "Philippe Mathieu-Daudé" <philippe.mathieu.daude@gmail.com>
Cc: Kevin Wolf <kwolf@redhat.com>,
"open list:Block layer core" <qemu-block@nongnu.org>,
Potin Lai <potin.lai@quantatw.com>,
Alistair Francis <alistair@alistair23.me>,
"open list:All patches CC here" <qemu-devel@nongnu.org>,
Patrick Williams <patrick@stwcx.xyz>,
Hanna Reitz <hreitz@redhat.com>
Subject: Re: [PATCH] hw/block: m25p80: Add support for w25q01jvq
Date: Fri, 04 Mar 2022 20:47:58 +0100 [thread overview]
Message-ID: <7827c791b7f91f4eb216b33473dd6103@walle.cc> (raw)
In-Reply-To: <9b9b0251-2698-61b9-b4b1-5e5e54fea5a1@gmail.com>
Am 2022-03-04 20:30, schrieb Philippe Mathieu-Daudé:
> On 4/3/22 19:09, Patrick Williams wrote:
>> The w25q01jvq is a 128MB part. Support is being added to the
>> kernel[1]
>> and the two have been tested together.
>>
>> 1.
>> https://lore.kernel.org/lkml/20220222092222.23108-1-potin.lai@quantatw.com/
>>
>> Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
>> Cc: Potin Lai <potin.lai@quantatw.com>
>> ---
>> hw/block/m25p80.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c
>> index c6bf3c6bfa..7d3d8b12e0 100644
>> --- a/hw/block/m25p80.c
>> +++ b/hw/block/m25p80.c
>> @@ -340,6 +340,7 @@ static const FlashPartInfo known_devices[] = {
>> { INFO("w25q80bl", 0xef4014, 0, 64 << 10, 16, ER_4K)
>> },
>> { INFO("w25q256", 0xef4019, 0, 64 << 10, 512, ER_4K)
>> },
>> { INFO("w25q512jv", 0xef4020, 0, 64 << 10, 1024, ER_4K)
>> },
>> + { INFO("w25q01jvq", 0xef4021, 0, 64 << 10, 2048, ER_4K)
>> },
>> };
>> typedef enum {
>
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
FWIW, the linux spi nor subsystem will rely more and more on the SFDP
for newer flashes. I had a quick look at qemu's source and command
RDSFDP (0x5a) isn't emulated. Might be worth implementing ;)
-michael
next prev parent reply other threads:[~2022-03-04 20:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-04 18:09 [PATCH] hw/block: m25p80: Add support for w25q01jvq Patrick Williams
2022-03-04 19:30 ` Philippe Mathieu-Daudé
2022-03-04 19:47 ` Michael Walle [this message]
2022-03-05 8:06 ` Cédric Le Goater
2022-03-07 16:39 ` Francisco Iglesias
2022-03-08 8:02 ` Cédric Le Goater
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=7827c791b7f91f4eb216b33473dd6103@walle.cc \
--to=michael@walle.cc \
--cc=alistair@alistair23.me \
--cc=hreitz@redhat.com \
--cc=kwolf@redhat.com \
--cc=patrick@stwcx.xyz \
--cc=philippe.mathieu.daude@gmail.com \
--cc=potin.lai@quantatw.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).