Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp788727lqm; Wed, 1 May 2024 16:21:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWwZu3X3It0X0xeTQp4mqMean/bRdE/FrcF1Ky//TdqFJrWk3v1JraFT7otZYsECLjO5fd3YJC7hdhzd4+gAjMDvc8bcEZTHG1s3VlXkQ== X-Google-Smtp-Source: AGHT+IG7aox4TUMWddoQVmpSwZKDYmCnzRaszxenVA5RbE80s8tHSLOpTTx8D4NSeULUIgNGIk1z X-Received: by 2002:a05:622a:1301:b0:43a:f697:6670 with SMTP id v1-20020a05622a130100b0043af6976670mr4399677qtk.49.1714605687170; Wed, 01 May 2024 16:21:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714605687; cv=pass; d=google.com; s=arc-20160816; b=y0Ign6K3R6Hh+WYo8gRjNYSU2uht7PRU+yBmnLguhpMuE0S3y3XWhV1eeJc0m7vNrL pw99uftK8hC/Xpq6C6ZjlQHR/wRL/81oaA5fHQFTsU2j1KPFmUe+UlnelJkQSj3Fk6qf G+qmWxQUEISr0p3LUdxZ7qqhgCLfsp77Us2YE6RcPcx7/i9WOxZyZyQb+Tcc5xfiRBOs n++PislwNoAGHEzl0zswtmyOsorvJBSD4LXAR1sAphAh5EEo28QOD6fi5pgtxsK90ORq 4OU7S6oE7vRpCdRwhpZ+nic+im6rs+Csa0Gjc5FU+F+VjtP5r8u37sMX7F5Q8ce6v7bw Ipxw== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=GZ623t7mgkt+M6Bzm2QeczhL/kKWNv7lQkAwfgVPClQ=; fh=4dfaob2NGP5vtoRlBOgEaR0NCy0T6immUDMYvZHST28=; b=f3qqkgPoqxOXD+lXeGV0uuQXM1vn7oGR7EzMhW5orrzfj2f+PGRR8kUHkDs6bcG8rW JFw0sxJfG8rtFX6OF/zJ67BYEAE/aBoY2cZgxzbP5Pq2X7U9rqXoSnkSQb99u7HQjVoX eGYOyqLGkTelaWgFtMVKDSNa7zn6U35pcSabueId/iwmTr2Cww8YvmL6XibC4N/oMHRk qN7C9Ih8RFcN6VLdg+iq8nvhJnAEBYIMMUk/rYLNZxDPF6xDOpze0u/ph8z37acCumG8 fu7JIwbntez6nUtrAjB85IHqImUIWalymvZikM2rTkkTzKPGeMpfEfh5vsfCLXYxdIk/ uiZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HziUBFXs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 o13-20020a05622a044d00b0043af8ab6828si7259831qtx.318.2024.05.01.16.21.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 16:21:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165837-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HziUBFXs; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-165837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 E25621C20FED for ; Wed, 1 May 2024 23:21:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EF8F168AF9; Wed, 1 May 2024 23:21:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HziUBFXs" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 702D317C6B; Wed, 1 May 2024 23:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714605679; cv=none; b=mlpEp06xQahivGa7FnSbbs2NyTS+TUdiZIcYS5UnFSkhNw0bwViBxRGGivG4klb1/Cd3WJz5gsn6S4sQrUYbEZI6EwV/FcxedKaCl7Xb+CU+jMzkIe2HmEWerqoH4s6TqDn05sQUoFJkGIAw+7Ze/SPheAb/D8V8eJ3cb8JsXAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714605679; c=relaxed/simple; bh=V7pdb33RKpwAz8QMydHY2xEB2tvjZSeTxTovguE8X0I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GiLaJi/N82j51i7xsJfxULZEQ1DtKPK9JvY0v+5HiomNi7tqieRYxGw1Ai+qDd4FNsjVzhIN58WOofFv0TMQVnYlfDmECMCVPH/t1hOnl6yPMGBa1qVCj4OHAST1Vq2c9H/nckf0WQhIVyAtLTJiLiiNlTnIVcKgu1J7bat3QfQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HziUBFXs; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3D91C072AA; Wed, 1 May 2024 23:21:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714605679; bh=V7pdb33RKpwAz8QMydHY2xEB2tvjZSeTxTovguE8X0I=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=HziUBFXstSH5ymhJcTtj4AFDWpG3Px9nNCGWDWuMhb+AtI2l4hnPhMtMOdIAMSs0H I/gqMWv/1x+okZj5BEARdXTtcnE8A7XPEIgBv78raHnLtekXpJ6ADUTUDLyBQ+Vjph lQyyISGLd9Menw0jt7bHQ1I0otSxWg8zXSoa//BwSpxhyl2O7YqDivgrgvZ9sxoh7w NQo3lwFecfCkt5VpjJ4Wj8oFXjLUl+GpW6jMO9qjZpiKt74Hx8Dy19wYS2WiTOkoVY UyWOi6aALMMMcQY+p5D8g6DvkXhHG2fqxJ5nuB58Y99w4wfaTXoH/lyTXMnSKePnMZ oNJckzapCRUWA== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id 809DACE1073; Wed, 1 May 2024 16:21:18 -0700 (PDT) Date: Wed, 1 May 2024 16:21:18 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, kernel-team@meta.com, mingo@kernel.org Cc: stern@rowland.harvard.edu, parri.andrea@gmail.com, 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, akiyks@gmail.com Subject: [PATCH v2 memory-model 0/3] LKMM updates for v6.10 Message-ID: <42a43181-a431-44bd-8aff-6b305f8111ba@paulmck-laptop> Reply-To: paulmck@kernel.org References: <8550daf1-4bfd-4607-8325-bfb7c1e2d8c7@paulmck-laptop> 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: <8550daf1-4bfd-4607-8325-bfb7c1e2d8c7@paulmck-laptop> Hello! This series contains LKMM documentation updates: 1. Documentation/litmus-tests: Add locking tests to README. 2. Documentation/litmus-tests: Demonstrate unordered failing cmpxchg. 3. Documentation/atomic_t: Emphasize that failed atomic operations give no ordering. 4. Documentation/litmus-tests: Make cmpxchg() tests safe for klitmus. Changes since V1: o Apply formatting feedback from Andrea Parri o Add patch 4 that makes tests safe for klitmus, also based on feedback from Andrea Parri. Thanx, Paul ------------------------------------------------------------------------ Documentation/litmus-tests/README | 16 ++++ Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-1.litmus | 1 Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-2.litmus | 4 - Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus | 1 Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-2.litmus | 4 - b/Documentation/atomic_t.txt | 4 - b/Documentation/litmus-tests/README | 29 ++++++++ b/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-1.litmus | 34 ++++++++++ b/Documentation/litmus-tests/atomic/cmpxchg-fail-ordered-2.litmus | 30 ++++++++ b/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-1.litmus | 33 +++++++++ b/Documentation/litmus-tests/atomic/cmpxchg-fail-unordered-2.litmus | 30 ++++++++ 11 files changed, 180 insertions(+), 6 deletions(-)