diff options
author | Mark Salter <msalter@redhat.com> | 2014-03-12 12:28:06 -0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2014-04-30 19:49:52 +0100 |
commit | d7ecbddf4caefbac1b99478dd2b679f83dfc2545 (patch) | |
tree | 891461182b7dc468662b8913cba8702cf671570a /drivers/power/pcf50633-charger.c | |
parent | 0302f71c0aa59571ac306f93068fbbfe65ea349b (diff) |
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 <msalter@redhat.com>
[ Fixed error message formatting (%pa). ]
Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'drivers/power/pcf50633-charger.c')
0 files changed, 0 insertions, 0 deletions