On 23.10.2020 17:41, Julien Grall wrote: > From: Julien Grall <jgr...@amazon.com> > > The functions acpi_os_{un,}map_memory() are meant to be arch-agnostic > while the __acpi_os_{un,}map_memory() are meant to be arch-specific. > > Currently, the former are still containing x86 specific code. > > To avoid this rather strange split, the generic helpers are reworked so > they are arch-agnostic. This requires the introduction of a new helper > __acpi_os_unmap_memory() that will undo any mapping done by > __acpi_os_map_memory(). > > Currently, the arch-helper for unmap is basically a no-op so it only > returns whether the mapping was arch specific. But this will change > in the future. > > Note that the x86 version of acpi_os_map_memory() was already able to > able the 1MB region. Hence why there is no addition of new code. > > Signed-off-by: Julien Grall <jgr...@amazon.com> > Reviewed-by: Rahul Singh <rahul.si...@arm.com> > Tested-by: Rahul Singh <rahul.si...@arm.com>
Non-Arm parts Reviewed-by: Jan Beulich <jbeul...@suse.com> Jan