mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] perf_counter: remove the event config bitfields
Date: Sun, 22 Mar 2009 10:50:27 +1100	[thread overview]
Message-ID: <18885.32067.929534.488134@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <1237673068.3922.257.camel@laptop>

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.

  reply	other threads:[~2009-03-21 23:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21  4:53 [PATCH] perfcounters: fix type/event_id layout on big-endian systems Paul Mackerras
2009-03-21  9:42 ` Ingo Molnar
2009-03-21  9:52   ` Paul Mackerras
2009-03-21  9:56     ` Ingo Molnar
2009-03-21 11:41       ` Peter Zijlstra
2009-03-21 22:04         ` [PATCH] perf_counter: remove the event config bitfields Peter Zijlstra
2009-03-21 23:50           ` Paul Mackerras [this message]
2009-03-21 10:24 ` [PATCH] perfcounters: fix type/event_id layout on big-endian systems Peter Zijlstra
2009-03-21 12:08   ` Paul Mackerras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18885.32067.929534.488134@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®