Re: [patch] oprofile for ppc

mikpe@csd.uu.se
Wed, 12 Mar 2003 11:42:25 +0100


Albert Cahalan writes:
> > Is this bug restricted to 7400/7410 only, or does it
> > affect the 750 (and relatives) and 604/604e too?
> >
> > I'm thinking about ppc support for my perfctr driver,
> > and whether overflow interrupts are worth supporting
> > or not given the errata.
>
> 604/604e doesn't even have performance monitoring AFAIK.

Yes they do. 604 has two counters, 604e has four.

> I've heard nothing to suggest that the 750 is affected.

I seem to recall hearing something about some temperature
monitoring interrupt interacting badly with the performance
monitor interupt due to an errata, but that may not have been
the 750.

> I'll give you a hand; point me to the latest perfctr code
> and explain how it is supposed to interact with oprofile.

They're not supposed to interact, but there is currently no
mechanism in place for preventing both from being activated
at the same time. What's needed is some form of kernel API
for reserving and releasing the performance counter hardware,
and updating oprofile to use that API.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/