From: Lorenzo Pieralisi Date: Mon, 18 Nov 2013 18:56:42 +0000 (+0000) Subject: arm64: kernel: add code to set cpu boot mode to secondary_entry shim X-Git-Tag: v3.13-rc4~48^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85cc00eaa81dfa0f5bf8076c48f3ee2c2c4a77ba;p=pandora-kernel.git 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 Acked-by: Mark Rutland Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed