ARM: hw_breakpoint: silent EPERM when setting ARM_DSCR_MDBGEN on ARM_DEBUG_ARCH_V7_ECP14

Will Deacon will.deacon at arm.com
Tue Sep 18 06:04:39 EDT 2012


On Fri, Sep 14, 2012 at 09:08:24AM +0100, Valentin Pistol wrote:
> Is there a reliable way to determine that they are locked down?
> Any particular register/bit I can check to confirm?

You can take a look at the DBGAUTHSTATUS register and try to determine the
signal values for SPNIDEN, DBGEN and NIDEN.

> > Completely untested patch below, please let me know how you get on...
> 
> Looks good, I'll give it a try.

Great. Let me know if it helps and, if so, I'll merge it.

Will



More information about the linux-arm-kernel mailing list