aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/efi/arm-init.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-07-11 21:00:45 +0200
committerMatt Fleming <matt@codeblueprint.co.uk>2016-09-09 16:08:39 +0100
commitf58a37b2e01f91c23af457a7662f6b5a1e9f41e0 (patch)
tree9e18f52974bd02b60809093035d0599f0dd1011c /drivers/firmware/efi/arm-init.c
parentx86/efi-bgrt: Use efi_mem_reserve() to avoid copying image data (diff)
downloadlinux-dev-f58a37b2e01f91c23af457a7662f6b5a1e9f41e0.tar.xz
linux-dev-f58a37b2e01f91c23af457a7662f6b5a1e9f41e0.zip
efi/esrt: Use memremap not ioremap to access ESRT table in memory
On ARM and arm64, ioremap() and memremap() are not interchangeable like on x86, and the use of ioremap() on ordinary RAM is typically flagged as an error if the memory region being mapped is also covered by the linear mapping, since that would lead to aliases with conflicting cacheability attributes. Since what we are dealing with is not an I/O region with side effects, using ioremap() here is arguably incorrect anyway, so let's replace it with memremap() instead. Acked-by: Peter Jones <pjones@redhat.com> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Leif Lindholm <leif.lindholm@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk>
Diffstat (limited to 'drivers/firmware/efi/arm-init.c')
0 files changed, 0 insertions, 0 deletions