Re: [PATCH] perf_counter: remove the event config bitfields
From: Paul Mackerras
Date: Sat Mar 21 2009 - 19:50:47 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/