From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Bruce Ashfield <bruce.ashfield@windriver.com>,
Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: "Hart, Darren" <darren.hart@intel.com>,
"saul.wold" <saul.wold@intel.com>,
poky@yoctoproject.org,
openembedded-core <openembedded-core@lists.openembedded.org>
Subject: Re: [poky] [PATCH 1/1] poky: update qemu* to prefer 4.4 kernel
Date: Thu, 10 Mar 2016 20:59:36 +0000 [thread overview]
Message-ID: <1457643576.2804.228.camel@linuxfoundation.org> (raw)
In-Reply-To: <56E0F427.7030708@windriver.com>
On Wed, 2016-03-09 at 23:12 -0500, Bruce Ashfield wrote:
> On 2016-03-09 4:23 PM, Richard Purdie wrote:
> > On Wed, 2016-03-09 at 13:53 -0500, Bruce Ashfield wrote:
> > > As another follow up. The thread can be summarized as "It doesn't
> > > look like it should have worked before, and qemu's pat emulation
> > > may be the issue'.
> > >
> > > The suggestion is to run with 'nopat', which is what Richard
> > > originally
> > > did.
> > >
> > > So I'm going to prep a patch that drops the kernel patch, and
> > > leaves
> > > nopat enabled on the qemu command line. That should get us put
> > > back
> > > together in a semi-permanent way.
> >
> > How sure are we this is a bug in QEMU's pat emulation? If that is
> > the
> > case we should file a bug against qemu and try and fix it rather
> > than
> > work around it...
>
> It could still be something that the kernel can work around, Toshi
> did say:
>
> There is a matter of how qemu emulates CPU features. There is no
> such
> Intel CPU that supports PAT w/o MTRR. This is why the current code
> assumes this dependency.
>
> Which is likely the trigger, we've send information about the cpu to
> him, and with that there's a chance for a pat fix.
>
> He repeated our thought of running with 'nopat' while a fix is
> considered.
>
> It may be some time before that happens, and I was going to test
> with the kernel patch dropped, and nopat in the qemu boot args. If
> that works, I'd rather run with that, and then revisit when (if)
> there's more changes upstream.
Reading the other thread, it looks like if MTRR is disabled, PAT needs
to be disabled too. That sounds like a simple enough patch which is
going upstream imminently so I think the preferred solution is to get
that into our kernels and then drop my patch?
Cheers,
Richard
next prev parent reply other threads:[~2016-03-10 20:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <cover.1455203562.git.bruce.ashfield@windriver.com>
[not found] ` <2e6d2b75837731be983d888eaa82a9cfcf660e85.1455203562.git.bruce.ashfield@windriver.com>
[not found] ` <1455287765.16142.321.camel@linuxfoundation.org>
[not found] ` <1455291157.16142.323.camel@linuxfoundation.org>
[not found] ` <1455352317.16142.344.camel@linuxfoundation.org>
2016-02-13 17:17 ` [poky] [PATCH 1/1] poky: update qemu* to prefer 4.4 kernel Richard Purdie
2016-02-13 18:19 ` Bruce Ashfield
2016-02-14 16:29 ` Paul Gortmaker
2016-03-02 1:41 ` Paul Gortmaker
2016-03-09 18:53 ` Bruce Ashfield
2016-03-09 21:23 ` Richard Purdie
2016-03-10 4:12 ` Bruce Ashfield
2016-03-10 20:59 ` Richard Purdie [this message]
2016-03-10 21:55 ` Bruce Ashfield
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=1457643576.2804.228.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=bruce.ashfield@windriver.com \
--cc=darren.hart@intel.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=paul.gortmaker@windriver.com \
--cc=poky@yoctoproject.org \
--cc=saul.wold@intel.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