Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1091837imm; Wed, 26 Sep 2018 11:29:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV61ZAtlW6V6//sgZSxCYW0Dju31/PjTGrRIPzJz6MCtoDWNjARr11VYIATHcGoZKHOfXVpv0 X-Received: by 2002:a17:902:6b44:: with SMTP id g4-v6mr7352284plt.50.1537986558106; Wed, 26 Sep 2018 11:29:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537986558; cv=none; d=google.com; s=arc-20160816; b=1B8G8NdtB8laSUOp/ZgUpcu4C4FmvZi0KHSvWFPal7r1ZN9pQy1gTuzlZL1WdWmXsn Zl1iTP/KBrSrk9U3Rq/XAaMCTvVk1sEndqnEfAMH3H0pBD51B7e4eBK5MelgFkJSfpzG LWDwDp6koXejLpwc64HOVq/CBYI5IzA5W/u5j8gZOgbQ5Ntca0X0lwyyUrHZ3U2LtjdD sKlhtBMLugGkcxr3tZSqplE3Oga3LA9bXhDfDL49NZO9KjKs0snEc7WaLf6iZumIo9Px eEvr5F1+pgEWzMgYQzYFlBvUvYIQBWKnEGN3GHEJkKbvlTausmK0goBD0alLQ1LyaXFg bEcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:content-disposition :mime-version:reply-to:subject:cc:to:from:date; bh=4rhS00KJ1Q9LrZlh1yMiiAX2by4B5y5LQx4pw9lcHA0=; b=nBTugw7/cs1JmsP+VZke/TLkx+MifNpudGbZqvkFw4fyt+bKn4uisUX/TD/R4FE2Fn veDXdQ7IQai9h9Qs7a4bKuEEXeuh/YDH1DkkeSYeme1T0x9xmgk0vFhXA2Xif3F4yspO oSfIuUOoIpnBzybZCUxC2L2gyRb/yFaEIeA9faUh6Nxv7Ceu5rscyhmK5PoSFiRD+VX2 f/Sn8f5tJSmCU56896Udvq3UnQ0WCxHDFbQ+H4G26SdDEFiA6aZXI9OND7bOo3bczEji ihXkjNeMG3zdHUS3mi1SQSF4+/cCYh9oCMtY/gdb6w2QbGl5hr7USISUcwznep4xwwFV hrWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6-v6si3921714plk.52.2018.09.26.11.29.02; Wed, 26 Sep 2018 11:29:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726528AbeI0AnH (ORCPT + 99 others); Wed, 26 Sep 2018 20:43:07 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:34970 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725987AbeI0AnH (ORCPT ); Wed, 26 Sep 2018 20:43:07 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8QIOEv8045978 for ; Wed, 26 Sep 2018 14:28:52 -0400 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mrejq2k3j-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 26 Sep 2018 14:28:52 -0400 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 26 Sep 2018 14:28:51 -0400 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 26 Sep 2018 14:28:47 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8QISkNq46989312 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 26 Sep 2018 18:28:46 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 60DB8B206A; Wed, 26 Sep 2018 14:27:06 -0400 (EDT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 391EBB2068; Wed, 26 Sep 2018 14:27:06 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.155.193]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 26 Sep 2018 14:27:06 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 072B016C3662; Wed, 26 Sep 2018 11:28:46 -0700 (PDT) Date: Wed, 26 Sep 2018 11:28:46 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, mingo@kernel.org Cc: stern@rowland.harvard.edu, parri.andrea@gmail.com, will.deacon@arm.com, 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 memory-model 0/5] Updates to the formal memory model Reply-To: paulmck@linux.ibm.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18092618-0064-0000-0000-000003559801 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009776; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000267; SDB=6.01094026; UDB=6.00565496; IPR=6.00874063; MB=3.00023518; MTD=3.00000008; XFM=3.00000015; UTC=2018-09-26 18:28:51 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18092618-0065-0000-0000-00003AC823BE Message-Id: <20180926182845.GA24839@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-26_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=644 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809260171 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Ingo! This series contains updates to the Linux kernel's formal memory model in tools/memory-model, along with corresponding changes in documentation and Linux-kernel code. These patches are ready for inclusion into -tip. 1. Document litmus-test naming scheme. 2. Add extra ordering for locks and remove it for ordinary release/acquire, courtesy of Alan Stern. 3. Fix a README typo, courtesy of SeongJae Park. 4. Expand the list of LKMM limitations. 5. Replace smp_cond_acquire() with smp_cond_load_acquire(), courtesy of Andrea Parri. Thanx, Paul ------------------------------------------------------------------------ Documentation/memory-barriers.txt | 3 tools/memory-model/Documentation/explanation.txt | 186 +++++++--- tools/memory-model/Documentation/recipes.txt | 2 tools/memory-model/README | 39 ++ tools/memory-model/linux-kernel.cat | 8 tools/memory-model/litmus-tests/ISA2+pooncelock+pooncelock+pombonce.litmus | 7 tools/memory-model/litmus-tests/README | 104 +++++ 7 files changed, 293 insertions(+), 56 deletions(-)