From: "Marek Marczykowski-Górecki" <marmarek@invisiblethingslab.com>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: "Jürgen Groß" <jgross@suse.com>,
"Jason Andryuk" <jandryuk@gmail.com>,
"Stefano Stabellini" <sstabellini@kernel.org>,
"Oleksandr Tyshchenko" <oleksandr_tyshchenko@epam.com>,
regressions@lists.linux.dev,
xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: [REGRESSION] Linux 6.6.64 crashes when booting as PVH domU
Date: Wed, 11 Dec 2024 13:30:08 +0100 [thread overview]
Message-ID: <Z1mF0UZPNLjYAJI7@mail-itl> (raw)
In-Reply-To: <CAMj1kXHSiCo7FH0Mo-_R9HjxhthddPUZfgm5c8yj7vjGvgfTPg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2313 bytes --]
On Wed, Dec 11, 2024 at 01:24:08PM +0100, Ard Biesheuvel wrote:
> On Wed, 11 Dec 2024 at 12:53, Jürgen Groß <jgross@suse.com> wrote:
> >
> > Jason, Ard,
> >
> > I guess there are some prereq patches missing in stable 6.6.y branch?
> >
> >
> > Juergen
> >
> > On 11.12.24 12:41, Marek Marczykowski-Górecki wrote:
> > > Hi,
> > >
> > > With Linux 6.6.64 I get the following crash on domU boot:
> > >
> > > (XEN) d5v0 Triple fault - invoking HVM shutdown action 1
> > > (XEN) *** Dumping Dom5 vcpu#0 state: ***
> > > (XEN) ----[ Xen-4.19.0 x86_64 debug=n Tainted: M ]----
> > > (XEN) CPU: 4
> > > (XEN) RIP: 0008:[<ffffffff82b64050>]
> > > (XEN) RFLAGS: 0000000000010086 CONTEXT: hvm guest (d5v0)
> > > (XEN) rax: ffffffff82b64050 rbx: ffffffffffe00000 rcx: 00000000c0000101
> > > (XEN) rdx: 0000000000000000 rsi: 0000000003a00038 rdi: 0000000002a9bc98
> > > (XEN) rbp: 0000000000000000 rsp: 0000000002aa0ce8 r8: 0000000000000000
> > > (XEN) r9: 0000000000000000 r10: 0000000000000000 r11: 0000000000000000
> > > (XEN) r12: 0000000000000000 r13: 0000000000000000 r14: 0000000000000000
> > > (XEN) r15: 0000000000000000 cr0: 0000000080000011 cr4: 0000000000000020
> > > (XEN) cr3: 0000000002022000 cr2: 0000000000000000
> > > (XEN) fsb: 0000000000000000 gsb: 0000000002a9ccc0 gss: 0000000000000000
> > > (XEN) ds: 0010 es: 0010 fs: 0000 gs: 0000 ss: 0010 cs: 0008
> > >
> > > Linux 6.6.63 works fine.
> > >
> > > Looking at the changes, I suspect one of those:
> > >
> > > 83d123e27623 x86/pvh: Call C code via the kernel virtual mapping
> > > f662b4a69e1d x86/pvh: Set phys_base when calling xen_prepare_pvh()
> > >
>
> The second patch shouldn't have been backported. It is unnecessary,
> given that in the old situation, the kernel image needs to be loaded
> at a fixed address. And it assumes that %rbp is set to the physical
> load offset, but those patches were not backported.
It has this tag:
Stable-dep-of: e8fbc0d9cab6 ("x86/pvh: Call C code via the kernel virtual mapping")
Does it mean neither of them should be backported?
But then, the e8fbc0d9cab6 has "Fixes:" tag (pointing at very old
commit).
--
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2024-12-11 12:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-11 11:41 [REGRESSION] Linux 6.6.64 crashes when booting as PVH domU Marek Marczykowski-Górecki
2024-12-11 11:53 ` Jürgen Groß
2024-12-11 12:24 ` Ard Biesheuvel
2024-12-11 12:30 ` Marek Marczykowski-Górecki [this message]
2024-12-11 12:37 ` Ard Biesheuvel
2024-12-11 13:39 ` Marek Marczykowski-Górecki
2024-12-11 13:46 ` Greg Kroah-Hartman
2024-12-11 15:10 ` Ard Biesheuvel
2024-12-11 15:22 ` Greg Kroah-Hartman
2024-12-11 23:21 ` Christian Heusel
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=Z1mF0UZPNLjYAJI7@mail-itl \
--to=marmarek@invisiblethingslab.com \
--cc=ardb@kernel.org \
--cc=jandryuk@gmail.com \
--cc=jgross@suse.com \
--cc=oleksandr_tyshchenko@epam.com \
--cc=regressions@lists.linux.dev \
--cc=sstabellini@kernel.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 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.