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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF256C433F5 for ; Fri, 22 Apr 2022 19:03:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230123AbiDVTGi (ORCPT ); Fri, 22 Apr 2022 15:06:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229584AbiDVTGU (ORCPT ); Fri, 22 Apr 2022 15:06:20 -0400 Received: from smtp-fw-80006.amazon.com (smtp-fw-80006.amazon.com [99.78.197.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67B30225FFE; Fri, 22 Apr 2022 11:55:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1650653734; x=1682189734; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=lBEP3yfW+gSsSIiEuVGb2PQCOs59R1mC2rICVUQuKX8=; b=odtqVycdQa0CbdYPLl5aXMLCjra7UODj8fg1TwswUYxC8w3Z77YkodY4 BHRctAxibDvMaTflS64zocXIcf0GvgOZwqkniuxgxSGM49WRCmGjATIUG JvjKAgvirCSiaB0i/aMz2P3bHoAPalMtUBQ6EfRpZPh79++HRWfE4CWP/ 8=; X-IronPort-AV: E=Sophos;i="5.90,282,1643673600"; d="scan'208";a="82236207" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-pdx-2a-2dbf0206.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-80006.pdx80.corp.amazon.com with ESMTP; 22 Apr 2022 18:49:42 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan2.pdx.amazon.com [10.236.137.194]) by email-inbound-relay-pdx-2a-2dbf0206.us-west-2.amazon.com (Postfix) with ESMTPS id BC995A27D4; Fri, 22 Apr 2022 18:49:40 +0000 (UTC) Received: from EX13D02UWB003.ant.amazon.com (10.43.161.48) by EX13MTAUWB001.ant.amazon.com (10.43.161.249) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 22 Apr 2022 18:49:40 +0000 Received: from EX13MTAUEA001.ant.amazon.com (10.43.61.82) by EX13D02UWB003.ant.amazon.com (10.43.161.48) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 22 Apr 2022 18:49:40 +0000 Received: from dev-dsk-alisaidi-1d-b9a0e636.us-east-1.amazon.com (172.19.181.128) by mail-relay.amazon.com (10.43.61.243) with Microsoft SMTP Server id 15.0.1497.32 via Frontend Transport; Fri, 22 Apr 2022 18:49:39 +0000 Received: by dev-dsk-alisaidi-1d-b9a0e636.us-east-1.amazon.com (Postfix, from userid 5131138) id 80DBB1783; Fri, 22 Apr 2022 18:49:39 +0000 (UTC) From: Ali Saidi To: CC: , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH v5 2/5] perf: Add SNOOP_PEER flag to perf mem data struct Date: Fri, 22 Apr 2022 18:49:34 +0000 Message-ID: <20220422184934.29270-1-alisaidi@amazon.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org On Wed, 20 Apr 2022 18:43:28, Kan Liang wrote: > On 4/8/2022 3:53 PM, Ali Saidi wrote: > > 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. > > It sounds similar to the Forward state. Why can't the > PERF_MEM_SNOOPX_FWD be reused? Is there a definition of SNOOPX_FWD i can refer to? Happy to use this instead if the semantics align between architectures. Thanks, Ali