qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: U-Boot Mailing List <u-boot@lists.denx.de>,
	Bin Meng <bmeng.cn@gmail.com>,
	Andrew Goodbody <andrew.goodbody@linaro.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Angelo Dureghello <angelo@kernel-space.org>,
	Guillaume La Roque <glaroque@baylibre.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Igor Opaniuk <igor.opaniuk@gmail.com>,
	Jerome Forissier <jerome.forissier@linaro.org>,
	Julien Masson <jmasson@baylibre.com>,
	Julius Lehmann <lehmanju@devpi.de>,
	Love Kumar <love.kumar@amd.com>,
	Marek Vasut <marek.vasut+renesas@mailbox.org>,
	Martyn Welch <martyn.welch@collabora.com>,
	Mattijs Korpershoek <mkorpershoek@baylibre.com>,
	Maximilian Brune <maximilian.brune@9elements.com>,
	Moritz Fischer <moritzf@google.com>,
	Patrick Rudolph <patrick.rudolph@9elements.com>,
	Philip Oberfichtner <pro@denx.de>,
	Quentin Schulz <quentin.schulz@cherry.de>,
	Richard Weinberger <richard@nod.at>,
	Stephen Warren <swarren@nvidia.com>,
	Stephen Warren <swarren@wwwdotorg.org>,
	Sughosh Ganu <sughosh.ganu@linaro.org>,
	qemu-devel@nongnu.org
Subject: Re: [PATCH v4 00/47] x86: Improve operation under QEMU
Date: Fri, 14 Mar 2025 10:06:52 -0600	[thread overview]
Message-ID: <20250314160652.GS2640854@bill-the-cat> (raw)
In-Reply-To: <CAFLszTgtYsVQW-kETzUAdvJvAT6fN_53TeoN7o8wu52Ze3u56Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3011 bytes --]

On Fri, Mar 14, 2025 at 02:44:35PM +0000, Simon Glass wrote:
> Hi Tom,
> 
> On Fri, 7 Mar 2025 at 14:23, Tom Rini <trini@konsulko.com> wrote:
> >
> > On Thu, Mar 06, 2025 at 09:03:27AM -0700, Simon Glass wrote:
> >
> > > U-Boot can start and boot an OS in both qemu-x86 and qemu-x86_64 but it
> > > is not perfect.
> > >
> > > With both builds, executing the VESA ROM causes an intermittent hang, at
> > > least on some AMD CPUs.
> > >
> > > With qemu-x86_64 kvm cannot be used since the move to long mode (64-bit)
> > > is done in a way that works on real hardware but not with QEMU. This
> > > means that performance is 4-5x slower than it could be, at least on my
> > > CPU.
> > >
> > > We can work around the first problem by using Bochs, which is anyway a
> > > better choice than VESA for QEMU. The second can be addressed by using
> > > the same descriptor across the jump to long mode.
> > >
> > > With an MTRR fix this allows booting into Ubuntu on qemu-x86_64
> > >
> > > In v3 some e820 patches are included to make booting reliable and avoid
> > > ACPI tables being dropped. Also, several MTTR problems are addressed, to
> > > support memory sizes above 4GB reliably.
> >
> > Do you plan to rebase the prerequisite series' this requires so that it
> > can be merged?
> 
> Here's my understanding of where things are:
> 
> 1. You rejected the membuf series and my replies to try to resolve
> that haven't gone anywhere yet. So your tree doesn't have any tests
> for that code and still has the old naming.

https://patchwork.ozlabs.org/comment/3473898/ is a well thought out not
gratuitous summary of why the series as it stands is a step in the wrong
direction. Tests are good. They're not a reason to pull an otherwise bad
series. This series should be rebased to not depend on that series. The
tests from the other series should be split out.

> 2. I sent the first part of the PXE series so you could apply that.

Yes, I should be applying that next week.

> 3. You rejected the second part of this series because it didn't
> include support for lwip without cmdline. I offered to handle that
> case later but I'm pretty sure you rejected that too.

That's not how I would characterize it, no. I said you should probably
focus on sandbox + lwip, since you're the sandbox guru and ask Jerome to
do the net_loop-alike thing, since he's one of the network custodians
and the lwip person. I was trying to direct you to where your efforts
might be most useful but if you insist on instead doing the
net_loop-alike part and Jerome ack's it, that's fine.

> 4. This series is now marked 'changes requested' but the only feedback
> I see is in the RFC patch.

Yes, rebase to something that can be applied is a change I've requested.
Because my feedback was "Do you plan to rebase the prerequisite series'
this requires so that it can be merged?". I would have otherwise merged
it by now.

Patchwork reflects mainline status.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2025-03-14 16:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-06 16:03 [PATCH v4 00/47] x86: Improve operation under QEMU Simon Glass
2025-03-06 16:03 ` [PATCH v4 04/47] x86: qemu: Switch to bochs display Simon Glass
2025-03-06 16:03 ` [PATCH v4 05/47] x86: qemu: Enable dhrystone Simon Glass
2025-03-06 16:03 ` [PATCH v4 06/47] x86: qemu: Avoid accessing BSS too early Simon Glass
2025-03-06 16:03 ` [PATCH v4 28/47] x86: qemu: Support environment and cat command Simon Glass
2025-03-06 16:04 ` [PATCH v4 34/47] x86: qemu: Use the new e820 API Simon Glass
2025-03-07 14:22 ` [PATCH v4 00/47] x86: Improve operation under QEMU Tom Rini
2025-03-14 14:44   ` Simon Glass
2025-03-14 16:06     ` Tom Rini [this message]
2025-03-15 12:54       ` Simon Glass
2025-03-15 13:57         ` Tom Rini
2025-03-15 14:38           ` Simon Glass

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=20250314160652.GS2640854@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=andrew.goodbody@linaro.org \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=angelo@kernel-space.org \
    --cc=bmeng.cn@gmail.com \
    --cc=glaroque@baylibre.com \
    --cc=igor.opaniuk@gmail.com \
    --cc=jerome.forissier@linaro.org \
    --cc=jmasson@baylibre.com \
    --cc=lehmanju@devpi.de \
    --cc=love.kumar@amd.com \
    --cc=marek.vasut+renesas@mailbox.org \
    --cc=martyn.welch@collabora.com \
    --cc=maximilian.brune@9elements.com \
    --cc=mkorpershoek@baylibre.com \
    --cc=moritzf@google.com \
    --cc=patrick.rudolph@9elements.com \
    --cc=pro@denx.de \
    --cc=qemu-devel@nongnu.org \
    --cc=quentin.schulz@cherry.de \
    --cc=richard@nod.at \
    --cc=sjg@chromium.org \
    --cc=sughosh.ganu@linaro.org \
    --cc=swarren@nvidia.com \
    --cc=swarren@wwwdotorg.org \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.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 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).