lkml.org 
[lkml]   [2009]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.


\
 
 \ /
  Last update: 2009-03-22 00:53    [W:0.060 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site