From: Ingo Molnar <mingo@elte•hu>
To: Anton Blanchard <anton@samba•org>
Cc: linuxppc-dev@lists•ozlabs.org, paulus@samba•org,
a.p.zijlstra@chello•nl, acme@ghostprotocols•net
Subject: Re: [PATCH] powerpc: perf: Handle events that raise an exception without overflowing
Date: Wed, 16 Mar 2011 13:50:53 +0100 [thread overview]
Message-ID: <20110316125053.GA7387@elte.hu> (raw)
In-Reply-To: <20110309143842.6c22845e@kryten>
* Anton Blanchard <anton@samba•org> wrote:
>
> Events on POWER7 can roll back if a speculative event doesn't
> eventually complete. Unfortunately in some rare cases they will
> raise a performance monitor exception. We need to catch this to
> ensure we reset the PMC. In all cases the PMC will be 256 or less
> cycles from overflow.
>
> Signed-off-by: Anton Blanchard <anton@samba•org>
> Cc: stable@kernel•org
> ---
>
> I would prefer not to add the PVR check, but I think we want to limit
> this workaround to POWER7. Would a cpu feature be preferable?
There was no objection from the PowerPC folks so i'll send this fix Linuswards, ok?
Thanks,
Ingo
next prev parent reply other threads:[~2011-03-16 12:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 3:38 [PATCH] powerpc: perf: Handle events that raise an exception without overflowing Anton Blanchard
2011-03-16 12:50 ` Ingo Molnar [this message]
2011-03-16 20:34 ` Benjamin Herrenschmidt
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=20110316125053.GA7387@elte.hu \
--to=mingo@elte$(echo .)hu \
--cc=a.p.zijlstra@chello$(echo .)nl \
--cc=acme@ghostprotocols$(echo .)net \
--cc=anton@samba$(echo .)org \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=paulus@samba$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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