linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Andi Kleen <andi@firstfloor.org>
Cc: linux-kernel@vger.kernel.org,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Arnaldo Carvalho de Melo <acme@infradead.org>
Subject: Re: Basic perf PMU support for Haswell v14
Date: Thu, 20 Jun 2013 12:16:14 +0200	[thread overview]
Message-ID: <20130620101614.GA7322@gmail.com> (raw)
In-Reply-To: <20130619193855.GY6123@two.firstfloor.org>


* Andi Kleen <andi@firstfloor.org> wrote:

> > Ok, this series looks good at first sight: you've slightly overdone the 
> > checkpatch style changes without checking that the result is actually an 
> > improvement - I've fixed those few places.
> > 
> > I'll give it a bit of testing.
> 
> Thanks for testing and merging.
> 
> I still have some other patches to enable other features,
> on top of this.
> 
> I'll repost them in hopefully logical groups. 
> 
> If you want them grouped in some particular way or other
> requirements please let me know.
> 
> https://git.kernel.org/cgit/linux/kernel/git/ak/linux-misc.git/log/?h=hsw/pmu6
> 
> FWIW the outstanding patches do:
> 
> - Some changes to make CPU event aliases more user friendly:
> 
> print aliases in perf list, avoid the need to specify cpu//,
> automatically enable PEBS for mem-loads/stores,
> Allow aliases to specify "precise"
> 
> This is all not Haswell specific, but makes
> the TSX changes below a lot more user friendly.
> 
> Most of this is actually user mode only, except for the
> "precise" alias changes.

Yeah. This I think looks good mostly.

> - TSX changes: perf stat -T, TSX event aliases, support for 
> reporting the abort cause from PEBS, plus the user tools
> support for all of this

Yes.

> - Full width counting (generally useful, but also avoids
> a TSX checkpoint problem)

I'd suggest putting this in first and testing it ASAP, so that any TSX 
patches don't have to worry about it. I'd expect it to just work.

[ You could also now add the patch that standardizes APIC-Ack handling in 
  the NMI handler, removing the Haswell specific quirk. If it causes any 
  problems it's bisectable. ]

> - Support TSX filtering in the the LBR, plus a workaround
> for the duplicated abort record.

Ok.

Please resend all of these on top of latest -tip.

My main and pretty much only complaint regarding the merge process of the 
'basic' Haswell patches in the past few months is that you should try to 
avoid the trivial problems preemptively so that maintainers don't have to 
waste time on dealing with them again and again. Also, when a particular 
category of problem is pointed out try to fix similar instances in other 
pending patches as well - not just strictly the exact problems that have 
been pointed out.

> Plus also on top (not in my git tree):
> 
> - Zheng's call graph lbr mode patches, to allow user mode -g without 
> frame pointers or full dwarf. This has a few known problems, but is 
> still useful enough that it should be available as a option.

This looks useful too, please send these changes in a separate submission 
with all call graph people Cc:-ed: Peter, Frederic, Arnaldo, Jiri, 
Namhyung.

Thanks,

	Ingo

      reply	other threads:[~2013-06-20 10:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1371515812-9646-1-git-send-email-andi@firstfloor.org>
2013-06-19  8:20 ` Basic perf PMU support for Haswell v14 Ingo Molnar
2013-06-19 12:48 ` Ingo Molnar
2013-06-19 19:38   ` Andi Kleen
2013-06-20 10:16     ` Ingo Molnar [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=20130620101614.GA7322@gmail.com \
    --to=mingo@kernel.org \
    --cc=a.p.zijlstra@chello.nl \
    --cc=acme@infradead.org \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).