Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1183452imu; Wed, 9 Jan 2019 13:12:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN4+ZKv1MEhVLM1b1+t18QC9At8ah1eYXx4WvCWQ/gLXx1abVu84FAwf9hDe2mo1SsDm0Csy X-Received: by 2002:a65:4946:: with SMTP id q6mr6698059pgs.201.1547068371981; Wed, 09 Jan 2019 13:12:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547068371; cv=none; d=google.com; s=arc-20160816; b=MDTLG2DrN4DJl6SAh6GJqTS470O4g34s9cfmI/E2VrE5OyaiMqBleXKQopUXqlpMO9 6U5it+Qu9zUXgA4UUSyNCCi53e09Gsi3VqeoK++fOo2z34rxm52mYd1LTSeWrbghF2bo nPZA6YyWiyGrfzwjsVqMIWMDvX2yPMjzJGAgbOVdi7/2F+MV6uKOKkkZGFwz+FpXSPEy Rlg3xQzvuuW09YCW+gEVMgIaZay5zMOmd/q8yozuL4CXPOivFc7EDkp6QeJly04WkURj skcsf6uMYj4xnvSOAEJf3xpQOnUAM+/sGGwiZTHdtLmv1V4J73KUqKnqS+SYAQpP2xgK 0lnA== 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=0Ep10OnMW7Hy1heRsGeWI1vbqhTTIR6CdMBQ0rinlRM=; b=WwNZhg5ZW8KoaFcTrSCVrsPUXN2FcdjDz4KW3Ixou2bNjsKRE7IpPb3nDk+ZAFXc4A 7J4meGxBbzUprxdOH/0ewMlC7+PM4LRWmQb+vymqV/XmwzhPteiqb9tVoQTXGZ5Gx65C +GDJr8ahQKQgKhdWgevzHJWxjy/D58vIkLXBI290EXwWm4c/eVaOa/5dCKpXkjpgfrOB b4xV2kWMKejDRh89imWsNWYO4lTefAgY/037q2kMv9lQ/aWL1gsBzKNBJGqTYCx/1BKf XBieB6VVsie0se3uYKDxkudJE0IeJkvAdshWB5umVJXZA0jKBVtMdIUCbfySWLFNzVuS 1OWA== 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 c125si14206223pfa.216.2019.01.09.13.12.36; Wed, 09 Jan 2019 13:12:51 -0800 (PST) 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 S1726374AbfAIVHP (ORCPT + 99 others); Wed, 9 Jan 2019 16:07:15 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:36118 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725730AbfAIVHO (ORCPT ); Wed, 9 Jan 2019 16:07:14 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id x09Kn2NB044886 for ; Wed, 9 Jan 2019 16:07:13 -0500 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0a-001b2d01.pphosted.com with ESMTP id 2pwpxh4ntn-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 09 Jan 2019 16:07:13 -0500 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 9 Jan 2019 21:07:12 -0000 Received: from b01cxnp22033.gho.pok.ibm.com (9.57.198.23) by e11.ny.us.ibm.com (146.89.104.198) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 9 Jan 2019 21:07:07 -0000 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 x09L76Si21037074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Jan 2019 21:07:06 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8B858B205F; Wed, 9 Jan 2019 21:07:06 +0000 (GMT) Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6B7F5B2065; Wed, 9 Jan 2019 21:07:06 +0000 (GMT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.88]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP; Wed, 9 Jan 2019 21:07:06 +0000 (GMT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id 3934016C63FE; Wed, 9 Jan 2019 13:07:06 -0800 (PST) Date: Wed, 9 Jan 2019 13:07:06 -0800 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, willy@infradead.org Subject: [PATCH RFC memory-model 0/6] LKMM updates 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: 19010921-2213-0000-0000-000003399411 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00010374; HX=3.00000242; KW=3.00000007; PH=3.00000004; SC=3.00000274; SDB=6.01144138; UDB=6.00595704; IPR=6.00924400; MB=3.00025055; MTD=3.00000008; XFM=3.00000015; UTC=2019-01-09 21:07:10 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19010921-2214-0000-0000-00005CE7EA80 Message-Id: <20190109210706.GA27268@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-01-09_10:,, 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=999 adultscore=99 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901090168 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series contains updates for the Linux-kernel memory model: 1-3. Add SRCU support, courtesy of Alan Stern. 4. Update README for adding of SRCU support. 5. Update memory-barriers.txt on enforcing heavy ordering for port-I/O accesses, courtesy of Will Deacon. This one needs an ack, preferably by someone from Intel. Matthew Wilcox posted some feedback from an Intel manual here, which might be considered to be a close substitute, but... ;-) http://lkml.kernel.org/r/20181127192234.GF10377@bombadil.infradead.org 6. Update Documentation/explanation.txt to include SRCU support, courtesy of Alan Stern. 7. Dynamically check SRCU lock-to-unlock matching, courtesy of Luc Maranget. This needs an ack. Thanx, Paul ------------------------------------------------------------------------ Documentation/memory-barriers.txt | 6 tools/memory-model/Documentation/explanation.txt | 289 ++++++++++++----------- tools/memory-model/README | 25 + tools/memory-model/linux-kernel.bell | 37 ++ tools/memory-model/linux-kernel.cat | 55 ++-- tools/memory-model/linux-kernel.def | 7 6 files changed, 250 insertions(+), 169 deletions(-)