From: Punit Agrawal Date: Tue, 18 Nov 2014 11:41:26 +0000 (+0000) Subject: arm64: Emulate CP15 Barrier instructions X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~18^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c852f320584600a372646055d8229e063949eee7;p=pandora-kernel.git arm64: Emulate CP15 Barrier instructions The CP15 barrier instructions (CP15ISB, CP15DSB and CP15DMB) are deprecated in the ARMv7 architecture, superseded by ISB, DSB and DMB instructions respectively. Some implementations may provide the ability to disable the CP15 barriers by disabling the CP15BEN bit in SCTLR_EL1. If not enabled, the encodings for these instructions become undefined. To support legacy software using these instructions, this patch register hooks to - * emulate CP15 barriers and warn the user about their use * toggle CP15BEN in SCTLR_EL1 Signed-off-by: Punit Agrawal Reviewed-by: Catalin Marinas Signed-off-by: Will Deacon --- Reading git-diff-tree failed