x86/ACPI: fix mapping of FACS
authorJan Beulich <jbeulich@suse.com>
Tue, 24 Nov 2020 10:26:02 +0000 (11:26 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Fri, 8 Apr 2022 09:40:51 +0000 (10:40 +0100)
commitb8f2bd0f9fe2cccdd40464eaa891e5a6c970da10
tree86517e1a9d51328f06fed9ef027614bae4077ad9
parent7587a08b0e76dd2ec3d728dce4d63c98e0a6571f
x86/ACPI: fix mapping of FACS

acpi_fadt_parse_sleep_info() runs when the system is already in
SYS_STATE_boot. Hence its direct call to __acpi_map_table() won't work
anymore. This call should probably have been replaced long ago already,
as the layering violation hasn't been necessary for quite some time.

Fixes: 1c4aa69ca1e1 ("xen/acpi: Rework acpi_os_map_memory() and acpi_os_unmap_memory()")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
(cherry picked from commit 8b6d55c1261820bb9db8d867ce9ee77397d05203)

Gbp-Pq: Name 0041-x86-ACPI-fix-mapping-of-FACS.patch
xen/arch/x86/acpi/boot.c