linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] xen: re-enable booting as Xen PVH guest
@ 2018-02-19 10:09 Juergen Gross
  2018-02-19 10:09 ` [PATCH v3 1/3] acpi: introduce acpi_arch_get_root_pointer() for getting rsdp address Juergen Gross
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Juergen Gross @ 2018-02-19 10:09 UTC (permalink / raw)
  To: linux-kernel, xen-devel, linux-acpi, x86
  Cc: rafael.j.wysocki, lenb, boris.ostrovsky, hpa, tglx, mingo, Juergen Gross

The Xen PVH boot protocol passes vital information to the kernel via
a start_info block. One of the data transferred is the physical address
of the RSDP table.

Unfortunately PVH support in the kernel didn't use that passed address
for RSDP, but relied on the legacy mechanism searching for the RSDP in
low memory. After a recent change in Xen putting the RSDP to a higher
address booting as PVH guest is now failing.

This small series repairs that by passing the RSDP address from the
start_info block to ACPI handling.

Changes in V3:
- instead of using a weak function add a function pointer to x86_init
  for obtaining the RSDP address

Juergen Gross (3):
  acpi: introduce acpi_arch_get_root_pointer() for getting rsdp address
  x86/acpi: add a new x86_init_acpi structure to x86_init_ops
  x86/xen: add pvh specific rsdp address retrieval function

 arch/x86/include/asm/acpi.h     |  7 +++++++
 arch/x86/include/asm/x86_init.h |  9 +++++++++
 arch/x86/kernel/x86_init.c      |  5 +++++
 arch/x86/xen/enlighten_pvh.c    | 14 +++++++++++---
 drivers/acpi/osl.c              |  5 ++++-
 include/linux/acpi.h            |  7 +++++++
 6 files changed, 43 insertions(+), 4 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-02-26  8:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-19 10:09 [PATCH v3 0/3] xen: re-enable booting as Xen PVH guest Juergen Gross
2018-02-19 10:09 ` [PATCH v3 1/3] acpi: introduce acpi_arch_get_root_pointer() for getting rsdp address Juergen Gross
2018-02-20 10:24   ` [tip:x86/boot] acpi: Introduce " tip-bot for Juergen Gross
2018-02-26  8:46   ` [tip:x86/mm] " tip-bot for Juergen Gross
2018-02-19 10:09 ` [PATCH v3 2/3] x86/acpi: add a new x86_init_acpi structure to x86_init_ops Juergen Gross
2018-02-20 10:24   ` [tip:x86/boot] x86/acpi: Add " tip-bot for Juergen Gross
2018-02-26  8:46   ` [tip:x86/mm] " tip-bot for Juergen Gross
2018-02-19 10:09 ` [PATCH v3 3/3] x86/xen: add pvh specific rsdp address retrieval function Juergen Gross
2018-02-20 10:25   ` [tip:x86/boot] x86/xen: Add " tip-bot for Juergen Gross
2018-02-26  8:47   ` [tip:x86/mm] " tip-bot for Juergen Gross
2018-02-19 10:27 ` [PATCH v3 0/3] xen: re-enable booting as Xen PVH guest Rafael J. Wysocki
2018-02-19 13:43   ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).