[PATCH v8 2/5] perf tools: sync addition of PERF_MEM_SNOOPX_PEER

Arnaldo Carvalho de Melo acme at kernel.org
Wed May 11 11:28:00 PDT 2022


Em Wed, May 11, 2022 at 10:20:04AM +0800, Leo Yan escreveu:
> On Tue, May 10, 2022 at 01:28:38PM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Wed, May 04, 2022 at 06:48:47PM +0000, Ali Saidi escreveu:
> > > Add a flag to the perf mem data struct to signal that a request caused a
> > > cache-to-cache transfer of a line from a peer of the requestor and
> > > wasn't sourced from a lower cache level.  The line being moved from one
> > > peer cache to another has latency and performance implications. On Arm64
> > > Neoverse systems the data source can indicate a cache-to-cache transfer
> > > but not if the line is dirty or clean, so instead of overloading HITM
> > > define a new flag that indicates this type of transfer.
> > > 
> > > Signed-off-by: Ali Saidi <alisaidi at amazon.com>
> > > Reviewed-by: Leo Yan <leo.yan at linaro.org>
> > 
> > Was this already merged on the ARM kernel tree?
> 
> No, I don't think this patch has been merged on Arm kernel tree.  I searched
> Arm and Arm64 git repos, none of them has merged this patch.
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git/log/?qt=author&q=Ali+Saidi
> http://git.armlinux.org.uk/cgit/linux-arm.git/log/?qt=author&q=Ali+Saidi
> 
> P.s. Ali missed to include German's review tag, see:
> https://lore.kernel.org/lkml/458a2de1-dc93-7e2d-5dc5-fbcd670572b6@arm.com/
> 
> Do you want us to resend the patch set for adding tags?

I use b4 and it should collect Reviewed-by, Acked-by, etc tags, for
instance, if I use the message-id in your message:

⬢[acme at toolbox perf]$ b4 am -ctsl --cc-trailers 20220511022004.GA956170 at leoy-ThinkPad-X240s
Looking up https://lore.kernel.org/r/20220511022004.GA956170%40leoy-ThinkPad-X240s
Grabbing thread from lore.kernel.org/all/20220511022004.GA956170%40leoy-ThinkPad-X240s/t.mbox.gz
Checking for newer revisions on https://lore.kernel.org/all/
Analyzing 12 messages in the thread
Checking attestation on all messages, may take a moment...
---
  ✓ [PATCH v8 1/5] perf: Add SNOOP_PEER flag to perf mem data struct
    + Reviewed-By: Kajol Jain<kjain at linux.ibm.com> (✓ DKIM/ibm.com)
    + Signed-off-by: Arnaldo Carvalho de Melo <acme at redhat.com>
    + Link: https://lore.kernel.org/r/20220504184850.24986-2-alisaidi@amazon.com
    + Cc: Nick.Forrington at arm.com
    + Cc: andrew.kilroy at arm.com
    + Cc: german.gomez at arm.com
    + Cc: james.clark at arm.com
    + Cc: mark.rutland at arm.com
    + Cc: john.garry at huawei.com
    + Cc: lihuafei1 at huawei.com
    + Cc: peterz at infradead.org
    + Cc: benh at kernel.crashing.org
    + Cc: acme at kernel.org
    + Cc: jolsa at kernel.org
    + Cc: namhyung at kernel.org
    + Cc: will at kernel.org
    + Cc: mathieu.poirier at linaro.org
    + Cc: alexander.shishkin at linux.intel.com
    + Cc: linux-arm-kernel at lists.infradead.org
    + Cc: mingo at redhat.com
    + Cc: linux-kernel at vger.kernel.org
    + Cc: linux-perf-users at vger.kernel.org
  ✓ [PATCH v8 2/5] perf tools: sync addition of PERF_MEM_SNOOPX_PEER
    + Reviewed-By: Kajol Jain<kjain at linux.ibm.com> (✓ DKIM/ibm.com)
    + Signed-off-by: Arnaldo Carvalho de Melo <acme at redhat.com>
    + Link: https://lore.kernel.org/r/20220504184850.24986-3-alisaidi@amazon.com
    + Cc: Nick.Forrington at arm.com
    + Cc: andrew.kilroy at arm.com
    + Cc: german.gomez at arm.com
    + Cc: james.clark at arm.com
    + Cc: mark.rutland at arm.com
    + Cc: john.garry at huawei.com
    + Cc: lihuafei1 at huawei.com
    + Cc: peterz at infradead.org
    + Cc: benh at kernel.crashing.org
    + Cc: acme at kernel.org
    + Cc: jolsa at kernel.org
    + Cc: namhyung at kernel.org
    + Cc: will at kernel.org
    + Cc: mathieu.poirier at linaro.org
    + Cc: alexander.shishkin at linux.intel.com
    + Cc: linux-arm-kernel at lists.infradead.org
    + Cc: mingo at redhat.com
    + Cc: linux-kernel at vger.kernel.org
    + Cc: linux-perf-users at vger.kernel.org
  ✓ [PATCH v8 3/5] perf mem: Print snoop peer flag
    + Reviewed-By: Kajol Jain<kjain at linux.ibm.com> (✓ DKIM/ibm.com)
    + Signed-off-by: Arnaldo Carvalho de Melo <acme at redhat.com>
    + Link: https://lore.kernel.org/r/20220504184850.24986-4-alisaidi@amazon.com
    + Cc: Nick.Forrington at arm.com
    + Cc: andrew.kilroy at arm.com
    + Cc: german.gomez at arm.com
    + Cc: james.clark at arm.com
    + Cc: mark.rutland at arm.com
    + Cc: john.garry at huawei.com
    + Cc: lihuafei1 at huawei.com
    + Cc: peterz at infradead.org
    + Cc: benh at kernel.crashing.org
    + Cc: acme at kernel.org
    + Cc: jolsa at kernel.org
    + Cc: namhyung at kernel.org
    + Cc: will at kernel.org
    + Cc: mathieu.poirier at linaro.org
    + Cc: alexander.shishkin at linux.intel.com
    + Cc: linux-arm-kernel at lists.infradead.org
    + Cc: mingo at redhat.com
    + Cc: linux-kernel at vger.kernel.org
    + Cc: linux-perf-users at vger.kernel.org
  ✓ [PATCH v8 4/5] perf arm-spe: Don't set data source if it's not a memory operation
    + Signed-off-by: Arnaldo Carvalho de Melo <acme at redhat.com>
    + Link: https://lore.kernel.org/r/20220504184850.24986-5-alisaidi@amazon.com
    + Cc: Nick.Forrington at arm.com
    + Cc: andrew.kilroy at arm.com
    + Cc: james.clark at arm.com
    + Cc: mark.rutland at arm.com
    + Cc: john.garry at huawei.com
    + Cc: lihuafei1 at huawei.com
    + Cc: peterz at infradead.org
    + Cc: benh at kernel.crashing.org
    + Cc: acme at kernel.org
    + Cc: jolsa at kernel.org
    + Cc: namhyung at kernel.org
    + Cc: will at kernel.org
    + Cc: mathieu.poirier at linaro.org
    + Cc: kjain at linux.ibm.com
    + Cc: alexander.shishkin at linux.intel.com
    + Cc: linux-arm-kernel at lists.infradead.org
    + Cc: mingo at redhat.com
    + Cc: linux-kernel at vger.kernel.org
    + Cc: linux-perf-users at vger.kernel.org
  ✓ [PATCH v8 5/5] perf arm-spe: Use SPE data source for neoverse cores
    + Signed-off-by: Arnaldo Carvalho de Melo <acme at redhat.com>
    + Link: https://lore.kernel.org/r/20220504184850.24986-6-alisaidi@amazon.com
    + Cc: Nick.Forrington at arm.com
    + Cc: andrew.kilroy at arm.com
    + Cc: james.clark at arm.com
    + Cc: mark.rutland at arm.com
    + Cc: john.garry at huawei.com
    + Cc: lihuafei1 at huawei.com
    + Cc: peterz at infradead.org
    + Cc: benh at kernel.crashing.org
    + Cc: acme at kernel.org
    + Cc: jolsa at kernel.org
    + Cc: namhyung at kernel.org
    + Cc: will at kernel.org
    + Cc: mathieu.poirier at linaro.org
    + Cc: kjain at linux.ibm.com
    + Cc: alexander.shishkin at linux.intel.com
    + Cc: linux-arm-kernel at lists.infradead.org
    + Cc: mingo at redhat.com
    + Cc: linux-kernel at vger.kernel.org
    + Cc: linux-perf-users at vger.kernel.org
  ---
  ✓ Signed: DKIM/amazon.com
---
Total patches: 5
---
Cover: ./v8_20220504_alisaidi_perf_arm_spe_decode_spe_source_and_use_for_perf_c2c.cover
 Link: https://lore.kernel.org/r/20220504184850.24986-1-alisaidi@amazon.com
 Base: not specified
       git am ./v8_20220504_alisaidi_perf_arm_spe_decode_spe_source_and_use_for_perf_c2c.mbx
⬢[acme at toolbox perf]$

Somehow it is not being collected... :-\

Not even when I use:

> P.s. Ali missed to include German's review tag, see:
> https://lore.kernel.org/lkml/458a2de1-dc93-7e2d-5dc5-fbcd670572b6@arm.com/


458a2de1-dc93-7e2d-5dc5-fbcd670572b6 at arm.com

Will try updating b4...

- Arnaldo



More information about the linux-arm-kernel mailing list