summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/perf_event.c
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2010-12-01 17:37:45 (GMT)
committerWill Deacon <will.deacon@arm.com>2010-12-15 12:31:03 (GMT)
commit8fbf397c3389c1dedfa9ee412715046ab28fd82d (patch)
treeb363718fb46602f882cfb58d372ec6746e3f92c5 /arch/x86/kernel/cpu/perf_event.c
parent4a55c18e2023096c8684fae5fa1cfa96a03172ff (diff)
downloadlinux-fsl-qoriq-8fbf397c3389c1dedfa9ee412715046ab28fd82d.tar.xz
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/x86/kernel/cpu/perf_event.c')
0 files changed, 0 insertions, 0 deletions