Received: by 10.223.164.202 with SMTP id h10csp1605784wrb; Mon, 27 Nov 2017 05:08:46 -0800 (PST) X-Google-Smtp-Source: AGs4zMYCiSk0tfqBkndomYnE3dRiwVvcoA5ZxDv9eeGNCD237JW/0fAs8GsuyjqBypZVWkuJheIe X-Received: by 10.159.231.23 with SMTP id w23mr39000589plq.436.1511788126204; Mon, 27 Nov 2017 05:08:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511788126; cv=none; d=google.com; s=arc-20160816; b=nP17rQpUkgjxckyEcZgpYT0mLz7RonH4bzv+tk5TBX3d6O4OGi8U+2NCFxuXYd2xCA 21LAt0tnoB7WnUGK5DLjnHhcvcXIwFjvtV1Ce8hv1lOB6bCyS4is0bCRWolYz9Wvxas7 BUKCOtWeYIBwccQQn3pj4/AoKvoRa3bDg0cdznDKKMqA21d7eD49O+8ULo/H+xVUe5H0 OEoVcQh84ao1fOsmvYgDNY6QCgQVB3TEN7hSO47s7XU4Qj+uc4DSOCUueQ31fI35/D1B JjHHCjeDqUwnAFMitvIv5Qa6eU8fm8Lw0B5aiq3clkDT81HBaYqOc73Rpxs1xtwf6vKj rSbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version:organization :user-agent:references:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=ovQxlWq73fJM8QutHbKwv+iqqxNjtPUJ1tpg+yxNwZY=; b=jPP3l2blVlTqMqZFvelRHmMeg7oiTiI2FeEBuCQ+/Ra0NNuTST/QIt7qMN9ZOb0Vd+ jIWR/HQM1v34h5H6CFRyGKHO4qxjvnyXc6I8Gz/oZxTRFphcs2899hgFuNYngSF/8HYe cxliUZC3bROxVzIZrHSAHEcs0H3cLijKopGrR7xs/jOeqnY5SOGOEp5NUFmJpF2PHfE5 EDisxjHWgK5J+UHXQ2SgXs66KLHgqQLd7Bk6JcyvXsgIkuxARd25BTm67sb6Sc/wKe7T XoHNF2sWBXgGNTwTenOhRXk6Og+pUsIDgTfNjy2M/ByR/UGq4qhH0mV5qsirGex8FzqU OSaw== 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 y40si11538056pla.135.2017.11.27.05.08.27; Mon, 27 Nov 2017 05:08:46 -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 S1752639AbdK0NFm (ORCPT + 77 others); Mon, 27 Nov 2017 08:05:42 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:42736 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbdK0NFg (ORCPT ); Mon, 27 Nov 2017 08:05:36 -0500 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vARD5I8L042805 for ; Mon, 27 Nov 2017 08:05:36 -0500 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 2eghxc4k83-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 27 Nov 2017 08:05:35 -0500 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 27 Nov 2017 13:05:30 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (9.149.109.198) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 27 Nov 2017 13:05:26 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vARD5Q0t39321824; Mon, 27 Nov 2017 13:05:26 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E48CC11C04A; Mon, 27 Nov 2017 13:00:01 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AFBE611C050; Mon, 27 Nov 2017 13:00:01 +0000 (GMT) Received: from dyn-9-152-212-171.boeblingen.de.ibm.com (unknown [9.152.212.171]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Mon, 27 Nov 2017 13:00:01 +0000 (GMT) Date: Mon, 27 Nov 2017 14:05:25 +0100 (CET) From: Sebastian Ott X-X-Sender: sebott@schleppi To: Will Deacon cc: Peter Zijlstra , Ingo Molnar , Martin Schwidefsky , Heiko Carstens , linux-kernel@vger.kernel.org Subject: Re: [bisected] system hang after boot In-Reply-To: <20171127124506.GB30679@arm.com> References: <20171122182659.GA22648@arm.com> <20171122202217.GO3326@worktop> <20171127114947.GA30679@arm.com> <20171127124506.GB30679@arm.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) Organization: =?ISO-8859-15?Q?=22IBM_Deutschland_Research_&_Development_GmbH?= =?ISO-8859-15?Q?_=2F_Vorsitzende_des_Aufsichtsrats=3A_Martina?= =?ISO-8859-15?Q?_Koederitz_Gesch=E4ftsf=FChrung=3A_Dirk_Wittkopp?= =?ISO-8859-15?Q?_Sitz_der_Gesellschaft=3A_B=F6blingen_=2F_Reg?= =?ISO-8859-15?Q?istergericht=3A_Amtsgericht_Stuttgart=2C_HRB_2432?= =?ISO-8859-15?Q?94=22?= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-TM-AS-GCONF: 00 x-cbid: 17112713-0040-0000-0000-000003F2F790 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17112713-0041-0000-0000-000025F5D151 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-27_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711270182 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 27 Nov 2017, Will Deacon wrote: > Sebastian: could you try the diff below, please? If that fixes s390, then > we can debate the merits of GENERIC_LOCKBREAK independently of fixing this > issue. > > Thanks, > > Will > > --->8 > > diff --git a/kernel/locking/spinlock.c b/kernel/locking/spinlock.c > index 1fd1a7543cdd..0ebb253e2199 100644 > --- a/kernel/locking/spinlock.c > +++ b/kernel/locking/spinlock.c > @@ -68,8 +68,8 @@ void __lockfunc __raw_##op##_lock(locktype##_t *lock) \ > \ > if (!(lock)->break_lock) \ > (lock)->break_lock = 1; \ > - while ((lock)->break_lock) \ > - arch_##op##_relax(&lock->raw_lock); \ > + \ > + arch_##op##_relax(&lock->raw_lock); \ > } \ > (lock)->break_lock = 0; \ > } \ > @@ -88,8 +88,8 @@ unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \ > \ > if (!(lock)->break_lock) \ > (lock)->break_lock = 1; \ > - while ((lock)->break_lock) \ > - arch_##op##_relax(&lock->raw_lock); \ > + \ > + arch_##op##_relax(&lock->raw_lock); \ > } \ > (lock)->break_lock = 0; \ > return flags; \ I tested that on top of 4.15.0-rc1 and it worked! Sebastian From 1585224432702626977@xxx Mon Nov 27 13:03:47 +0000 2017 X-GM-THRID: 1584789385193417838 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread