summaryrefslogtreecommitdiff
path: root/crypto/ansi_cprng.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2011-02-11 14:55:12 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-11 22:54:47 (GMT)
commited19b739c5c76ad241d30f6c6a5ee96fb284f4cf (patch)
tree5e36a488dbf997875b732faff8fabfdbe1fac070 /crypto/ansi_cprng.c
parent34cd2d38db423a991a36d14e9f79e98993addd07 (diff)
downloadlinux-fsl-qoriq-ed19b739c5c76ad241d30f6c6a5ee96fb284f4cf.tar.xz
ARM: 6656/1: hw_breakpoint: avoid UNPREDICTABLE behaviour when reading DBGDSCR
Reading baseline CP14 registers, other than DBGDIDR, when the OS Lock is set leads to UNPREDICTABLE behaviour. This patch ensures that we clear the OS lock before accessing anything other than the DBGDIDR, thereby avoiding this behaviour. Signed-off-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'crypto/ansi_cprng.c')
0 files changed, 0 insertions, 0 deletions