diff options
author | Will Deacon <will.deacon@arm.com> | 2010-12-01 17:37:45 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2010-12-15 12:31:03 +0000 |
commit | 8fbf397c3389c1dedfa9ee412715046ab28fd82d (patch) | |
tree | b363718fb46602f882cfb58d372ec6746e3f92c5 /arch/arm/include/asm | |
parent | 4a55c18e2023096c8684fae5fa1cfa96a03172ff (diff) |
ARM: hw_breakpoint: do not fail initcall if monitor mode is disabled
The debug registers can only be manipulated from software if monitor
debug mode is enabled. On some cores, this can never be enabled (i.e.
the corresponding bit in the DSCR is RAZ/WI).
This patch ensures we can handle this hardware configuration and fail
gracefully, rather than blow up the kernel during boot.
Reported-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm/include/asm')
0 files changed, 0 insertions, 0 deletions