[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240910103932.7634-1-jgross@suse.com>
Date: Tue, 10 Sep 2024 12:39:25 +0200
From: Juergen Gross <jgross@...e.com>
To: linux-kernel@...r.kernel.org,
x86@...nel.org,
linux-acpi@...r.kernel.org
Cc: Juergen Gross <jgross@...e.com>,
Boris Ostrovsky <boris.ostrovsky@...cle.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>,
"H. Peter Anvin" <hpa@...or.com>,
xen-devel@...ts.xenproject.org,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>
Subject: [PATCH v3 0/7] xen: fix dom0 PV boot on some AMD machines
There have been reports of failed boots with Xen due to an overlap of
the kernel's memory with ACPI NVS reported in the E820 map of the host.
This series fixes this issue by moving the NVS area in dom0 to some
higher address.
Changes in V2:
- split of v1 patch 5
- new patch 6
Changes in V3:
- addressed comments
Juergen Gross (7):
xen: use correct end address of kernel for conflict checking
xen: introduce generic helper checking for memory map conflicts
xen: move checks for e820 conflicts further up
xen: move max_pfn in xen_memory_setup() out of function scope
xen: add capability to remap non-RAM pages to different PFNs
xen: allow mapping ACPI data using a different physical address
xen: tolerate ACPI NVS memory overlapping with Xen allocated memory
arch/x86/include/asm/acpi.h | 8 ++
arch/x86/kernel/acpi/boot.c | 10 ++
arch/x86/kernel/mmconf-fam10h_64.c | 2 +-
arch/x86/kernel/x86_init.c | 2 +-
arch/x86/xen/mmu_pv.c | 5 +-
arch/x86/xen/p2m.c | 99 ++++++++++++++
arch/x86/xen/setup.c | 202 ++++++++++++++++++++++-------
arch/x86/xen/xen-ops.h | 6 +-
8 files changed, 282 insertions(+), 52 deletions(-)
--
2.43.0
Powered by blists - more mailing lists