summaryrefslogtreecommitdiffstats
path: root/arch/arm64/kernel/entry.S
diff options
context:
space:
mode:
authorLorenzo Pieralisi2013-11-18 19:56:42 +0100
committerCatalin Marinas2013-12-06 18:21:51 +0100
commit85cc00eaa81dfa0f5bf8076c48f3ee2c2c4a77ba (patch)
tree4088df5c63ea94350b9d929055a67d5ad935b331 /arch/arm64/kernel/entry.S
parentarm64: make default NR_CPUS 8 (diff)
downloadkernel-qcow2-linux-85cc00eaa81dfa0f5bf8076c48f3ee2c2c4a77ba.tar.gz
kernel-qcow2-linux-85cc00eaa81dfa0f5bf8076c48f3ee2c2c4a77ba.tar.xz
kernel-qcow2-linux-85cc00eaa81dfa0f5bf8076c48f3ee2c2c4a77ba.zip
arm64: kernel: add code to set cpu boot mode to secondary_entry shim
The refactoring of el2_setup split code setting up EL2 and detecting the CPU boot mode in separate chunks. This allows the code that sets up EL2 to run in an endian independent way - ie before the endianess is set up in the respective sctlr registers. This patch brings secondary_entry up-to-date so that CPUs entering the kernel through this code path set-up EL2 and the cpu boot mode properly. Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Mark Rutland <mark.rutand@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel/entry.S')
0 files changed, 0 insertions, 0 deletions