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 CF90CC433EF for ; Fri, 22 Apr 2022 21:24:20 +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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=cYcNY2jndYvGuSVJfQFIPf+sluA3pXp//LfNakU76oU=; b=cXXOryK5evOQrc LSn5Sm5dHvkIQXRrQWY97rn/ws+02n4oAOTOPJFwTBFcJ9UYvn1ngwvBDvo/NNOAFvTb0KN+Vu9fd aPDxgklqzy3+BOU9bgRdgLOnHRrG+NVlyxEMqE8T7hNr7hDMMaUcxrgDh56ELmRw1avyiOMcKa0hb Y6I4du4MdTSNMjmkMhxa1Qh3BFr5gW0T04phU50FSBNLrPV/xByR6CqxdYVYEZ7aY1LeTN9CAEGVi rU6TbLD9wDffeTWZjPNQRedGSyk0h2He7/TDfjzdfyPGq0qr929sCOuTJawxfX7Rxjnm+eoXl+dkA +9akTgDTRe/5SG1k0dYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ni0kA-002Qqv-QM; Fri, 22 Apr 2022 21:23:10 +0000 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ni0k6-002Qnh-W8 for linux-arm-kernel@lists.infradead.org; Fri, 22 Apr 2022 21:23:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1650662587; x=1682198587; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=pIf8XjvVOLM926gmhXXRBBK1J3Op2QCT6Rw8kAViYLM=; b=A53F2GPo0+3VZjhzrw9t+K8ibOSb52Kr6sZ/gsXx9B6refTCd76wvVjh Dpc2WAY2hnDL/1oXQ6ndC1W07sbW/RxtkTy2Fn69jDCGc23AcsQ/foGAH nm7Y5YpOoRfVG7StyuyVux6KqV9vQkYcWchGquCdWE+l4903w4PHPZ2AT w=; X-IronPort-AV: E=Sophos;i="5.90,282,1643673600"; d="scan'208";a="195599088" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-iad-1a-b27d4a00.us-east-1.amazon.com) ([10.43.8.2]) by smtp-border-fw-6002.iad6.amazon.com with ESMTP; 22 Apr 2022 21:22:58 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad12-ws-svc-p26-lb9-vlan3.iad.amazon.com [10.40.163.38]) by email-inbound-relay-iad-1a-b27d4a00.us-east-1.amazon.com (Postfix) with ESMTPS id 9E8C68129B; Fri, 22 Apr 2022 21:22:52 +0000 (UTC) Received: from EX13D02UWB001.ant.amazon.com (10.43.161.240) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 22 Apr 2022 21:22:51 +0000 Received: from EX13MTAUWA001.ant.amazon.com (10.43.160.58) by EX13D02UWB001.ant.amazon.com (10.43.161.240) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 22 Apr 2022 21:22:51 +0000 Received: from dev-dsk-alisaidi-1d-b9a0e636.us-east-1.amazon.com (172.19.181.128) by mail-relay.amazon.com (10.43.160.118) with Microsoft SMTP Server id 15.0.1497.32 via Frontend Transport; Fri, 22 Apr 2022 21:22:52 +0000 Received: by dev-dsk-alisaidi-1d-b9a0e636.us-east-1.amazon.com (Postfix, from userid 5131138) id 8D417D86; Fri, 22 Apr 2022 21:22:50 +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 21:22:49 +0000 Message-ID: <20220422212249.22463-1-alisaidi@amazon.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Precedence: Bulk X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220422_142307_231158_24F76A3D X-CRM114-Status: GOOD ( 17.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 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 On Fri, 22 Apr 2022 21:43:28, Kan Liang wrote: > On 4/22/2022 2:49 PM, Ali Saidi wrote: > > 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. > > > > + Andi > > As my understanding, the SNOOPX_FWD means the Forward state, which is a > non-modified (clean) cache-to-cache copy. > https://en.wikipedia.org/wiki/MESIF_protocol In this case the semantics are different. We know the line was transferred from another peer cache, but don't know if it was clean, dirty, or if the receiving core now has exclusive ownership of it. Thanks, Ali _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel