linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: powerpc/perf: Fix thersholding counter data for unknown type
Date: Sat, 22 Dec 2018 20:54:35 +1100 (AEDT)	[thread overview]
Message-ID: <43MLSW6nspz9sMQ@ozlabs.org> (raw)
In-Reply-To: <1544347095-19428-1-git-send-email-maddy@linux.vnet.ibm.com>

On Sun, 2018-12-09 at 09:18:15 UTC, Madhavan Srinivasan wrote:
> MMCRA[34:36] and MMCRA[38:44] expose the thresholding counter value.
> Thresholding counter can be used to count latency cycles such as
> load miss to reload. But threshold counter value is not relevant
> when the sampled instruction type is unknown or reserved. Patch to
> fix the thersholding counter value to zero when sampled instruction
> type is unknown or reserved.
> 
> Fixes: 170a315f41c6('powerpc/perf: Support to export MMCRA[TEC*] field to userspace')
> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/17cfccc91545682513541924245abb

cheers

      reply	other threads:[~2018-12-22 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-09  9:18 [PATCH] powerpc/perf: Fix thersholding counter data for unknown type Madhavan Srinivasan
2018-12-22  9:54 ` Michael Ellerman [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=43MLSW6nspz9sMQ@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=maddy@linux.vnet.ibm.com \
    /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).