From: Mark Salter Date: Wed, 12 Mar 2014 16:28:06 +0000 (-0400) Subject: arm64: Add function to create identity mappings X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~14^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7ecbddf4caefbac1b99478dd2b679f83dfc2545;p=pandora-kernel.git arm64: Add function to create identity mappings At boot time, before switching to a virtual UEFI memory map, firmware expects UEFI memory and IO regions to be identity mapped whenever kernel makes runtime services calls. The existing early boot code creates an identity map of kernel text/data but this is not sufficient for UEFI. This patch adds a create_id_mapping() function which reuses the core code of the existing create_mapping(). Signed-off-by: Mark Salter [ Fixed error message formatting (%pa). ] Signed-off-by: Mark Rutland Signed-off-by: Leif Lindholm Acked-by: Catalin Marinas Signed-off-by: Matt Fleming --- Reading git-diff-tree failed