]> git.baikalelectronics.ru Git - kernel.git/commit
efi/apple-properties: Use memremap() instead of ioremap()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 8 Mar 2018 08:00:19 +0000 (08:00 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 9 Mar 2018 07:58:23 +0000 (08:58 +0100)
commitf61b80d5cf05f69980400ee42666bd03d50f69f1
treee00d03528fe609d3a6a20a0b32feb9ae713f0ea9
parent860aabe59150721d29dd267b729bae4f8730d900
efi/apple-properties: Use memremap() instead of ioremap()

The memory we are accessing through virtual address has no IO side
effects. Moreover, for IO memory we have to use special accessors,
which we don't use.

Due to above, convert the driver to use memremap() instead of ioremap().

Tested-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Matt Fleming <matt@codeblueprint.co.uk>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-efi@vger.kernel.org
Link: http://lkml.kernel.org/r/20180308080020.22828-12-ard.biesheuvel@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
drivers/firmware/efi/apple-properties.c