mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Adam Novak <interfect@gmail.com>, linux-kernel@vger.kernel.org
Cc: boris.ostrovsky@oracle.com, x86@kernel.org
Subject: Re: Problems with Zen under Xen and recent Linux kernel improvements
Date: Tue, 31 Jul 2018 13:58:27 +0200	[thread overview]
Message-ID: <a88b1975-4232-4b6f-9497-ab44dbdda5d6@suse.com> (raw)
In-Reply-To: <CADPp2fB3Oj3Jm08rVqeHxX855EnO8+22-H552Q6AFfJL-dWmtQ@mail.gmail.com>

On 31/07/18 03:14, Adam Novak wrote:
> Hello,
> 
> I was advised to take this here, and to Boris Ostrovsky and Juergen
> Gross, by Thomas Gleixner.
> 
> I am having some trouble with the new speculation control code that
> has been added to the Linux kernel, for AMD Zen CPUs. I am running an
> AMD Ryzen 7 1700, and I am running Linux as a Xen dom0 (which is part
> of the problem; the code seems to work fine running outside of Xen).
> 
> I started having trouble on Ubuntu's commit
> 3f6a3b035f91a22c0d3bd27630bf61eac9c8cf6c, "x86/speculation: Handle HT
> correctly on AMD", which appears to be cherry-picked from
> 1f50ddb4f4189243c05926b842dc1a0332195f31. Since that commit, my system
> hangs during the boot process; it starts starting stuff up and trying
> to mount things and printing "[OK]" messages, but then fairly early in
> the boot process the kernel complains that it is "unable to handle
> kernel NULL pointer deference at 000...0008"
> 
> On my Ubuntu bug:
> 
> https://bugs.launchpad.net/bugs/1777338
> 
> I have a "Screenshot of the null pointer dereference message". It is
> running into trouble during a spin lock in the new
> speculative_store_bypass_update().
> 
> Has anyone else seen this behavior on these CPUs under Xen (I am using 4.9)?

You want at least 4.9.112, especially due to the missing patches
"x86/xen: Add call of speculative_store_bypass_ht_init() to PV paths",
"x86/cpu: Re-apply forced caps every time CPU caps are re-read"

Juergen

  reply	other threads:[~2018-07-31 11:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-31  1:14 Adam Novak
2018-07-31 11:58 ` Juergen Gross [this message]
2018-08-05 19:27   ` Adam Novak
2018-08-05 21:35     ` Adam Novak

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=a88b1975-4232-4b6f-9497-ab44dbdda5d6@suse.com \
    --to=jgross@suse.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=interfect@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®