Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp514227lqr; Wed, 5 Jun 2024 12:26:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXUvTYWuygHl9wtzxo6Bomcwplp0j35D2Dk2X9Qtpa6MoWJJ8aOqg0HjjE4RAmz0XWXh+JAVMXjRZYiapZIlpykgLZnf+v8Pr4ZPncbpw== X-Google-Smtp-Source: AGHT+IELbsvCdKRTYJrfkX9x13Nr4/RqdeqS17yL9AYjW6g/wzVDPKc86dEOO5tfgS7F/3qPPH4A X-Received: by 2002:a05:6e02:1fed:b0:374:9307:51ed with SMTP id e9e14a558f8ab-374b1ee2865mr38533745ab.5.1717615618307; Wed, 05 Jun 2024 12:26:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717615618; cv=pass; d=google.com; s=arc-20160816; b=yvqoUIVSIP0urxQz0jTIN9ZrGzla1/LYIBgCxKo21iIOafzWEqN3B8sXdJcMdlDCjl 8J9uGhuOtarfG3SnCmG1JHuOnX0+fcnslWZ4BwWv63CeBn8pn85fm3MQziVui6Sawaxq plBkUYbpZehVxnw5LAgXCi8TVk8JZ+4bzudPzwyL4ggwCoY8Jhe5zdudsoh7oZPj+WnN vh1lJTRzyP3XFmqH3eJrf7qp5PeiYkA9e7l+AsC4Iu+irisCnoEcQXKDnB4zGqzOACbE GJOzGEc83mte6pgxj+/oYCNqvlwkBcqibNQofbt82WvqJE6RLykiQp7f0MtlzNRYBkab n85Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=W05x3+sVU6bILbLlHv781110WtHbNpnp+gY6dsPenOg=; fh=Mic3lvR04Nz5zAI2r1Q89SVWEDLM4gvXjfGr5ZBqNFk=; b=mSJfK82XLa+daARyWK/217BVRQGAZmDUgTjpARphALy/aIeupmofCZjvaNY493lwCE JsWYPPYBYMvbsRj+/vxdnM+p3Nei2r2sKRjahm002BG2Iub7618tTiheOB0Pj4lgi1NI NaIw+GF6U7Nu2H1/ikI9V6hXwU2csU2PGGI7sTv3LflVzIu/LdBMqoYdXFUM6tye32pY MGLer5l3HwHVWsHMBnAAGjqeQO+beTbRLOzjazSuq6bwFwtat6d/yH/32bmeSC9b3Mt4 KKk/8MiCS4crNOYs3xvP4ZUccjhJryvxXDWSM0YnV3+ksMAJDwlKLs2SMPhhHIMPbJyk B0/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZPcoGoHE; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-203098-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203098-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c354b92054si40238a12.22.2024.06.05.12.26.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 12:26:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203098-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ZPcoGoHE; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-203098-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203098-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4F4E1283F0D for ; Wed, 5 Jun 2024 19:26:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B58C14EC4F; Wed, 5 Jun 2024 19:26:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZPcoGoHE" Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2EBDE14D713; Wed, 5 Jun 2024 19:26:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717615596; cv=none; b=jlkB7xSoERHcG08iN3T+YkuQO11imK26tGPpMfiv9UaSZcSfs5kcxB09hpzEwxpbbYl0mmDUSKMpwSSD2asJ08mdwgIyaX4pj4osxldIKQmXYSzROu6SZbPel4OtoXGl3MNj72h77Q/1njaLWf/Psg7mqlwW4ER0oyTuSLhdTY4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717615596; c=relaxed/simple; bh=TGeMPpyCZO5b/q1Rebq1IqjfCpKuEFM8wD8tUBsBoKw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XBOO1lksZ9tvMeosSUbN+f0P3NhQXfL4WESJFWqVzt1ERWVQgT6DJNMhuWLVdSBkyc4ORVBGkKzYyiT2Zb+3pnzxIxNiuydkqUYZP7uZUA/mwVAGppe6YWvR+1I1kMQO2uEY4oCvr0YzQzVlSQClKilOJ78PuatJThZ4U6kIDNo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=ZPcoGoHE; arc=none smtp.client-ip=209.85.221.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-35e0f4e1821so89926f8f.0; Wed, 05 Jun 2024 12:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717615593; x=1718220393; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=W05x3+sVU6bILbLlHv781110WtHbNpnp+gY6dsPenOg=; b=ZPcoGoHEXu/Lymd4PxA95BAMjcv3UW7VBcnDx5iTnmIkJV6pq1VuBHRMPh8+IObhn5 vSEflwcP5oWvufwr4r10PtYbB5feZT143rbgD4OoNl7dK2ylWrx4jMBHdF5S+OZ4GJSK C0ttPzm4TU5bBoDBXYGjRytNA/46k2ckFsaoJdxtKoS6Rpp8pcf6yMoJFhW+FVKCIu+y W1dp/7id9rSHslCmqv98RfcEfFqDavb4ytz453tKtwMJylXDpo+ah7xJoH5BbT+fa4ry m71h3DTPUIFa12HCNPIedM9E5o9lAe7Gc6YXIahY+2YTcjB+f/ZYqltNBqewkSa2XrVj Zndw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717615593; x=1718220393; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=W05x3+sVU6bILbLlHv781110WtHbNpnp+gY6dsPenOg=; b=FdK4lPGLrO+QikO1tHcTcHpQqUJOxZj6U2KtWeagA4giUjs6xlItrXrWATp9s4eock GCA90V/TUINxaNabCFNzZljorfsgGib/wxqCa4oBK1FLm/noEtKQiJyLuFJSL6vUzWlq E1FhrwKBIZ8pBhDD/w3I9brp0CQlsZ6ky+SVD3adVi4T/5l6lMc3hdN9Qo5P9zuZPdW0 QWrCF+EbXWFwQFnIdtOCPxenoPapAqogHxnFOzkWap93vERrsrALVkFvPmNhr8w7+mN7 WOKWcnydvw5vcrEdRf5iSloOAMmw5kpfc/19Wmpl6QVzgiASYwPgpbDC00jDH0JqQpcP 4E5w== X-Forwarded-Encrypted: i=1; AJvYcCUJQjiP9zbcw4uQ5OuWuKY0seR5k0rb/mvQD6Dn0r9lv323LMCNocfwhYUmiOPU5hg12ONHxkV6VPFH1ug81Xovo9t1A1uEQURj2PqrLadsQAu8sJK+wRd3j19+RmW8bmglTIeE2kKjYg== X-Gm-Message-State: AOJu0YzkqrnNDc2atHE952onXofPQmqOb+FXmo2UgxSm7ghbSJpcY+eU gKwfiGtYi4ceK9hvGLiY1XWgHrpds5/78XVLMOeIs4lkLghXlU80 X-Received: by 2002:a05:6000:114a:b0:357:393d:5006 with SMTP id ffacd0b85a97d-35e8406866emr2729154f8f.7.1717615593349; Wed, 05 Jun 2024 12:26:33 -0700 (PDT) Received: from andrea ([151.76.32.59]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd064bbb1sm15440454f8f.101.2024.06.05.12.26.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 12:26:33 -0700 (PDT) Date: Wed, 5 Jun 2024 21:26:27 +0200 From: Andrea Parri To: 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, hernan.poncedeleon@huaweicloud.com, jonas.oberhauser@huaweicloud.com Subject: Re: [PATCH] tools/memory-model: Document herd7 (internal) representation Message-ID: References: <20240524151356.236071-1-parri.andrea@gmail.com> <28bdcf4c-6903-4555-8cbc-a93704ec05f9@rowland.harvard.edu> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: > > Here's a much smaller patch, suitable for the -stable kernels. It fixes > > the bug without doing the larger code reorganization (which will go into > > a separate patch). Can you test this one? > > Testing in progress..., first results are good. Completed and good on the various locking litmus tests in the github archive and in-tree. Andrea