All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Blue Swirl <blauwirbel@gmail.com>,
	Anthony Liguori <anthony@codemonkey.ws>,
	Bob Breuer <breuerr@mc.net>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Artyom Tarasenko <atar4qemu@gmail.com>
Subject: Re: [Qemu-devel] [PATCH] sun4m: Add FCode ROM for TCX framebuffer
Date: Sat, 24 Aug 2013 14:05:13 +0100	[thread overview]
Message-ID: <5218AF89.4020205@ilande.co.uk> (raw)
In-Reply-To: <CAFEAcA_oGwhU8FKRo498oyHKSbzhbq642Pm=JkDXjqNKQRhYTQ@mail.gmail.com>

On 21/08/13 18:06, Peter Maydell wrote:

>> Okay so in that case what is the best way to manage to process? If both this
>> and the follow-up patchset are committed first without the associated FCode
>> ROM images then qemu-system-sparc will be broken until the main OpenBIOS
>> images are updated because (quite rightly) the TCX driver will attempt to
>> load the ROM at startup and fail because they aren't present...?
>>
>> Is the best way to send a pull request for the update OpenBIOS images plus
>> associated FCode ROMs first and then work on getting the QEMU patches
>> applied? This isn't strictly correct, but the display code currently has a
>> "panic" fallback in place where it should try and load an inbuilt TCX driver
>> if it doesn't find a valid display ROM during probe.
>
> I guess Anthony gets to make the call on what we should do here,
> but my opinion is that if the problem is effectively "these QEMU
> changes must be in sync with these updated OpenBIOS images" then
> (a) something's wrong because having QEMU that closely coupled
> to firmware is rather dubious and (b) there should be a single patch
> [and thus a single git commit] which both updates QEMU and updates
> the blobs in our repo and updates the gitmodule to point at the
> sources we used to build those blobs].

Just to clarify that all of the changes don't have to go in one commit, 
since the current OpenBIOS has a (temporary) fallback to use an internal 
copy of the old hard-wired TCX FCode blob if it can't locate a suitable 
display ROM. While this may be removed longer term, I think it's a 
reasonable compromise in order to maintain bisectability of the QEMU 
tree at the moment.

Based upon this thread, my preferred method would be this:

1) Get Anthony to update the OpenBIOS git repository on git.qemu.org

2) Update the existing OpenBIOS images for all architectures on my
    github account and send a pull request

3) Rework the patch based upon yours/Andreas' suggestions and resubmit
    to the qemu-devel list, including the new TCX FCode ROM

4) Get TCX driver patch applied

Any future updates to OpenBIOS will also update the TCX ROM image, 
although I'm fairly sure that changes in the ROM aren't likely to occur 
often if at all. Does that sound reasonable to everyone?


ATB,

Mark.

  reply	other threads:[~2013-08-24 13:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 22:25 [Qemu-devel] [PATCH] sun4m: Add FCode ROM for TCX framebuffer Mark Cave-Ayland
2013-08-20 22:41 ` Peter Maydell
2013-08-21 14:44   ` Mark Cave-Ayland
2013-08-21 15:34     ` Peter Maydell
2013-08-21 16:29       ` Mark Cave-Ayland
2013-08-21 17:06         ` Peter Maydell
2013-08-24 13:05           ` Mark Cave-Ayland [this message]
2013-08-21 17:54   ` Andreas Färber
2013-08-21 18:52     ` Mark Cave-Ayland
2013-08-24 17:46       ` Andreas Färber
2013-08-26 21:35         ` Mark Cave-Ayland

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=5218AF89.4020205@ilande.co.uk \
    --to=mark.cave-ayland@ilande.co.uk \
    --cc=anthony@codemonkey.ws \
    --cc=atar4qemu@gmail.com \
    --cc=blauwirbel@gmail.com \
    --cc=breuerr@mc.net \
    --cc=peter.maydell@linaro.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 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.