Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2039735pxb; Thu, 7 Oct 2021 22:33:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuqbHpJSsjP/ETR/pzig66ZnVWnWzJ9lXjUw/9+1oXnnUnn8S+s9IP0XIs954tOYnjQu5N X-Received: by 2002:a17:906:f243:: with SMTP id gy3mr1667773ejb.327.1633671192099; Thu, 07 Oct 2021 22:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633671192; cv=none; d=google.com; s=arc-20160816; b=RQOfygmD7Oro7MP35uVMh4zbu+PVzX2OwRN1qOzohI1V0z2DnYgQr3RVqVaz6wpGy8 aAkSl/JKTJ8WGzTkevib9glP+4DhRiCauDkH5gBl0faJKsJW40iVsk1PC2NI63VKB4gg CiWA3Pau/LRQjWeEsBdhYmmm804F/EWU2VzZMMpcWv2WUqvW+4KM+WjZuYn9mFsd/A9i IUlJt8PkwSNNT+uu/aCjtspN/MR46h2zLCkbbX5gTdA7JfLqh8FsG9ytGoaaNuVoEOx1 eaAeUz71ADxzMoeDPPr6cunaxIR+AitL2ELGaotQ1PKUWw+3KSbw8NL8z/XO7XYLrKMs PsSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=sIw4jn1DGB6yOiTwilUDw2qffK2Q341CIcdtPOKj5Po=; b=QDtyUqYmJW5NR4rK5Upbmqa5q/rCmWzDm9lM8MbyT8ttGd37dUX5xhLC6X7/JR7kAt 5NygnW9Dntgvjr5UMuXbBgENZ3UkMAhyaWVeCnccN0RJ/SJC77EC5SSqM29fTMHOPCJE ppi72PhATg21YpM4mJYBD451HnJDBBJrE20xJn4WLrkHXSSv1qiCBe2BzQD9B6sw/Ipd abb17PAZ3cBrvbXYOSJjtSiEuYiSL/iHsHscY7pad2UgIp5nRjMU88pkZDHsJ1PQKmCR +3XPcLi6psTtLCUpMD8xj5E4yVYQJWox+hfAgZaQ//QBi6NIQfIt3cp2tWMMX86fCKyf dD2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=FKp5UO7Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q11si1911492edj.483.2021.10.07.22.32.47; Thu, 07 Oct 2021 22:33:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=FKp5UO7Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229748AbhJHFcj (ORCPT + 99 others); Fri, 8 Oct 2021 01:32:39 -0400 Received: from gandalf.ozlabs.org ([150.107.74.76]:34983 "EHLO gandalf.ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbhJHFci (ORCPT ); Fri, 8 Oct 2021 01:32:38 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4HQcGk6lRDz4xbZ; Fri, 8 Oct 2021 16:30:38 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1633671043; bh=sIw4jn1DGB6yOiTwilUDw2qffK2Q341CIcdtPOKj5Po=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=FKp5UO7ZC6skkgQ2Tt6jAF94wz89h0MsDiMUGuhEywIvFzcQugqo7vWSKIFxvEXSG Jsfao0sP2XO5Qq+98Nx1fiy+XthiDkIYz6vxz+EQlTBxWptCmCdbnIkjE37llYLCu7 wktpY9nJkK7VjYa8e4lSgDoMocZwlcvZ6UoFNR95d0+NB0ETT6fYZwKqNxkZOc5pqp cpOIgk6ZJDqUDsMskYZodOpJPtAuBs4Wz7+loNH1kqKUQW01xe9oPGOYUs5IQwWXzj UvYRymTFi3shsVMQlQ4dh1BSQwJTC7N6Fr6JdYi7bGSE2Et3NFSukg0NkMieThWql5 kVyKdmvbT/wJw== From: Michael Ellerman To: Boqun Feng , Linux Kernel Mailing List Cc: "Paul E . McKenney" , Dan Lustig , Will Deacon , Peter Zijlstra , Linus Torvalds , Alexander Shishkin , Peter Anvin , Andrea Parri , Ingo Molnar , Vince Weaver , Thomas Gleixner , Jiri Olsa , Arnaldo Carvalho de Melo , Stephane Eranian , palmer@dabbelt.com, paul.walmsley@sifive.com, Alan Stern , linux-arch@vger.kernel.org Subject: Re: [PATCH] tools/memory-model: Provide extra ordering for unlock+lock pair on the same CPU In-Reply-To: References: <20210930130823.2103688-1-boqun.feng@gmail.com> Date: Fri, 08 Oct 2021 16:30:37 +1100 Message-ID: <878rz4nkw2.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Boqun Feng writes: > (Add linux-arch in Cc list) > > Architecture maintainers, this patch is about strengthening our memory > model a little bit, your inputs (confirmation, ack/nack, etc.) are > appreciated. Hi Boqun, I don't feel like I'm really qualified to give an ack here, you and the other memory model folk know this stuff much better than me. But I have reviewed it and it matches my understanding of how our barriers work, so it looks OK to me. Reviewed-by: Michael Ellerman (powerpc) cheers