From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 986B6C19F2A for ; Thu, 11 Aug 2022 21:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1JZFU4J/FjxNv8FgMyUHKyxIfKgDmoCFf3EBiVUlwdw=; b=ngYX2pThDxFVUO FOSAXx4xoWquvWBM1ON5Mu+PL/4W0lWPWhoypl2TeI55fFQzHtukETfsnt+oZdYq1nLGiDwUBbvXa /xVsV/cjhlbYd5J4o5gB34bnqWpKMpMcJ7yn7kPY358ulWrKl0e1wwKq9F/PeFtYPvIEZu/7PrYH8 lGzRpUdrDFIlpP5dYSsAHzylKCjlwQxqYm+XR35H42KdaiJCefWs44yj9OaqD6fwxR3wVJsUS/b6E f3RTEkiB4uHwmbydzgLHs6JgkyrLUMkfAZkv980SLHJLZxU0vgYhlM7x5RCJCqe7CH9ac4hRoFdu1 Jzjg8D1knFue0Gux9vNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMG9l-005rxy-7L; Thu, 11 Aug 2022 21:55:57 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMG9j-005rwX-57 for linux-arm-kernel@bombadil.infradead.org; Thu, 11 Aug 2022 21:55:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=3U8YLtdendVXjqR+emtxwHLNpDr81zH03SF8QP9bQ9w=; b=UKGi5GL7NEh57DYe1p+hI6RlQI 46ktLapaW4tSSu+rD4A69HZZxtuJVmltIoVgdhIc7U5tWvtRbYGCtUsCz+l27zVQhkLh3JhT0laD7 oExVTcWfEoX882f+1NZreq68yCIBAfva38V2w5QdP+8HZ3k3v5vHLNOY02Ih+o93kmVWw/XM8/pLV 9kvFyP6wht+zWLtcWEMetFaTAQhcwqd9S0O6QZXfNRwe6ILHZ2Gri9U2mVYdZmMuVM1coQkjGD782 k37gE8pRL9QANE9TdzC5ebXy3UnIS82EiNdY9HBgeF8qmzwRE96O39Q3iBZUIOCaKITghyfdgXpEF CIsnuQ4g==; Received: from [187.19.239.32] (helo=quaco.ghostprotocols.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oMG9g-001RnP-2s; Thu, 11 Aug 2022 21:55:52 +0000 Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 1455A4035A; Thu, 11 Aug 2022 18:55:48 -0300 (-03) Date: Thu, 11 Aug 2022 18:55:48 -0300 From: Arnaldo Carvalho de Melo To: Leo Yan Cc: Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , John Garry , Will Deacon , James Clark , Mike Leach , Kajol Jain , Ali Saidi , Adrian Hunter , "Gustavo A. R. Silva" , Anshuman Khandual , Ian Rogers , Like Xu , German Gomez , Timothy Hayes , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v6 01/15] perf tools: sync addition of PERF_MEM_SNOOPX_PEER Message-ID: References: <20220811062451.435810-1-leo.yan@linaro.org> <20220811062451.435810-2-leo.yan@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220811062451.435810-2-leo.yan@linaro.org> X-Url: http://acmel.wordpress.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Em Thu, Aug 11, 2022 at 02:24:37PM +0800, Leo Yan escreveu: > 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. > > Signed-off-by: Ali Saidi > Reviewed-by: Leo Yan I'm adding a: Signed-off-by: Leo Yan To the patches you're sending that you are not the original author, as per defined in: Documentation/process/submitting-patches.rst --- The Signed-off-by: tag indicates that the signer was involved in the development of the patch, or that he/she was in the patch's delivery path. --- If you disagree and want to retract the patch, please let me know, this so far is speculative and is only on my local branch for testing. - Arnaldo > --- > tools/include/uapi/linux/perf_event.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h > index 4653834f078f..e2b77fbca91e 100644 > --- a/tools/include/uapi/linux/perf_event.h > +++ b/tools/include/uapi/linux/perf_event.h > @@ -1310,7 +1310,7 @@ union perf_mem_data_src { > #define PERF_MEM_SNOOP_SHIFT 19 > > #define PERF_MEM_SNOOPX_FWD 0x01 /* forward */ > -/* 1 free */ > +#define PERF_MEM_SNOOPX_PEER 0x02 /* xfer from peer */ > #define PERF_MEM_SNOOPX_SHIFT 38 > > /* locked instruction */ > -- > 2.34.1 -- - Arnaldo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel