]> asedeno.scripts.mit.edu Git - linux.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)
commit44612d7e0c379001460b37a29721128715bdcb02
treee00d03528fe609d3a6a20a0b32feb9ae713f0ea9
parent5b4e4c3aa220d07d166d3f21f158bc9c69e3c044
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