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>
Sat, 27 Nov 2021 14:14:32 +0000 (15:14 +0100)
commit57077c0773d1dcf6b4683f10595a186b549e5343
tree726065747887b6bfae71094687c7b59a151deebd
parentc73f386ffd7254ed35df6374f642baf27fb880e8
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)
xen/arch/x86/acpi/boot.c