Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp70272imm; Wed, 29 Aug 2018 14:12:54 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYVY51jtuZe6/gYYTQc5CHG9kdBgmYpqXp/U/bvQ9bXZ5p8+Kir2bS2s/4LgGdxZJI1dwVy X-Received: by 2002:a63:f206:: with SMTP id v6-v6mr7215464pgh.319.1535577174286; Wed, 29 Aug 2018 14:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535577174; cv=none; d=google.com; s=arc-20160816; b=SUnNzsX+trIcxBJD9D83GGUijPKlZzSpzKpFWH7Gq0/rsohQ+bAT2p4Oh0he4Acxep 0HEvg5Hp8uqoBCnAlhO2lcIFFs+Ubf6XoravPBK63IXjAiwGCF60sabaE61UyCkLwx0V CGGHE+8KIrLTx7KfZKKgDnCa8u0qYCun8bb5fT74Ecq3j0P83YJTr3QmHBsWmKdW17iK AmfKLg6KcT8Uq0OgeP0QKkWZkNcXu6Nu646gUEibxfg8KsG2S62tzc9/+IOWWKe7yXMu 4GqXgUoJPEMwpn2mstlC4S+JoBjC3TPmGlqoEiU1UsQ/L4wZk8Fwai8qAnKnaIB44aUG RpTA== 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 :arc-authentication-results; bh=jkp/VK5zkHJrfYWOjlT7pEI7x4tapkmP3wh5GueCl0Y=; b=k6gulThK0s7kU8kq1sW4RGW93/YbwbxUCtQIrHzc3Ptrt2ZIEvIyGMOlDXI6jPSLQs X4z1KyotaldtXVamyjK7+jUbf87cfmDm5Fwc2gvg1Ajv/SlSdSmji/5nVwWUAeF1kpfg vvjkhKc0CsztAFK2SSvUAkz/nW1QTP4YiCxML4jb9RZlmmx70ECwUnJtyZHU5UVPCV/K HcYFupGqoEwiCgB8mkPyPVFussn73L7NawYkNafYbx1lcoNQZYDtQ2PnAGk/ZMUw+cun 1KzMEjobB2UtMkhO8DQT3EwJ8roFZHxMcmL8pgkuO+Xmk0B6XXCmBLzn8jXbJrfn5bo1 cBuA== 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 p19-v6si4659053pgm.109.2018.08.29.14.12.39; Wed, 29 Aug 2018 14:12:54 -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 S1729017AbeH3BJG (ORCPT + 99 others); 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(-)