All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@linux.intel.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: kan.liang@intel.com, mingo@redhat.com,
	linux-kernel@vger.kernel.org, acme@kernel.org, jolsa@redhat.com,
	tglx@linutronix.de, eranian@google.com
Subject: Re: [PATCH V5] perf: Add PERF_SAMPLE_PHYS_ADDR
Date: Tue, 22 Aug 2017 10:31:04 -0700	[thread overview]
Message-ID: <20170822173104.GY28715@tassilo.jf.intel.com> (raw)
In-Reply-To: <20170822170736.GI32112@worktop.programming.kicks-ass.net>

> Is this in any way x86 specific? AFAICT this should work in generic code
> as long as data->addr is provided.

It won't work on architectures that split the address space for user/kernel
(if TASK_SIZE is meaningless). But perhaps some generic config for that would
work.

-Andi

      parent reply	other threads:[~2017-08-22 17:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17 18:17 [PATCH V5] perf: Add PERF_SAMPLE_PHYS_ADDR kan.liang
2017-08-22 16:56 ` Peter Zijlstra
2017-08-22 17:58   ` Liang, Kan
2017-08-22 18:21     ` Peter Zijlstra
2017-08-22 17:07 ` Peter Zijlstra
2017-08-22 17:15   ` Liang, Kan
2017-08-22 17:31   ` Andi Kleen [this message]

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=20170822173104.GY28715@tassilo.jf.intel.com \
    --to=ak@linux.intel.com \
    --cc=acme@kernel.org \
    --cc=eranian@google.com \
    --cc=jolsa@redhat.com \
    --cc=kan.liang@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=peterz@infradead.org \
    --cc=tglx@linutronix.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.