linux/arch/arm64/mm
Matthew Leach 9cf7172893 arm64: big-endian: set correct endianess on kernel entry
The endianness of memory accesses at EL2 and EL1 are configured by
SCTLR_EL2.EE and SCTLR_EL1.EE respectively. When the kernel is booted,
the state of SCTLR_EL{2,1}.EE is unknown, and thus the kernel must
ensure that they are set before performing any memory accesses.

This patch ensures that SCTLR_EL{2,1} are configured appropriately at
boot for kernels of either endianness.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Matthew Leach <matthew.leach@arm.com>
[catalin.marinas@arm.com: fix SCTLR_EL1.E0E bit setting in head.S]
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2013-10-25 15:59:41 +01:00
..
cache.S
context.c
copypage.c
dma-mapping.c
extable.c
fault.c
flush.c
hugetlbpage.c
init.c
ioremap.c
Makefile
mm.h
mmap.c
mmu.c
pgd.c
proc-macros.S
proc.S arm64: big-endian: set correct endianess on kernel entry 2013-10-25 15:59:41 +01:00
tlb.S