linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: ARM: hw_breakpoint: silent EPERM when setting ARM_DSCR_MDBGEN on ARM_DEBUG_ARCH_V7_ECP14
Date: Tue, 18 Sep 2012 11:04:39 +0100	[thread overview]
Message-ID: <20120918100438.GC32204@mudshark.cambridge.arm.com> (raw)
In-Reply-To: <CAPfQmKJ2CJ4=yguXNa+acng0++sLYoJ1oRiEbqRjYha_N3rU6Q@mail.gmail.com>

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

  reply	other threads:[~2012-09-18 10:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-13 18:42 ARM: hw_breakpoint: silent EPERM when setting ARM_DSCR_MDBGEN on ARM_DEBUG_ARCH_V7_ECP14 Valentin Pistol
2012-09-13 21:41 ` Will Deacon
2012-09-14  8:08   ` Valentin Pistol
2012-09-18 10:04     ` Will Deacon [this message]
2012-10-09 17:05       ` Valentin Pistol
2012-10-09 21:08         ` Will Deacon
2012-10-15 20:48           ` Valentin Pistol
2012-10-16  4:26             ` Valentin Pistol
2012-10-12 11:26         ` Dietmar Eggemann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120918100438.GC32204@mudshark.cambridge.arm.com \
    --to=will.deacon@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).