android_kernel_lge_bullhead/arch/arm64/mm
Ard Biesheuvel 7010a322f1 arm64: switch to relative exception tables
Instead of using absolute addresses for both the exception location
and the fixup, use offsets relative to the exception table entry values.
Not only does this cut the size of the exception table in half, it is
also a prerequisite for KASLR, since absolute exception table entries
are subject to dynamic relocation, which is incompatible with the sorting
of the exception table that occurs at build time.

This patch also introduces the _ASM_EXTABLE preprocessor macro (which
exists on x86 as well) and its _asm_extable assembly counterpart, as
shorthands to emit exception table entries.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Joe Maples <joe@frap129.org>
2019-08-26 14:20:51 +02:00
..
Kconfig arm64: add Kconfig entry for CONFIG_STRICT_MEMORY_RWX 2014-03-27 09:04:16 -07:00
Makefile arm64: add support to dump the kernel page tables 2014-08-29 12:32:43 -07:00
cache.S arm64: mm: use inner-shareable barriers for inner-shareable maintenance 2014-08-15 11:46:35 -07:00
context.c arm64: Do not attempt to use init_mm in reset_context() 2015-08-03 09:29:41 -07:00
copypage.c arm64: export __cpu_{clear,copy}_user_page functions 2014-08-15 17:22:15 -07:00
dma-mapping.c arm64: dma-mapping: always clear allocated buffers 2016-08-19 23:39:16 +00:00
dump.c arm64: add support to dump the kernel page tables 2014-08-29 12:32:43 -07:00
extable.c arm64: switch to relative exception tables 2019-08-26 14:20:51 +02:00
fault.c Revert "arm64: Allow cache maintenance operations to trigger write faults" 2016-07-29 14:28:08 -07:00
flush.c arm64: mm: Make icache synchronisation logic huge page aware 2014-08-15 17:22:15 -07:00
hugetlbpage.c arm64: fix pud_huge() for 2-level pagetables 2014-08-15 11:46:44 -07:00
init.c This is the 3.10.85 stable release 2018-01-25 16:57:12 -07:00
iomap.c arm64: PCI(e) arch support 2014-06-12 10:35:47 -07:00
ioremap.c arm64: add early_ioremap support 2014-08-15 11:45:24 -07:00
mm.h arm64: Remove __flush_dcache_page() 2014-02-07 13:49:32 -08:00
mmap.c BACKPORT: FROMLIST: mm: ASLR: use get_random_long() 2016-03-16 23:05:34 +00:00
mmu.c arm64: mm: Update backport 2018-01-25 17:06:34 -07:00
pageattr.c arm64: Add support for FREE_PAGES_RDONLY 2014-07-09 12:40:43 -07:00
pgd.c arm64: simplify pgd_alloc 2014-04-17 17:16:46 -07:00
proc-macros.S arm64: mm: use ubfm for dcache_line_size 2014-04-17 17:05:10 -07:00
proc.S arm64: mm: use inner-shareable barriers for inner-shareable maintenance 2014-08-15 11:46:35 -07:00