Messages in this thread | | | Date | Sun, 22 Mar 2009 10:50:27 +1100 | From | Paul Mackerras <> | Subject | Re: [PATCH] perf_counter: remove the event config bitfields |
| |
Peter Zijlstra writes:
> Paul, I noticed you assign the raw config without mask, is that ok?
Yep. That doesn't get assigned directly to a hardware register; it undergoes further processing first, which just pulls out the bits it needs. (It's not used directly because the hardware has a couple of registers that configure all the counters at once, rather than a configuration register per counter.)
Paul.
| |