summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/efi.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-04-25 21:06:41 +0100
committerIngo Molnar <mingo@kernel.org>2016-04-28 11:33:52 +0200
commit24d45d1dc275b818093fe1d0055a230ce5e8c4c7 (patch)
tree93cfd51aced47fce4285b639b7a1fe3c20e8856c /arch/arm/include/asm/efi.h
parent0d054ad96e97dcd8966e9333eabcc7a466672f70 (diff)
downloadlwn-24d45d1dc275b818093fe1d0055a230ce5e8c4c7.tar.gz
lwn-24d45d1dc275b818093fe1d0055a230ce5e8c4c7.zip
efi/arm*: Use memremap() to create the persistent memmap mapping
Instead of using ioremap_cache(), which is slightly inappropriate for mapping firmware tables, and is not even allowed on ARM for mapping regions that are covered by a struct page, use memremap(), which was invented for this purpose, and will also reuse the existing kernel direct mapping if the requested region is covered by it. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Matt Fleming <matt@codeblueprint.co.uk> Cc: Borislav Petkov <bp@alien8.de> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-efi@vger.kernel.org Link: http://lkml.kernel.org/r/1461614832-17633-10-git-send-email-matt@codeblueprint.co.uk Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/arm/include/asm/efi.h')
0 files changed, 0 insertions, 0 deletions