From: Suzuki K. Poulose Date: Wed, 17 Dec 2014 15:50:21 +0000 (+0000) Subject: arm64: Fix SCTLR_EL1 initialisation X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~117^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f71ac961be8d44ad9d7742a5d1129577514660d;p=pandora-kernel.git arm64: Fix SCTLR_EL1 initialisation We initialise the SCTLR_EL1 value by read-modify-writeback of the desired bits, leaving the other bits (including reserved bits(RESx)) untouched. However, sometimes the boot monitor could leave garbage values in the RESx bits which could have different implications. This patch makes sure that all the bits, including the RESx bits, are set to the proper state, except for the 'endianness' control bits, EE(25) & E0E(24)- which are set early in the el2_setup. Updated the state of the Bit[6] in the comment to RES0 in the comment. Signed-off-by: Suzuki K. Poulose Acked-by: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed