aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/fixmap.h
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2015-10-13 00:51:42 +0530
committerAmit Pundir <amit.pundir@linaro.org>2015-10-13 17:42:54 +0530
commitc2fab09b2ec32f252029757ba3353ea3d308c811 (patch)
tree390620a395267234abce1dd15c21608a839b7fd3 /arch/arm64/include/asm/fixmap.h
parent717ba9113b87cae180d7c9f2078e76359bc9bcca (diff)
parent43e0bfd3b4401ab8d0598f01c2536becbdb68630 (diff)
Merge branch 'android-3.18' of https://android.googlesource.com/kernel/common
* android-3.18: (65 commits) UPSTREAM: arm64: add better page protections to arm64 UPSTREAM: arm64: use fixmap for text patching UPSTREAM: arm64: remove the unnecessary arm64_swiotlb_init() UPSTREAM: arm64/efi: remove idmap manipulations from UEFI code UPSTREAM: arm64/efi: add missing call to early_ioremap_reset() UPSTREAM: arm64/efi: remove free_boot_services() and friends UPSTREAM: arm64/efi: move SetVirtualAddressMap() to UEFI stub UPSTREAM: arm64/efi: set EFI_ALLOC_ALIGN to 64 KB UPSTREAM: efi: efistub: allow allocation alignment larger than EFI_PAGE_SIZE UPSTREAM: efi: split off remapping code from efi_config_init() UPSTREAM: arm64/mm: add create_pgd_mapping() to create private page tables UPSTREAM: arm64/mm: add explicit struct_mm argument to __create_mapping() UPSTREAM: efi: efi-stub: notify on DTB absence UPSTREAM: arm64: dmi: set DMI string as dump stack arch description UPSTREAM: arm64: dmi: Add SMBIOS/DMI support UPSTREAM: dmi: add support for SMBIOS 3.0 64-bit entry point UPSTREAM: efi: dmi: add support for SMBIOS 3.0 UEFI configuration table UPSTREAM: arm64/efi: drop redundant set_bit(EFI_CONFIG_TABLES) UPSTREAM: arm64/efi: invert UEFI memory region reservation logic UPSTREAM: arm64/efi: set PE/COFF file alignment to 512 bytes ... Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Conflicts: arch/arm64/Kconfig.debug ==> Add changes from LSK commit 62b089faf1c1 "coresight: moving to new "hwtracing" directory" as well as changes from AOSP commit 43e0bfd3b440 "UPSTREAM: arm64: add better page protections to arm64". arch/arm64/kernel/efi.c arch/arm64/kernel/setup.c ==> Pick changes from AOSP commits 3b9b326050d5 "UPSTREAM: arm64/efi: move SetVirtualAddressMap() to UEFI stub" and 40ab942b678f "UPSTREAM: arm64/efi: remove idmap manipulations from UEFI code" instead. drivers/firmware/dmi_scan.c ==> Add changes from LSK commit d9b300555107 "firmware: dmi_scan: Fix ordering of product_uuid" as well as changes from AOSP commit 9390abcdbc7c "UPSTREAM: dmi: add support for SMBIOS 3.0 64-bit entry point". include/net/route.h ==> Pick changes from AOSP commit 83511cc43b56 "net: core: fix UID-based routing build" instead of Linaro commit a9e5d955dea "net: core: fix Null ptr dereference in UID-based routing". lib/lz4/lz4_decompress.c ==> Pick changes from AOSP commit e5cf8538cd09 "lz4: fix system halt at boot kernel on x86_64" instead.
Diffstat (limited to 'arch/arm64/include/asm/fixmap.h')
-rw-r--r--arch/arm64/include/asm/fixmap.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm64/include/asm/fixmap.h b/arch/arm64/include/asm/fixmap.h
index 5f7bfe6df723..defa0ff98250 100644
--- a/arch/arm64/include/asm/fixmap.h
+++ b/arch/arm64/include/asm/fixmap.h
@@ -31,6 +31,7 @@
*
*/
enum fixed_addresses {
+ FIX_HOLE,
FIX_EARLYCON_MEM_BASE,
__end_of_permanent_fixed_addresses,
@@ -48,6 +49,7 @@ enum fixed_addresses {
FIX_BTMAP_END = __end_of_permanent_fixed_addresses,
FIX_BTMAP_BEGIN = FIX_BTMAP_END + TOTAL_FIX_BTMAPS - 1,
+ FIX_TEXT_POKE0,
__end_of_fixed_addresses
};
@@ -56,10 +58,11 @@ enum fixed_addresses {
#define FIXMAP_PAGE_IO __pgprot(PROT_DEVICE_nGnRE)
-extern void __early_set_fixmap(enum fixed_addresses idx,
- phys_addr_t phys, pgprot_t flags);
+void __init early_fixmap_init(void);
-#define __set_fixmap __early_set_fixmap
+#define __early_set_fixmap __set_fixmap
+
+extern void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
#include <asm-generic/fixmap.h>