-
Mark Salter authored
The acpi_os_ioremap() function may be used to map normal RAM or IO regions. The current implementation simply uses ioremap_cache(). This will work for some architectures, but arm64 ioremap_cache() cannot be used to map IO regions which don't support caching. So for arm64, use ioremap() for non-RAM regions. CC: Rafael J Wysocki <rjw@rjwysocki.net> CC: Catalin Marinas <catalin.marinas@arm.com> Tested-by:
Robert Richter <rrichter@cavium.com> Tested-by:
Timur Tabi <timur@codeaurora.org> Acked-by:
Robert Richter <rrichter@cavium.com> Acked-by:
Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by:
Grant Likely <grant.likely@linaro.org> Signed-off-by:
Mark Salter <msalter@redhat.com> Signed-off-by:
Hanjun Guo <hanjun.guo@linaro.org> Signed-off-by:
Will Deacon <will.deacon@arm.com>
652261a7