All of lore.kernel.org
 help / color / mirror / Atom feed
From: karl leplat <karl.leplat@parrot.com>
To: linux-btrace@vger.kernel.org
Subject: [PATCH] OMAP3: pmu: make CPU_HAS_PMU dependent on OMAP3_EMU
Date: Fri, 23 Sep 2011 14:31:44 +0000	[thread overview]
Message-ID: <4E7C9850.20406@parrot.com> (raw)

Patch:

CPU performance event counters on v7 cores will only operate
if either the NIDEN or DBGEN signals are driven high.

For the OMAP3 platform, these signals are driven low by default [i.e.
when a JTAG debugger is not connected] but DBGEN can be asserted in
software by selecting the OMAP3_EMU Kconfig option, which enables the
virtual clock for hardware debugging peripherals.

This patch makes CPU_HAS_PMU depend on OMAP3_EMU for OMAP3 platforms.

If i selected OMAP3_EMU option, i didn't see changes, DBGEN is already low. How can i activated the debug mode ?

Thanks !






             reply	other threads:[~2011-09-23 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-23 14:31 karl leplat [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-05-27 15:00 [PATCH] OMAP3: pmu: make CPU_HAS_PMU dependent on OMAP3_EMU Will Deacon
2010-06-16  8:29 ` Jean Pihet
2010-06-16 12:33   ` Will Deacon
2010-06-21 14:35   ` Will Deacon
2010-07-01 13:07     ` Tony Lindgren

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=4E7C9850.20406@parrot.com \
    --to=karl.leplat@parrot.com \
    --cc=linux-btrace@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.