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>
Thu, 2 Dec 2021 20:45:55 +0000 (20:45 +0000)
commitf4645681b76b718ef3e144e763b40f31c5e84363
treec570075ab0df617e6b65b789a06178577d832563
parenta6d852c4b98cf8eb158e60274e114b662116280f
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