ARM: provide improved virt_to_idmap() functionality
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 15 Mar 2016 14:55:03 +0000 (14:55 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 3 May 2016 10:13:54 +0000 (11:13 +0100)
commit981b6714dbd26609212536b9fed43e49db1459cf
treed1929db350c1ad747a5ff2ade1bc7b01c4fd39a2
parent61603016e2122bf95328321b2f1a64277202b6e3
ARM: provide improved virt_to_idmap() functionality

For kexec, we need more functionality from the IDMAP system.  We need to
be able to convert physical addresses to their identity mappped versions
as well as virtual addresses.

Convert the existing arch_virt_to_idmap() to deal with physical
addresses instead.

Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/memory.h
arch/arm/mach-keystone/keystone.c
arch/arm/mm/idmap.c