All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Juergen Gross <jgross@suse.com>
Cc: xen-devel <xen-devel@lists.xenproject.org>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	stable <stable@vger.kernel.org>
Subject: Re: Patches for stable
Date: Thu, 5 Apr 2018 08:33:14 +0200	[thread overview]
Message-ID: <20180405063314.GC5431__48483.0947280445$1522909929$gmane$org@kroah.com> (raw)
In-Reply-To: <9cd0be43-6380-f5a0-0427-7f75fca966a9@suse.com>

On Wed, Apr 04, 2018 at 06:32:17PM +0200, Juergen Gross wrote:
> On 04/04/18 17:42, Greg KH wrote:
> > On Wed, Apr 04, 2018 at 05:12:32PM +0200, Juergen Gross wrote:
> >> On 04/04/18 16:46, Greg KH wrote:
> >>> On Wed, Apr 04, 2018 at 04:30:30PM +0200, Juergen Gross wrote:
> >>>> On 04/04/18 16:27, Greg KH wrote:
> >>>>> On Wed, Apr 04, 2018 at 12:38:43PM +0200, Juergen Gross wrote:
> >>>>>> Please add the patches:
> >>>>>>
> >>>>>> commit 038bac2b02989acf1fc938cedcb7944c02672b9f upstream
> >>>>>> commit dfc9327ab7c99bc13e12106448615efba833886b upstream
> >>>>>> commit b17d9d1df3c33a4f1d2bf397e2257aecf9dc56d4 upstream
> >>>>>>
> >>>>>> to the 4.15 and 4.16 stable kernels.
> >>>>>>
> >>>>>> Those patches are needed to boot Linux as PVH guest on recent Xen.
> >>>>>
> >>>>> So a new feature?  Why is that ok for stable kernels?
> >>>>
> >>>> It works for kernels since at least 4.11 on Xen 4.10.
> >>>
> >>> Great, so what commit caused this to fail?
> >>>
> >>> So far, in reading those commits, it sounds like they are "make Linux
> >>> work again due to changes in Xen".  That sounds like a pretty bad thing
> >>> that Xen did, why do we have to fix up their mess?
> >>
> >> Xen did nothing bad. It was the "old" kernel implementation which relied
> >> on an assumption which happened to be true by accident. Xen had to be
> >> changed in order to enable grub2 to support PVH mode.
> >>
> >> The PVH interface specifies that the RSDP address is available via the
> >> start_info structure handed over to the PVH boot entry. The Linux kernel
> >> didn't look at that address, but used the legacy method scanning low
> >> memory for the RSDP table. As soon as Xen moved the RSDP to a higher
> >> address (which is covered by the PVH interface specification) the kernel
> >> could no longer be booted.
> >>
> >> So it was clearly a fault of the kernel not complying to the PVH
> >> specification.
> > 
> > But it worked previously, so you can't fault Linux here :)
> > 
> > How many other operating systems broke with this change?
> 
> None.
> 
> BSD did it correctly. I guess Mini-OS doesn't count, as it is mostly
> Xen-internal, but it was not hit by this change.

Xen doesn't support anything other than BSD, Linux, and Mini-OS? :)

> > Not at all.  We have a working kernel here.  Xen changed and broke
> > working Linux systems.  Now I understand the goal of wanting to also
> > change Linux to work properly, but these changes are really a new
> > feature addition if you read the patches.
> 
> We have a working kernel just by luck. Would your reasoning be the same
> if the kernel would use an EFI runtime service wrong and an EFI update
> would lead to a crash?

If a UEFI/BIOS update broken working systems, first we would go yell at
the BIOS engineers for doing something foolish (like I am doing here...)
Then we would grumble and go fix the issue in the latest kernel version
and tell people to update to a new release and never buy from that
vendor ever again as they obviously do not care about their users.

So, I'll gladly tell everyone who hits this bug, to stop using Xen as
they don't care about their users, and to work around it they have to
use the 4.17 kernel release.

There, that was simple :)

thanks,

greg k-h

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  parent reply	other threads:[~2018-04-05  6:33 UTC|newest]

Thread overview: 55+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-04 10:38 Patches for stable Juergen Gross
2018-04-04 14:27 ` Greg KH
2018-04-04 14:27 ` Greg KH
2018-04-04 14:30   ` Juergen Gross
2018-04-04 14:46     ` Greg KH
2018-04-04 15:12       ` Juergen Gross
2018-04-04 15:12       ` Juergen Gross
2018-04-04 15:42         ` Greg KH
2018-04-04 16:32           ` Juergen Gross
2018-04-04 16:32           ` Juergen Gross
2018-04-05  6:33             ` Greg KH
2018-04-05  7:02               ` Juergen Gross
2018-04-05  7:14                 ` Greg KH
2018-04-05  7:14                 ` Greg KH
2018-04-05  8:00                   ` Juergen Gross
2018-04-05  8:00                   ` [Xen-devel] " Juergen Gross
2018-04-05 10:06                     ` George Dunlap
2018-04-05 10:06                     ` [Xen-devel] " George Dunlap
2018-04-05 10:15                       ` George Dunlap
2018-04-05 10:15                       ` [Xen-devel] " George Dunlap
2018-04-05 12:19                       ` Juergen Gross
2018-04-05 12:19                       ` [Xen-devel] " Juergen Gross
2018-04-05 13:00                         ` Boris Ostrovsky
2018-04-05 13:00                         ` [Xen-devel] " Boris Ostrovsky
2018-04-05 13:06                           ` Juergen Gross
2018-04-05 13:06                           ` [Xen-devel] " Juergen Gross
2018-04-05 13:42                             ` George Dunlap
2018-04-05 13:42                             ` [Xen-devel] " George Dunlap
2018-04-05 14:09                               ` Juergen Gross
2018-04-05 14:56                                 ` George Dunlap
2018-04-05 14:56                                 ` [Xen-devel] " George Dunlap
2018-04-05 17:11                                   ` Juergen Gross
2018-04-05 18:33                                     ` Boris Ostrovsky
2018-04-06  8:00                                       ` Juergen Gross
2018-04-06  9:38                                         ` George Dunlap
2018-04-06  9:49                                       ` George Dunlap
2018-04-06 10:02                                         ` Juergen Gross
2018-04-06 10:07                                           ` George Dunlap
2018-04-06 10:57                                             ` Juergen Gross
2018-04-06 11:13                                               ` George Dunlap
2018-04-06 13:12                                                 ` Juergen Gross
2018-04-06 13:33                                                   ` George Dunlap
2018-04-06 14:10                                                     ` Boris Ostrovsky
2018-04-06 15:15                                                       ` Juergen Gross
2018-04-06 10:13                                     ` George Dunlap
2018-04-06 10:44                                       ` Juergen Gross
2018-04-05 14:09                               ` Juergen Gross
2018-04-05 20:20                 ` Thomas Backlund
2018-04-05 20:20                 ` Thomas Backlund
2018-04-05  7:02               ` Juergen Gross
2018-04-05  6:33             ` Greg KH [this message]
2018-04-04 15:42         ` Greg KH
2018-04-04 14:46     ` Greg KH
2018-04-04 14:30   ` Juergen Gross
2018-04-04 10:38 Juergen Gross

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='20180405063314.GC5431__48483.0947280445$1522909929$gmane$org@kroah.com' \
    --to=gregkh@linuxfoundation.org \
    --cc=boris.ostrovsky@oracle.com \
    --cc=jgross@suse.com \
    --cc=stable@vger.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.