diff options
author | 2013-10-11 14:52:17 +0100 | |
---|---|---|
committer | 2013-10-25 15:59:41 +0100 | |
commit | 9cf71728931a4073b9e3a4bcbf9dada86bc98370 (patch) | |
tree | 3f691894d37da543d5077307c26e3d450952974e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | arm64: head: create a new function for setting the boot_cpu_mode flag (diff) | |
download | linux-dev-9cf71728931a4073b9e3a4bcbf9dada86bc98370.tar.xz linux-dev-9cf71728931a4073b9e3a4bcbf9dada86bc98370.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions