From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6DAAC433F5 for ; Wed, 29 Aug 2018 21:10:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9D52220647 for ; Wed, 29 Aug 2018 21:10:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9D52220647 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729033AbeH3BJG (ORCPT ); Wed, 29 Aug 2018 21:09:06 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39072 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728228AbeH3BJG (ORCPT ); Wed, 29 Aug 2018 21:09:06 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w7TL95Tw108312 for ; Wed, 29 Aug 2018 17:10:25 -0400 Received: from e12.ny.us.ibm.com (e12.ny.us.ibm.com [129.33.205.202]) by mx0a-001b2d01.pphosted.com with ESMTP id 2m60fgpgpc-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 29 Aug 2018 17:10:25 -0400 Received: from localhost by e12.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 29 Aug 2018 17:10:23 -0400 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e12.ny.us.ibm.com (146.89.104.199) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 29 Aug 2018 17:10:19 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w7TLAIrl37158980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 29 Aug 2018 21:10:18 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id A4964B2066; Wed, 29 Aug 2018 17:09:14 -0400 (EDT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 84F52B205F; Wed, 29 Aug 2018 17:09:14 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.159]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 29 Aug 2018 17:09:14 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id D85DA16C3063; Wed, 29 Aug 2018 14:10:18 -0700 (PDT) Date: Wed, 29 Aug 2018 14:10:18 -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 RFC memory-model 0/7] Memory-model changes Reply-To: paulmck@linux.vnet.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: 18082921-0060-0000-0000-000002A65C0E X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009636; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01080714; UDB=6.00557479; IPR=6.00860700; MB=3.00023001; MTD=3.00000008; XFM=3.00000015; UTC=2018-08-29 21:10:23 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18082921-0061-0000-0000-000046558D1C Message-Id: <20180829211018.GA19646@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-08-29_04:,, 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=643 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808290206 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series contains memory-model updates, not yet ready for inclusion: 1. Add extra ordering for locks and remove it for ordinary release/acquire, courtesy of Alan Stern. There is some remaining disagreement as to whether or not locks and ordinary release/acquire should have identical ordering properties. 2. Replace smp_cond_acquire() with smp_cond_load_acquire(), courtesy of Andrea Parri. 3. Expand the list of LKMM limitations. 4. Fix a README typo, courtesy of SeongJae Park. 5. Add scripts to check github litmus tests. 6. Make scripts take "-j" abbreviation for "--jobs". 7. Add .cfg and .cat files for s390, which is a not-for-mainline placeholder. Thanx, Paul ------------------------------------------------------------------------ Documentation/memory-barriers.txt | 3 tools/memory-model/.gitignore | 1 tools/memory-model/Documentation/explanation.txt | 186 +++++++--- tools/memory-model/Documentation/recipes.txt | 2 tools/memory-model/README | 41 ++ tools/memory-model/linux-kernel.cat | 8 tools/memory-model/litmus-tests/ISA2+pooncelock+pooncelock+pombonce.litmus | 7 tools/memory-model/s390.cat | 18 tools/memory-model/s390.cfg | 21 + tools/memory-model/scripts/README | 70 +++ tools/memory-model/scripts/checkalllitmus.sh | 53 +- tools/memory-model/scripts/checkghlitmus.sh | 65 +++ tools/memory-model/scripts/checklitmus.sh | 74 --- tools/memory-model/scripts/checklitmushist.sh | 60 +++ tools/memory-model/scripts/cmplitmushist.sh | 87 ++++ tools/memory-model/scripts/initlitmushist.sh | 68 +++ tools/memory-model/scripts/judgelitmus.sh | 78 ++++ tools/memory-model/scripts/newlitmushist.sh | 61 +++ tools/memory-model/scripts/parseargs.sh | 140 +++++++ tools/memory-model/scripts/runlitmushist.sh | 87 ++++ 20 files changed, 981 insertions(+), 149 deletions(-)