All of lore.kernel.org
 help / color / mirror / Atom feed
* pmu_suspend/resume
@ 2001-08-12  3:57 Ira Weiny
  2001-08-12 17:36 ` pmu_suspend/resume Benjamin Herrenschmidt
  0 siblings, 1 reply; 5+ messages in thread
From: Ira Weiny @ 2001-08-12  3:57 UTC (permalink / raw)
  To: linuxppc-dev


I have been using pmu_suspend and pmu_resume to keep my TiBook from
turning off when debugging some kernel stuff.  Is this ok?

The reason I ask is that pmu_suspend seems to have the desired effect,
temporarily turning off the PMU.  But pmu_resume does not seem to leave
the PMU in a stable state.  Now I realize that I am debuging a kernel
and that it could/probably is other factors which are causing these
problems but I just wanted to make sure that there is not some better
way of disabiling the PMU or that I might be using these functions
incorrectly.

Basically:

pmu_suspend();

/* suspicious/known bad code here */

pmu_resume();

Just like that right?

Thanks,
Ira Weiny
iweiny@acm.org

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <1423311618.2021537.1478003748549.ref@mail.yahoo.com>]

end of thread, other threads:[~2016-11-02  8:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-12  3:57 pmu_suspend/resume Ira Weiny
2001-08-12 17:36 ` pmu_suspend/resume Benjamin Herrenschmidt
     [not found] <1423311618.2021537.1478003748549.ref@mail.yahoo.com>
2016-11-01 12:35 ` PMU suspend/resume Amit Mahadik
2016-11-01 18:39   ` Stefan Wahren
2016-11-02  8:38     ` Amit Mahadik

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.