From: Will Deacon Date: Fri, 21 Sep 2012 14:08:17 +0000 (+0100) Subject: ARM: hw_breakpoint: fix monitor mode detection with v7.1 X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~53^2^2~8^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b59a540ca927ea84bb0590b9d8076f50c969abb4;p=pandora-kernel.git ARM: hw_breakpoint: fix monitor mode detection with v7.1 Detecting whether halting debug is enabled is no longer possible via the DBGDSCR in v7.1, returning an UNKNOWN value for the HDBGen bit via CP14 when the OS lock is clear. This patch removes the halting mode check and ensures that accesses to the internal and external views of the DBGDSCR are serialised with an instruction barrier. Tested-by: Stephen Boyd Signed-off-by: Will Deacon --- Reading git-diff-tree failed