Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2044354lqb; Mon, 27 May 2024 06:15:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXMp9oSG3OoYrdUpWb/eaoGW6qY4FtJawVCnS8VKb06NP8fp3tz+H565ETW1uYAv7QKYgnuw/WyePWUfCtb8eeAqBvKFFyms2P2kS2e0A== X-Google-Smtp-Source: AGHT+IHq/n7HcoUYyjjVsBnLBYR/TM+8EyJOtjV/a1x3inBujTzGE/8yRVfzAo0qFeGRJ5XXZaGB X-Received: by 2002:a9d:638e:0:b0:6ef:7f93:13ac with SMTP id 46e09a7af769-6f8d0b232damr10012334a34.29.1716815755596; Mon, 27 May 2024 06:15:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716815755; cv=pass; d=google.com; s=arc-20160816; b=nXIWbVfq4xT80f0mA1xoZYEa3l1/dkJt7/hs2KBIyG+CZM9Uur/ecRJj8rBNVADf3v Ywuab5ZdUJU2QxzQG+1NeDII+kTgQdi/4mp6Y/liaunzQbPAmmkpLX9AFyGCnm0DxhKe Ks4jN0STzxIb4i/QB+BmYn5aK/CeNFPXTyBY4K7xyMX+ElylGvjuVhT+FcA478daLWD+ SMJOz4Fud0K4i6DIaBcThpGz5AD02yGI3pLRLrO+tMd8hUPfMQjqrvTINGgkxBeSXSwS JnUD4St8HFOJuBGI06eJR9+FbzxCBuEP7cSgQEMR9sdAdPKqRK4BPsJJ1QRRUfpv8mQ/ XUnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to:subject :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=w1EEvPiaygaD6VH4iPGdy+Z0mi9yzyW+Un6fjxMKcKs=; fh=1jUTf923lYQhjT5cV071xkDLkDD0R2DSyWWNrTIj6N4=; b=0aIoMDRbZ9e0r1GtsOQ7WmFkNRD/LpLhvxGVS0ftnQV3yCP1qP7w8PDK/el0O7LpCT Q2MfeNw1703XkDaBORspk4Q7N1eD5Jr7osr8o2MW5qUaEEnRlM1SoCRI2udlxFhsb/cm moWQ6SflhwClRPdTSfxW+RovtWhJy22hKWEN05picpqxqmr2d17xukMo5SAiU3+S4VLo r1meMYPFxil2YIp4Zulidaigf7f/JSvkxs5JjYdNb/FQmCcq62EKskJt2wMb7dDblNu7 jCZPeJkuFzaEX7CeunjEIkOeDTfCYazZZOClPsXV7pmiH3aJXRtzpUJWxk32jj9uzaU9 AMdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-190661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190661-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ada2fe7eead31-48a3a2f09a8si1397362137.345.2024.05.27.06.15.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 06:15:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huaweicloud.com); spf=pass (google.com: domain of linux-kernel+bounces-190661-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190661-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 002191C2200F for ; Mon, 27 May 2024 13:15:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9B4AB15ECE5; Mon, 27 May 2024 13:15:21 +0000 (UTC) Received: from frasgout12.his.huawei.com (frasgout12.his.huawei.com [14.137.139.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9176315E5DD; Mon, 27 May 2024 13:15:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=14.137.139.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716815721; cv=none; b=NXswnXU1R5ohu3+5uKpDXuVbW+ZFJCmMIJAxQMAA/5jZUgzKA55YHg742nxkCoB+EWP2Hdgsy8V7ZMTrWqy/QFDGdxTXngX1wn6hSib7aLJUBJPvJgby7VEKbD+f1XP0xYn7CrCENEVd6CJrS5nxieOCsQiZGG7mZN4OnM93hqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716815721; c=relaxed/simple; bh=h6jP6IddeCizaqoE9jp2cmuBloJpEnUogauaN3oACqE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pcfk1t5KO4ZD9gUN3HhoVgfj0xjzENHvn47KsGn79Imi4wTNEJiRDw9KkilzBfv52TsoYFWVlejlIb8m2f0KvwWm9HkzHsd5f7Mq5/nODaIX/n7WBAKP3fSrZA/PixPGgTW0YTTpn/98eOvFEcv4k9Bneaphl0ZA8j02CI22fvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com; spf=pass smtp.mailfrom=huaweicloud.com; arc=none smtp.client-ip=14.137.139.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=huaweicloud.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huaweicloud.com Received: from mail.maildlp.com (unknown [172.18.186.51]) by frasgout12.his.huawei.com (SkyGuard) with ESMTP id 4VnwYK53M7z9v7Jb; Mon, 27 May 2024 20:53:09 +0800 (CST) Received: from mail02.huawei.com (unknown [7.182.16.47]) by mail.maildlp.com (Postfix) with ESMTP id 7F8CB140113; Mon, 27 May 2024 21:15:15 +0800 (CST) Received: from [10.206.134.102] (unknown [10.206.134.102]) by APP1 (Coremail) with SMTP id LxC2BwCXjhdWh1RmqDwFCQ--.43980S2; Mon, 27 May 2024 14:15:14 +0100 (CET) Message-ID: <747c6690-5314-4c23-b48d-1b463d058e0d@huaweicloud.com> Date: Mon, 27 May 2024 15:14:59 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] tools/memory-model: Document herd7 (internal) representation To: Hernan Ponce de Leon , Andrea Parri , Alan Stern Cc: will@kernel.org, peterz@infradead.org, boqun.feng@gmail.com, npiggin@gmail.com, dhowells@redhat.com, j.alglave@ucl.ac.uk, luc.maranget@inria.fr, paulmck@kernel.org, akiyks@gmail.com, dlustig@nvidia.com, joel@joelfernandes.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org References: <20240524151356.236071-1-parri.andrea@gmail.com> <1c6d4146-86f8-4fd5-a23e-a95ba2464c9e@rowland.harvard.edu> From: Jonas Oberhauser In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CM-TRANSID:LxC2BwCXjhdWh1RmqDwFCQ--.43980S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYw7AC8VAFwI0_Xr0_Wr1l1xkIjI8I6I8E 6xAIw20EY4v20xvaj40_Wr0E3s1l1IIY67AEw4v_Jr0_Jr4l8cAvFVAK0II2c7xJM28Cjx kF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVWUJVWUCwA2z4x0Y4vE2Ix0cI8I cVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280aV CY1x0267AKxVW8JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4CE 5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v26r1j6r4UMcvjeV CFs4IE7xkEbVWUJVW8JwACjcxG0xvEwIxGrwACjI8F5VA0II8E6IAqYI8I648v4I1lFIxG xcIEc7CjxVA2Y2ka0xkIwI1l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7v_Jr0_Gr 1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWUGVWUWwC2zVAF1VAY17CE 14v26r4a6rW5MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7 IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0rVWrZr1j6s0DMIIF0xvE x4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvj DU0xZFpf9x0JUQvtAUUUUU= X-CM-SenderInfo: 5mrqt2oorev25kdx2v3u6k3tpzhluzxrxghudrp/ Am 5/27/2024 um 2:25 PM schrieb Hernan Ponce de Leon: > On 5/24/2024 6:00 PM, Andrea Parri wrote: >>> What's the difference between R and R*, or between W and W*? >> >> AFAIU, herd7 uses such notation, "*", to denote a load or a store which >> is also in RMW. > > I also got confused with this. What about the following notation? > >     R[once,RMW] ->rmw W[once,RMW] > >> >>    Andrea > Note that the * is also what herd will show in its graphs. jonas