diff options
author | Juergen Gross <jgross@suse.com> | 2024-08-09 17:52:55 +0200 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2024-09-12 08:25:07 +0200 |
commit | 9221222c717dbddac1e3c49906525475d87a3a44 (patch) | |
tree | 49deae4e5328a34175841b3b31e42ab146737ba0 /arch/x86/kernel/signal_32.c | |
parent | xen: add capability to remap non-RAM pages to different PFNs (diff) | |
download | linux-9221222c717dbddac1e3c49906525475d87a3a44.tar.xz linux-9221222c717dbddac1e3c49906525475d87a3a44.zip |
xen: allow mapping ACPI data using a different physical address
When running as a Xen PV dom0 the system needs to map ACPI data of the
host using host physical addresses, while those addresses can conflict
with the guest physical addresses of the loaded linux kernel. The same
problem might apply in case a PV guest is configured to use the host
memory map.
This conflict can be solved by mapping the ACPI data to a different
guest physical address, but mapping the data via acpi_os_ioremap()
must still be possible using the host physical address, as this
address might be generated by AML when referencing some of the ACPI
data.
When configured to support running as a Xen PV domain, have an
implementation of acpi_os_ioremap() being aware of the possibility to
need above mentioned translation of a host physical address to the
guest physical address.
This modification requires to #include linux/acpi.h in some sources
which need to include asm/acpi.h directly.
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'arch/x86/kernel/signal_32.c')
0 files changed, 0 insertions, 0 deletions