mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Sander Eikelenboom <linux@eikelenboom.it>
Cc: Juergen Gross <jgross@suse.com>,
	linux-kernel <linux-kernel@vger.kernel.org>,
	"Kirill A. Shutemov" <kirill@shutemov.name>,
	"Joel Fernandes (Google)" <joel@joelfernandes.org>,
	"xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>
Subject: Re: [Xen-devel] Linux 5.0 regression: BUG: unable to handle kernel paging request at ffff888023e26778
Date: Sat, 9 Feb 2019 19:44:08 +0000	[thread overview]
Message-ID: <8500478e-d45b-034c-b57e-bd1d18d00966@citrix.com> (raw)
In-Reply-To: <CAHk-=winXFRv0KUa332spZx0yaDKMAbdKSeAcBATtacACLgm0A@mail.gmail.com>

On 09/02/2019 18:54, Linus Torvalds wrote:
> On Sat, Feb 9, 2019 at 12:24 AM Sander Eikelenboom <linux@eikelenboom.it> wrote:
>> I haven't got a reproducer so i might be hard to hit it again,
>> system is AMD and this is from the host kernel running under
>> the Xen hypervisor might it matter.
> I think this is a Xen bug.
>
> In particular, there's a few poison values in there that look like
> zen. Like this:
>
>    R10: deadbeefdeadf00d
>
> looks like a special poison value that is from Xen itself.

Xen's hypercall ABI states that parameters in registers may be changed
as part of the hypercall.  This is used restart hypercalls midway
through their processing if we had to deliver an interrupt to the vcpu.

As a result, debug builds of Xen deliberately poison all hypercall
parameters, to help catch guest code which doesn't follow the rules.

~Andrew

      reply	other threads:[~2019-02-09 19:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-09  8:26 Sander Eikelenboom
2019-02-09 18:45 ` Linux 5.0 regression: BUG: unable to handle kernel paging request at ffff888023e26778 RIP: e030:move_page_tables+0x7c1/0xae0 Sander Eikelenboom
2019-02-09 18:48   ` Juergen Gross
2019-02-09 18:51     ` Sander Eikelenboom
2019-02-09 18:59       ` Juergen Gross
2019-02-09 18:54 ` Linux 5.0 regression: BUG: unable to handle kernel paging request at ffff888023e26778 Linus Torvalds
2019-02-09 19:44   ` Andrew Cooper [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=8500478e-d45b-034c-b57e-bd1d18d00966@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=jgross@suse.com \
    --cc=joel@joelfernandes.org \
    --cc=kirill@shutemov.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@eikelenboom.it \
    --cc=torvalds@linux-foundation.org \
    --cc=xen-devel@lists.xenproject.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®