Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp38105rwe; Thu, 25 Aug 2022 23:33:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR5MP819TW5rowUN87id4XD9537ayUwd1sq3lXJON263IxwjunYwsAG/mVEhfC7dlnPJ+XtS X-Received: by 2002:a63:8bc4:0:b0:42b:4b06:2858 with SMTP id j187-20020a638bc4000000b0042b4b062858mr2004325pge.505.1661495625159; Thu, 25 Aug 2022 23:33:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661495625; cv=none; d=google.com; s=arc-20160816; b=LYkUdjqG6GBAlU/v/jfTuNgeaN6pC24lWutn5ljEEu/mIcpGV6e3gmlF/ibcEN/ouy M3XHpipzsJgYmZaHAIv8i9+JnOY5gAzLRLmZvU5ctIuBx6Ki07YURAO/mtTP5Qk29fgx B2n+lInZLQ1mehxd2nEImkR7nqk4uymKsuczPiYMwHM6Li6mOJcIzr1HMvgNVJn0vDse AmZecJ6GZN1Zv/YKPUV0tNf7z/QjbC+tvWkICc+C0OoKPKHY1ZmaoOQQeQq/I+P7u09u +byAJyAy8QiSgZcXKoegl6rRLYZ375UETZvwRBlTBnnLm05nASyo2fBxSxL1fiXdF+Ll bIRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=feSSvQfSIZTTbKIOXODfwXSxUp0ih4gkGwyK7VijaP0=; b=lsPPsTo+SqBaYB/a9HepLwKVhmWcE85XVuKDpBp/lsocF5Fhe0gAFSsR4jVl8GHpmU WrQ23Qdrh0mK35+fBQ4NLYbDTDZqfZRnxhw0pCHD3ZMCOLs77mjfFHVwrGuqsIXEkbpa UUsXAusHcyiOJiTWojwMGuul3sK9hXCS1Dkjq4QqBlarhHNbgJWtoFLGNvVUo6Y5I96A tXxTRRdfDxX38H8ALAnl196agGV5xRp6ayJ0GR+tmDmS18eulLJ9ErJqmqNRW5UOsEPS BLZT0fjF9NgFdBtLonlBuXqQQ6Hulq3sMdz93qQEf2fwcQ0/Em0vrcEjX3AOyTqivwo5 gI+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XgDFRm1E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n16-20020a170903111000b001712e1efa90si969797plh.22.2022.08.25.23.33.22; Thu, 25 Aug 2022 23:33:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XgDFRm1E; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244966AbiHZGUB (ORCPT + 99 others); Fri, 26 Aug 2022 02:20:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244903AbiHZGT7 (ORCPT ); Fri, 26 Aug 2022 02:19:59 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DA13DF41 for ; Thu, 25 Aug 2022 23:19:57 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id w2so807444pld.0 for ; Thu, 25 Aug 2022 23:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=feSSvQfSIZTTbKIOXODfwXSxUp0ih4gkGwyK7VijaP0=; b=XgDFRm1E8UjNTOgDL5udYLrY3rfl7szKOjxlfoj2UF0hohpr4ppLGZHSckwe23lT/W zxa2FF/iIKpWsCVYwSDydF684UjFCrjEVy2f5leRBss3MTVvPgqoR76PCYGt86UNQdEi N0UqN2hg+A6xm1ZE2FaelV7AiMqK0vMwgw41Wjc/H05fiQCylmtdpfXIgzR12l6I0IY8 SC8Ns9qRzM0Erh+Vli8KJ01EsBOXzMwu+Ct8BM5m4s3UvO9F4Ctzbaq1GnEyFsv7v2Mf 5Uk6J3PCt+wWNx4Rh9MoGQeZ65B+7RxRGQ1gPyu0O6bU8WFplfmWRZgklWXHsVTEnnyA SdSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=feSSvQfSIZTTbKIOXODfwXSxUp0ih4gkGwyK7VijaP0=; b=Z2T2/sj9cgsFA1WWUWa57/4uhDzvoSHwWwXoY1dxXgYVy1VY6sl1ICl/n/4OCUnBha yiN5CdAV8vi4m8Zlpyiwvnk+HVkhQOJvOON9gA9Fap6VoedEMW9z+boodyg8IkesNdwL xnohrYzbkPKa6O1RVsVi9LvlF7FreJF4wnSYIir5kckh/yl9Al2uDk3M90hC4BXJwvsZ YMz/LYGlsaW4FxUFX1eK8TSocSHznsk152dywLlz/QkhyLc48umuDaf0aEuPxpddZA8d F0+3W1osjso6Pp5hVBNnJcOj0CzAKjnp5agRosC4wbrksza6DImxFAkGuJwjxE5GODxv jttQ== X-Gm-Message-State: ACgBeo1dy9z4kVHB8rH3jbYbkRVL+ONXDSrv2gburMEYnKD8A1zfEMMz 66NvZvF/DcvI+A8Glme0SYIiIQ== X-Received: by 2002:a17:90a:c402:b0:1f8:c335:d4d7 with SMTP id i2-20020a17090ac40200b001f8c335d4d7mr2850632pjt.242.1661494797001; Thu, 25 Aug 2022 23:19:57 -0700 (PDT) Received: from leoy-huanghe.lan ([204.124.180.110]) by smtp.gmail.com with ESMTPSA id b5-20020aa78ec5000000b00536bbe91b83sm743055pfr.157.2022.08.25.23.19.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 23:19:56 -0700 (PDT) Date: Fri, 26 Aug 2022 14:19:50 +0800 From: Leo Yan To: Peter Zijlstra , Arnaldo Carvalho de Melo , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ali Saidi , Kajol Jain Subject: Re: [PATCH RESEND v6] perf: Add SNOOP_PEER flag to perf mem data struct Message-ID: References: <20220826051603.174792-1-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 26, 2022 at 01:17:18PM +0800, Leo Yan wrote: > On Fri, Aug 26, 2022 at 01:16:03PM +0800, Leo Yan wrote: > > From: Ali Saidi > > > > 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. > > > > Update notes: > > > > This patch is to sync the headers between kernel and user space, commit > > 2e21bcf0514a ("perf tools: Sync addition of PERF_MEM_SNOOPX_PEER") for > > updating kernel header has been merged in the mainline code. > > Hi Peter, could you help to merge this patch? Thanks! I sent a new patch with adding my SoB: https://lore.kernel.org/lkml/20220826060556.176681-1-leo.yan@linaro.org/T/#u Sorry for spamming.