Re: [Xen-devel] [PATCH 0/2] Move RSDP address out of setup_header

From: Hans van Kranenburg
Date: Wed Nov 28 2018 - 20:15:14 EST


Hi,

On 11/20/18 8:25 AM, Juergen Gross wrote:
> Resend with Daniel's mailo address corrected
>
> Instead of passing the RSDP address for Xen PVH guests from grub2 to
> the kernel in setup_header move it into the non-legacy part of the
> boot_params structure.
>
> This patch series should be applied rather sooner than later in order
> to avoid shipping linux 4.20 with a corky boot protocol.
>
> Juergen Gross (2):
> x86/boot: revert commit ae7e1238e68f2a (Add ACPI RSDP address to
> setup_header)
> x86/acpi, x86/boot: Take RSDP address from boot params if available
>
> Documentation/x86/boot.txt | 32 +-------------------------------
> arch/x86/boot/header.S | 6 +-----
> arch/x86/include/asm/x86_init.h | 2 --
> arch/x86/include/uapi/asm/bootparam.h | 7 ++-----
> arch/x86/kernel/acpi/boot.c | 2 +-
> arch/x86/kernel/head32.c | 1 -
> arch/x86/kernel/head64.c | 2 --
> arch/x86/kernel/setup.c | 17 -----------------
> 8 files changed, 5 insertions(+), 64 deletions(-)

FWIW, I can confirm that I can boot a Xen domU in PVH mode with the
following four patches added on top of Linux 4.19.5 (applied in this
order), in combination with grub master branch with patchset v5 for grub
on top:

Date: Wed Oct 10 08:14:55 2018 +0200
x86/boot: Add ACPI RSDP address to setup_header

Date: Wed Oct 10 08:14:56 2018 +0200
x86/acpi, x86/boot: Take RSDP address for boot params if available

Date: Tue Nov 20 08:25:28 2018 +0100
x86/boot: revert commit ae7e1238e68f2a (Add ACPI RSDP address to
setup_header)

Date: Tue Nov 20 08:25:29 2018 +0100
x86/acpi, x86/boot: Take RSDP address from boot params if available

[ 0.205884] Booting paravirtualized kernel on Xen PVH

Thanks,
Hans