From: Daniel Henrique Barboza <danielhb413@gmail.com>
To: "Stefan Hajnoczi" <stefanha@gmail.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>
Cc: qemu-devel@nongnu.org, Bernhard Beschow <shentey@gmail.com>
Subject: Re: [PATCH] Revert "hw/block/pflash_cfi0{1, 2}: Error out if device length isn't a power of two"
Date: Wed, 9 Nov 2022 07:44:48 -0300 [thread overview]
Message-ID: <cffa84b3-2532-bc4d-ccb0-78cabfd8aeb0@gmail.com> (raw)
In-Reply-To: <CAJSP0QUTzpuoMaSn7KvVoNfn0NB_GWmij7VMn2k=Vqu9L6tCgQ@mail.gmail.com>
On 11/8/22 15:13, Stefan Hajnoczi wrote:
> On Tue, 8 Nov 2022 at 13:10, Philippe Mathieu-Daudé <philmd@linaro.org> wrote:
>>
>> On 8/11/22 18:26, Daniel Henrique Barboza wrote:
>>> This commit caused a regression [1] that prevents machines that uses
>>> Open Virtual Machine Firmware (OVMF) to boot.
>>>
>>> This is a long standing behavior with how pflash handles images. More
>>> information about why this happens can be found in [2] and commit
>>> 06f1521795 ("pflash: Require backend size to match device, improve
>>> errors").
>>>
>>> This reverts commit 334c388f25707a234c4a0dea05b9df08d7746638.
>>>
>>> [1] https://gitlab.com/qemu-project/qemu/-/issues/1294
>>> [2] https://lore.kernel.org/qemu-devel/20190308062455.29755-1-armbru@redhat.com/
>>>
>>> Cc: Bernhard Beschow <shentey@gmail.com>
>>> Cc: Philippe Mathieu-Daudé <philmd@linaro.org>
>>> Cc: Stefan Hajnoczi <stefanha@gmail.com>
>>> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1294
>>> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
>>> ---
>>> hw/block/pflash_cfi01.c | 8 ++------
>>> hw/block/pflash_cfi02.c | 5 -----
>>> 2 files changed, 2 insertions(+), 11 deletions(-)
>>
>> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
>>
>> Thanks, our patches crossed :)
>> https://lore.kernel.org/qemu-devel/20221108175755.95141-1-philmd@linaro.org/
Well of course that we both decided to send the PR almost at the same time :D
>>
>> I'm queuing yours which is first and will amend the description
>> (if you don't disagree).
>
> I've already applied yours, Philippe, because the description is more
> comprehensive.
>
> Daniel, thank you for sending your version of the patch!
Thank you Phil for sending the revert and Stefan for quickly queueing
it. The sooner we get rid of the regression the better.
Daniel
>
> Stefan
prev parent reply other threads:[~2022-11-09 10:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-08 17:26 [PATCH] Revert "hw/block/pflash_cfi0{1, 2}: Error out if device length isn't a power of two" Daniel Henrique Barboza
2022-11-08 18:10 ` Philippe Mathieu-Daudé
2022-11-08 18:13 ` Stefan Hajnoczi
2022-11-09 10:44 ` Daniel Henrique Barboza [this message]
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=cffa84b3-2532-bc4d-ccb0-78cabfd8aeb0@gmail.com \
--to=danielhb413@gmail.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=shentey@gmail.com \
--cc=stefanha@gmail.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 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).