aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/platform/efi/efi.c
diff options
context:
space:
mode:
authorJonathan (Zhixiong) Zhang <[email protected]>2015-08-07 09:36:59 +0100
committerIngo Molnar <[email protected]>2015-08-08 10:37:40 +0200
commit8d446c8647c9ab8fcb45a8fc7dbbafe1f83aa2f3 (patch)
treea30b1a25d08ab00c85cd88d9403d92f5110e4b4b /arch/x86/platform/efi/efi.c
parentb40227fbfb1f98614e6f9bdc4cb3a54ab31d48a5 (diff)
arm64/mm: Add PROT_DEVICE_nGnRnE and PROT_NORMAL_WT
UEFI spec 2.5 section 2.3.6.1 defines that EFI_MEMORY_[UC|WC|WT|WB] are possible EFI memory types for AArch64. Each of those EFI memory types is mapped to a corresponding AArch64 memory type. So we need to define PROT_DEVICE_nGnRnE and PROT_NORMWL_WT additionaly. MT_NORMAL_WT is defined, and its encoding is added to MAIR_EL1 when initializing the CPU. Signed-off-by: Jonathan (Zhixiong) Zhang <[email protected]> Signed-off-by: Matt Fleming <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/platform/efi/efi.c')
0 files changed, 0 insertions, 0 deletions