From: Samuel Tardieu <sam@rfc1149.net>
To: ~mohammadodeh <Mohammad.Odeh@exalt.ps>
Cc: qemu-devel@nongnu.org, "Alexandre Iooss" <erdnaxe@crans.org>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Alistair Francis" <alistair@alistair23.me>,
"Kevin Wolf" <kwolf@redhat.com>,
"Hanna Reitz" <hreitz@redhat.com>,
"Fabiano Rosas" <farosas@suse.de>,
"Laurent Vivier" <lvivier@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>,
"Markus Armbruster" <armbru@redhat.com>,
"Cédric Le Goater" <clg@redhat.com>,
"Bernhard Beschow" <shentey@gmail.com>,
"Gaurav Sharma" <gaurav.sharma_7@nxp.com>,
"Jan Kiszka" <jan.kiszka@web.de>,
"Bin Meng" <bin.meng@processmission.com>,
"Shameer Kolothum" <skolothumtho@nvidia.com>,
"Jamin Lin" <jamin_lin@aspeedtech.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
qemu-arm@nongnu.org, qemu-block@nongnu.org
Subject: Re: [PATCH qemu 1/3] hw/block: Add Macronix MX25R6435F flash
Date: Sat, 14 Nov 2026 11:20:52 +0100 [thread overview]
Message-ID: <87pkw7zpbv.fsf@rfc1149.net> (raw)
In-Reply-To: <179449578952.8382.2790865629085512841-1@git.sr.ht>
~mohammadodeh <mohammadodeh@git.sr.ht> writes:
> { INFO("mx25l25655e", 0xc22619, 0, 64 << 10, 512, 0) },
> + { INFO("mx25r6435", 0xc22817, 0, 64 << 10, 128, ER_4K | ER_32K),
> + .sfdp_read = m25p80_sfdp_mx25r6435 },
> { INFO("mx66l51235f", 0xc2201a, 0, 64 << 10, 1024, ER_4K | ER_32K) },
By looking at the surrounding lines, it looks like the part suffix ("f" here) is usually included. Shouldn't it be "mx25r6435f" instead of "mx25r6435"?
> PP = 0x02,
> PP4 = 0x12,
> PP4_4 = 0x3e,
> + QPP_1_4_4 = 0x38,
> DPP = 0xa2,
> QPP = 0x32,
> QPP_4 = 0x34,
I would have put the `QPP_1_4_4` definition after the `QPP_4` to group the `QPP` instances.
> @@ -759,6 +762,7 @@ static void complete_collecting_data(Flash *s)
>
> switch (s->cmd_in_progress) {
> case DPP:
> + case QPP_1_4_4:
> case QPP:
> case QPP_4:
> case PP:
Same here.
Also, you haven't added a case to the switch in `get_addr_length()`. Is that because it matches the default case, or is that an oversight?
Best.
Sam
--
Samuel Tardieu
next prev parent reply other threads:[~2026-11-14 10:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-12 15:03 [PATCH qemu 0/3] hw/arm: Add STM32L496G-DISCO QuadSPI support ~mohammadodeh
2026-09-27 7:08 ` [PATCH qemu 1/3] hw/block: Add Macronix MX25R6435F flash ~mohammadodeh
2026-11-14 10:20 ` Samuel Tardieu [this message]
2026-09-27 7:09 ` [PATCH qemu 2/3] hw/ssi: Add STM32L4x5 QuadSPI controller ~mohammadodeh
2026-09-27 7:32 ` [PATCH qemu 3/3] hw/arm: Add STM32L496G-DISCO machine ~mohammadodeh
2026-11-14 10:22 ` [PATCH qemu 0/3] hw/arm: Add STM32L496G-DISCO QuadSPI support Samuel Tardieu
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=87pkw7zpbv.fsf@rfc1149.net \
--to=sam@rfc1149.net \
--cc=Mohammad.Odeh@exalt.ps \
--cc=alistair@alistair23.me \
--cc=armbru@redhat.com \
--cc=bin.meng@processmission.com \
--cc=clg@redhat.com \
--cc=erdnaxe@crans.org \
--cc=farosas@suse.de \
--cc=gaurav.sharma_7@nxp.com \
--cc=hreitz@redhat.com \
--cc=jamin_lin@aspeedtech.com \
--cc=jan.kiszka@web.de \
--cc=kwolf@redhat.com \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@oss.qualcomm.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=shentey@gmail.com \
--cc=skolothumtho@nvidia.com \
/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.