On Wednesday 05 November 2014 20:32:25 al.stone@linaro.org wrote:
From: Mark Salter msalter@redhat.com
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.
Signed-off-by: Mark Salter msalter@redhat.com
I would probably turn this logic around: x86 is the odd one out here (using MTRR), arm64 is the common case in which you are not allowed to use ioremap_cache() for MMIO registers.
Arnd