Received: by 10.213.65.68 with SMTP id h4csp624217imn; Wed, 28 Mar 2018 09:41:16 -0700 (PDT) X-Google-Smtp-Source: AIpwx48+Cm9id17yr+wVV349BnjuH+XBQeBKgf8YesFk3ByACvXRs7bu2iLQSOxoo8DNuLWfis21 X-Received: by 2002:a17:902:4001:: with SMTP id b1-v6mr4436869pld.273.1522255276175; Wed, 28 Mar 2018 09:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522255276; cv=none; d=google.com; s=arc-20160816; b=jUWNK/MJElBsTVeqGzX0k6QW6uCq2RfiSE5YybLJilD+r/iH8CL0y9BrQ5eOlgiV6+ cOwikNQ6hrDGDp54Y/kmgW2HZghtNL0QHdQYnL+rVN3txYXcG7V674xBsuOHwdRZWYED ZH4vItttyYK6jBZqrPqRKdBWXT9qFGM6ao398/qGvfKSQA8oMYB0J/6SL2zAxHtxMrd4 YtxzppVP5uO4Exryc4r2Mo8e+Im+9kAJInVscjG/022OBp/iDi/f14Us29sPyu/giDYr OORt46MCCJxmE5BLeoR31w01UrFTJvZBm+DK0SLvJBWp32wea9p4jSAaDffiKdwVKjS4 xKyQ== 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:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=VA86rjTxawLCtaxe9AMGNBViGvtUIh/GATeuzCIM9qQ=; b=F0Dz2QhmEOZBa0q2fOTfEyAZL8NxYyUukFGCz5D2I7FN33G1O0++bQEGbhKUaT7Zff UalrpvI3rHMj6iXSU6lXhW8w9K8UNn/YNkBmZAg/XKOG55FJMlq70l1M5sHRXIKZK9KD d6jd++HgcWWTc7Vua2w1RNOekzGVVK1xKaNH5ciL7heSdh9PYQ5PQdz1EL+VfERdPjb0 WjcbBiVWf/YiR7nKW/LF/wQEu8tdmeoKe0+hfBB26gqEu5XbLOWYsre13qz/bD+/+9xR LZDFGS9CebjAaX56UV0hdrCjdIde2IhQXxKc/HIwx/nBXi0l9ILum+RCY1JFDcr0WA+/ X60g== 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 bj1-v6si3822824plb.663.2018.03.28.09.40.59; Wed, 28 Mar 2018 09:41:16 -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 S1753227AbeC1QkF (ORCPT + 99 others); Wed, 28 Mar 2018 12:40:05 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:59284 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752936AbeC1QkD (ORCPT ); Wed, 28 Mar 2018 12:40:03 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w2SGajD4125193 for ; Wed, 28 Mar 2018 12:40:02 -0400 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0b-001b2d01.pphosted.com with ESMTP id 2h0e8dsfgr-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Wed, 28 Mar 2018 12:40:02 -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, 28 Mar 2018 12:40:01 -0400 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 28 Mar 2018 12:39:58 -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 w2SGdv9p57213170; Wed, 28 Mar 2018 16:39:57 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BCD69B2052; Wed, 28 Mar 2018 13:42:06 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.85.150.83]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 9DA15B204D; Wed, 28 Mar 2018 13:42:06 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 807FE16C257D; Wed, 28 Mar 2018 09:33:44 -0700 (PDT) Date: Wed, 28 Mar 2018 09:33:44 -0700 From: "Paul E. McKenney" To: Alan Stern Cc: schwidefsky@de.ibm.com, borntraeger@de.ibm.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, 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: Re: [PATCH RFC tools/memory-model] Add s390.{cfg,cat} Reply-To: paulmck@linux.vnet.ibm.com References: <20180328134232.GA29274@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18032816-0008-0000-0000-000002EC2A1C X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008760; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000255; SDB=6.01009702; UDB=6.00514382; IPR=6.00788984; MB=3.00020293; MTD=3.00000008; XFM=3.00000015; UTC=2018-03-28 16:40:01 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18032816-0009-0000-0000-000038B52383 Message-Id: <20180328163344.GT3675@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-28_06:,, 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-1803280173 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 28, 2018 at 11:01:25AM -0400, Alan Stern wrote: > On Wed, 28 Mar 2018, Paul E. McKenney wrote: > > > Hello! > > > > The prototype patch shown below provides files required to allow herd7 to > > evaluate C-language litmus tests for the multicopy-atomic TSO ordering > > provided by s390. This patch should be viewed with great suspicion. > > It does what I expect it to do on SB (with and without barriers), > > IRIW without barriers, and Alan's SB with read-of-write added, but my > > expectations are quite likely faulty, and my test cases are very few > > in number. > > > > Either way, this is the easy part. The hard part (which I am happy > > to leave to others) is making litmus7 and klitmus7 able to do tests > > on actual hardware, as well as enabling herd to handle litmus tests > > containing BAL. ;-) > > > > Note that CPU architectures already supported by herd might well need > > only a .cfg file that refers to herd's pre-existing support. > > > > Thoughts? > > I don't quite see the point of this. You're not suggesting that we > have one Linux Kernel Memory Consistency Model for s390 and another > one for all the other architectures, are you? Certainly not for common code! > If the idea is merely to provide a herd model for s390 then it should > go into the DIY repository, not into the LKMM repository. Makes sense. In the meantime, does the cat file look to you like it correctly models the combination of TSO and multicopy atomicity? Do the fences really work, or did I just get lucky with my choice of litmus tests? Thanx, Paul