Received: by 10.192.165.156 with SMTP id m28csp833399imm; Mon, 16 Apr 2018 09:24:31 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+LRi0P6Rxxo6fWxSelgs6PsmTJXHcChRBvynKQI0zyd/o/DA2cXeYAHvPVodoe41smTU7v X-Received: by 2002:a17:902:b7c9:: with SMTP id v9-v6mr9303665plz.35.1523895871106; Mon, 16 Apr 2018 09:24:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523895871; cv=none; d=google.com; s=arc-20160816; b=xPZVnFULONiIWYC5ZNBJw9fMbk3sVSECMjKbJtpQu6IlImrOZIpFBRw1Ohl1PcOe2v lQcMma2MBN0g98uLDGcfw4/9cznaX0u+U88MqAkp4H8Sl5WyBZtP6e0yAGm+IHcAFWZR 6oSvVyZNrz/XlQ+eQvkizOU50S/mpL0T1oLnpvQNS3a+sGZ7S5X19qZpHPz6bdidZQtl pY/HqNSKWHeAFGFgXTyYy38HJoA8fZ17MdBDTrGGVwmbkW6erBrsfhLVQxPbkWwPvKx7 BQyDvu8MJrevXRWqBXzqk0ZcMXsM/IkbXu7gWFotSWJ5KFfI9LisoXKg6uY9X//1wKB8 L3OA== 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=AQxUOVwb6QNFcxoypXvdCJPUyDovPFCYVyJbM6SaUaM=; b=d2y5AQDB3iBN2hQsLswVEBnu9lM3tBOOj4z5/HEJShKjmb/sIypHLLjn1AKbvGWrid rphmXY6AsGrXIimztpLUL42lHWCpOckDhoqf4UVjwjJ1QYI2mGj3uY/cQy43w2f7HJoK Nxwg4+Vjsp/RaM7rOO5asHHUj0AyI7wthfpOVx1NB5iFq/JmhMzZlYVMDVjzlMW8dLfH SoUbjohGC4P4gNBEMcwmLTnJCS64mnH7HgmHNwZ2GzXPkQo1gPHKn+ZobRkfWIxw3Uvi Qu7Tky2DUwobXhpp6GyjYEF7tuImCrl9S+6L4ocsnSytJrgYfnYjoxGiUpyizzMm3aw+ HS6g== 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 u9-v6si2459953plk.516.2018.04.16.09.24.16; Mon, 16 Apr 2018 09:24:31 -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 S1753013AbeDPQVb (ORCPT + 99 others); Mon, 16 Apr 2018 12:21:31 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:43908 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752670AbeDPQV2 (ORCPT ); Mon, 16 Apr 2018 12:21:28 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3GGKgwR114784 for ; Mon, 16 Apr 2018 12:21:27 -0400 Received: from e17.ny.us.ibm.com (e17.ny.us.ibm.com [129.33.205.207]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hcwken6w6-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 16 Apr 2018 12:21:26 -0400 Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 16 Apr 2018 12:21:25 -0400 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 16 Apr 2018 12:21:21 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3GGLKUh57344088; Mon, 16 Apr 2018 16:21:20 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 114BCB2046; Mon, 16 Apr 2018 13:23:25 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.108]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id CE096B2050; Mon, 16 Apr 2018 13:23:24 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 8801216C2AF6; Mon, 16 Apr 2018 09:22:28 -0700 (PDT) Date: Mon, 16 Apr 2018 09:22:28 -0700 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Cc: mingo@kernel.org, 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 tools/memory-model 0/5] Additional proposed changes to LKMM 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: 18041616-0040-0000-0000-0000041BB580 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008863; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000257; SDB=6.01018804; UDB=6.00519705; IPR=6.00798046; MB=3.00020599; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-16 16:21:24 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041616-0041-0000-0000-00000821B914 Message-Id: <20180416162228.GA18167@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-16_09:,, 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 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804160148 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series contains a few additional changes to tools/memory-model, however, the members of this series need more discussion and feedback before they are ready for inclusion. 1. Add LKMM test scripts. 2. Add litmus test for full-up multicopy atomicity. 3. Add experimental .cfg and .cat files for s390. These are for expository purposes only, and would more likely be included in the herd tool than in the Linux kernel. 4. Add LKMM support for spin_is_locked(), courtesy of Luc Maranget. It has been suggested that spin_is_locked() be removed from the kernel, but in the meantime we should at least have a definition of what it does. 5. Flag litmus test demonstrating the A-cumulativity of smp_store_release() and LKMM's propagation rule. Thanx, Paul ------------------------------------------------------------------------ linux-kernel.def | 1 litmus-tests/.gitignore | 1 litmus-tests/IRIW+mbonceonces+OnceOnce.litmus | 2 litmus-tests/MP+polockmbonce+poacquiresilsil.litmus | 30 +++++ litmus-tests/MP+polockonce+poacquiresilsil.litmus | 29 +++++ litmus-tests/README | 19 +++ litmus-tests/SB+poonceoncescoh.litmus | 31 ++++++ litmus-tests/WRC+pooncerelease+rmbonceonce+Once.litmus | 4 lock.cat | 53 +++++++++- s390.cat | 18 +++ s390.cfg | 21 ++++ scripts/checkalllitmus.sh | 73 ++++++++++++++ scripts/checklitmus.sh | 86 +++++++++++++++++ 13 files changed, 359 insertions(+), 9 deletions(-)