aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2014-03-12 12:28:06 -0400
committerMatt Fleming <matt.fleming@intel.com>2014-04-30 19:49:52 +0100
commitd7ecbddf4caefbac1b99478dd2b679f83dfc2545 (patch)
tree891461182b7dc468662b8913cba8702cf671570a /drivers/firmware
parentefi: add helper function to get UEFI params from FDT (diff)
downloadlinux-dev-d7ecbddf4caefbac1b99478dd2b679f83dfc2545.tar.xz
linux-dev-d7ecbddf4caefbac1b99478dd2b679f83dfc2545.zip
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/firmware')
0 files changed, 0 insertions, 0 deletions