From patchwork Tue Nov 28 18:42:17 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 119898 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp2072810qgn; Tue, 28 Nov 2017 10:42:34 -0800 (PST) X-Google-Smtp-Source: AGs4zMa/XgpFNc8j+dlWI+L3STcmlSmi0Da0ug4L4qOIru42GcvRbI10/x2xeconAGRRcl8atBJO X-Received: by 10.99.123.90 with SMTP id k26mr92212pgn.33.1511894554249; Tue, 28 Nov 2017 10:42:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511894554; cv=none; d=google.com; s=arc-20160816; b=U/NTEZkTONomCnUwlOd/Oe7XLLiAXp8dWtzvEYMEVM9n5VVicF4Sk2HHmoT5N6pJm1 tVEj0p7NnOTyj7ATotaxdndVxIZmhpIy5mWhV3aJn2R+5vf7OWmrTjlmV7T05rOMi4Qu 1XVQaNbNl4TZsuFX0s2z44UqNsyKEVI8nd/wCXjwMdYRsLKMhYs/4j5K7gF+KBWZC5Qz JtmPefyn8MrIY9L7YHsp3oW1KuKLYBD6CgC1tA1GpU/b8ePM7ZTQYzqKibAkaIm+68H5 YcnYDNyo6pZt2uF636yG7IQP8C3bRG4YxxOubKfuI5wYRs/efb0x5+qOsaURV6wGRoZq XWFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=qHNfbHqVxDoYT8MDYNz0UoVqBcIFikUHbQLU/g1Y44o=; b=AAb12VfitZy7+XLt/YuxoXmUX5FMQMUbyjeuYl1bE1iSasgusXzzSKLtnrfnUhbEBo Nb8wet8AYh1T8epz6ITFWzuhsnkUl8EGnEidBwIqaTkBtMt6m0RSv7auOIGoO/HpOO7y DMas1RTQQ6Gdb4Kn3h80FxixVjSnDfjSvVvB76VSVRHUcjqGxWMfyAEjMVxfi405xGf6 UY110EUH8NIuBSNpZUjNlQnf+5OKuYdSELsVQzWvLLpil3PMjSbNzxd4VmuJmMpYSmSs B4JH/yjolxLxOBikp6s+ptsBGTCfV1f1Vab+2gBSefZOvsog+T7u3EJVzqqJ8CAhO6tO TmNQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o12si20651362plg.494.2017.11.28.10.42.33; Tue, 28 Nov 2017 10:42:34 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753977AbdK1SmT (ORCPT + 28 others); Tue, 28 Nov 2017 13:42:19 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:58304 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751945AbdK1SmS (ORCPT ); Tue, 28 Nov 2017 13:42:18 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C60351435; Tue, 28 Nov 2017 10:42:17 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 970193F318; Tue, 28 Nov 2017 10:42:17 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 1B5471AE50A2; Tue, 28 Nov 2017 18:42:20 +0000 (GMT) From: Will Deacon To: linux-kernel@vger.kernel.org Cc: sebott@linux.vnet.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com, peterz@infradead.org, mingo@kernel.org, Will Deacon Subject: [PATCH 0/2] Fix boot regression for s390 and remove break_lock Date: Tue, 28 Nov 2017 18:42:17 +0000 Message-Id: <1511894539-7988-1-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, The following two patches do the following: 1. Fix boot breakage reported on s390 caused by a8a217c22116 2. Kill off the break_lock field entirely, since it's not actually that useful I didn't go the whole hog and remove CONFIG_GENERIC_LOCKBREAK, since the "do something different with locks in preemptible kernels" isn't necessarily a bad idea, and PowerPC actually implements things like arch_spin_relax for that. The first patch should go in to 4.15. Thanks, Will --->8 Will Deacon (2): locking/core: Fix deadlock during boot on systems with GENERIC_LOCKBREAK locking/core: Remove break_lock field when CONFIG_GENERIC_LOCKBREAK=y include/linux/rwlock_types.h | 3 --- include/linux/spinlock.h | 5 ----- include/linux/spinlock_types.h | 3 --- kernel/locking/spinlock.c | 13 +++---------- 4 files changed, 3 insertions(+), 21 deletions(-) -- 2.1.4