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 SDAR_MODE value for continous sampling in power9
Date: Thu, 13 Jul 2017 22:46:42 +1000 (AEST)	[thread overview]
Message-ID: <3x7bDL64p0z9s82@ozlabs.org> (raw)
In-Reply-To: <1499770669-9255-1-git-send-email-maddy@linux.vnet.ibm.com>

On Tue, 2017-07-11 at 10:57:49 UTC, Madhavan Srinivasan wrote:
> Incase of continous sampling, code currently defaults
> MMCRA[SDAR_MODE] to 0b01 for power9 DD1 which is
> 'Continous sampling mode update SDAR on TLB miss'.
> And for the rest it copies the sdar_mode value from
> the event code, which mostly turns out to be 0b00
> ('No Updates').
> 
> Instead, fix the sdar_mode to 0b10
> ('Continous sampling mode update SDAR on dcache miss')
> as default for power9 incase of continous sampling.
> 
> Fixes: 78b4416aa2493 ('powerpc/perf: Handle sdar_mode for marked event in power9')
> Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/20dd4c624d25156d5ec3345bbb690b

cheers

      reply	other threads:[~2017-07-13 12:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-11 10:57 [PATCH] powerpc/perf: Fix SDAR_MODE value for continous sampling in power9 Madhavan Srinivasan
2017-07-13 12:46 ` 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=3x7bDL64p0z9s82@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).