Thread (9 messages) flat view 9 messages, 3 authors, 2012-10-16

ARM: hw_breakpoint: silent EPERM when setting ARM_DSCR_MDBGEN on ARM_DEBUG_ARCH_V7_ECP14

From: Valentin Pistol <hidden>
Date: 2012-09-14 08:08:24

Hi Valentin,
Hi Will,
You might want to configure your mail client to wrap lines at 76-80 columns
in order to make your mails more readable.
Thanks for the good suggestion.
quoted
Summary:
Kernel is compiled with CONFIG_HAVE_HW_BREAKPOINT but after boot the DSCR register does not have monitor mode enabled which is required for debug register use.
That means that hardware breakpoints are unusable on your platform, likely
because it has been locked down in the hardware (there is a signal that
can be tied off to prevent monitor mode debug).
Is there a reliable way to determine that they are locked down?
Any particular register/bit I can check to confirm?
If they're really locked down I think getting a development board is
likely the only way to have full support (considering a PandaBoard).
Completely untested patch below, please let me know how you get on...
Looks good, I'll give it a try.

Thanks a lot for your help!
Valentin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help