[Xen-devel] [PATCH v3 06/62] acpi: Refactor acpi_os_map_memory to be architecturally independent

Julien Grall julien.grall at citrix.com
Mon Dec 7 04:00:01 PST 2015


Hi Shannon,

On 17/11/15 09:40, shannon.zhao at linaro.org wrote:
> From: Shannon Zhao <shannon.zhao at linaro.org>
> 
> Current acpi_os_map_memory is specific to x86. Refactor it to be
> architecturally independent.

The function acpi_os_unmap_memory should also be arch-independent.

Otherwise, with the implementation you did on ARM (see patch #7), you
will destroy by mistake the mapping in the page table for those regions.

Regards,

-- 
Julien Grall



More information about the linux-arm-kernel mailing list