linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Forced HW_BREAKPOINT
@ 2010-11-30 23:56 Cyril Chemparathy
  2010-12-01  9:54 ` Will Deacon
  0 siblings, 1 reply; 8+ messages in thread
From: Cyril Chemparathy @ 2010-11-30 23:56 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

I am running an ARM1176JZ-S based SoC, on which HW breakpoints do not
seem to function for some reason.

Unfortunately the current Kconfig forces HW_BREAKPOINT if PERF_EVENTS is
enabled on ARMV6 (commit 19852e59002fbba1c2c6ba0f154095a37ad2ac03):

> +       select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V7))

As a result, I am unable to use the PMU for OProfile, without having hw
breakpoints barf at boot.  Is there any dependency between h/w
breakpoints and PMU that I am missing?  If not, does H/W breakpoints
have be forced here?

Regards
Cyril.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-12-02  9:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-30 23:56 Forced HW_BREAKPOINT Cyril Chemparathy
2010-12-01  9:54 ` Will Deacon
2010-12-01 16:17   ` Cyril Chemparathy
2010-12-01 16:28     ` Will Deacon
2010-12-01 16:48       ` Cyril Chemparathy
2010-12-01 17:32         ` Will Deacon
2010-12-01 20:14           ` Cyril Chemparathy
2010-12-02  9:37             ` Will Deacon

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).