Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp348242imu; Thu, 20 Dec 2018 23:44:06 -0800 (PST) X-Google-Smtp-Source: ALg8bN6vtRxtCj3DT/ZcHJKH2wxtMfrmlMnGLi0JT3ueJpRivWRxc1ER45X/xB+Vrpzy/hXHuScN X-Received: by 2002:a63:8742:: with SMTP id i63mr1388010pge.298.1545378246020; Thu, 20 Dec 2018 23:44:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545378245; cv=none; d=google.com; s=arc-20160816; b=tuvLdRgvxSFDefYEEmD2AtawTk3cVraXkyfurAIW7kpCj2emwvxr/PwT8PHvX3MqfT wP8d4Aqr0FBVAMTohVsQnqkdL1S3A9SKTp9Ry5pCUNlujYUk0GaDr1MbqARukpag3WIH VIU7ZVZBEq+eFYcKU0Lk7R86CBVLLW0rZaYAV+2aJNX/rNtnLen5BnUkj1KtkhNx4WxV 2UXQO4AgRJy6KRX/B3GTIS5tirJgLuf8co8NG3qoo3XywIacOg+Dd8ipxDyl4YCHK+Aq I6c5Hmgmcq90pN4rXJ6ijj5zaI3sJBPekn/Oy/Dloyh9E+8DzXLXHdJc3yBQpTHbEc2+ esyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7qniUHiA8ebv1MEZ6mjCvvWs/1kmpUe0EF7t6JWDQf4=; b=z/8WrSh8zYvfxdmWY1dK6aKAGSJswKw9EtaLJNd8ME6d37D76PkW0kHB0mGFr4uCtJ 0/hBBqEKS9NGpBJ84NtWVUnqXGxq1VXZfWK6EEtF+Hy9CKJhKzVJkZPVqYKEzRKSuQKD L1DpmuZ+AHXuACBgq3ka8GlxpLPH002fh++baBn0SOMAammv4Rszb4UjPERbwvTR1hWf kDjXlGVn2xw1VHTLAN0jsmwYIE8Ned7GNw+qHJYzZF27xt/O4uRZEKxR5mwDcrpAqf0B nDzN47VmOLuIotKaBC4col3CZ4wQHSsido3B5OJGaGvanMblFMVPYaReQJBP3i/Lxsfl KH/g== 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 b26si20692631pgl.539.2018.12.20.23.43.49; Thu, 20 Dec 2018 23:44:05 -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 S1732181AbeLTXFP (ORCPT + 99 others); Thu, 20 Dec 2018 18:05:15 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:33459 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731184AbeLTXFP (ORCPT ); Thu, 20 Dec 2018 18:05:15 -0500 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1ga7NN-0004W3-Qj; Fri, 21 Dec 2018 00:05:09 +0100 Date: Fri, 21 Dec 2018 00:05:09 +0100 From: Sebastian Andrzej Siewior To: Sudip Mukherjee Cc: Greg Kroah-Hartman , linux-kernel , Stable , Will Deacon , Thomas Gleixner , "Peter Zijlstra (Intel)" , Linus Torvalds , andrea.parri@amarulasolutions.com, longman@redhat.com, Ingo Molnar , Sasha Levin Subject: Re: [PATCH 4.14 29/72] locking/qspinlock, x86: Provide liveness guarantee Message-ID: <20181220230509.2lwlz2w46iqac2px@linutronix.de> References: <20181220085922.332225035@linuxfoundation.org> <20181220085923.488666294@linuxfoundation.org> <20181220154030.GA9962@kroah.com> <20181220184941.ykfjubbo3nj2mnpm@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20181220184941.ykfjubbo3nj2mnpm@debian> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-12-20 18:49:41 [+0000], Sudip Mukherjee wrote: > On Thu, Dec 20, 2018 at 04:40:30PM +0100, Greg Kroah-Hartman wrote: > > On Thu, Dec 20, 2018 at 12:14:00PM +0000, Sudip Mukherjee wrote: > > > Hi Greg, > > > > > > On Thu, Dec 20, 2018 at 9:28 AM Greg Kroah-Hartman > > > wrote: > > > > > > > > 4.14-stable review patch. If anyone has any objections, please let me know. > > > > > > > > ------------------ > > > > > > > > commit 7aa54be2976550f17c11a1c3e3630002dea39303 upstream. > > > > > > Another upstream commit fixes this. > > > b987ffc18fb3 ("x86/qspinlock: Fix compile error") > > > > Maybe, but that commit doesn't apply to any of these stable trees :( > > > > Care to provide a backport? > > Attached now. Are you sure that it fails to compile without that patch? I have here Debian's gcc version 8.2.0 which probably isn't affected and I can compile kernel/locking/ in v4.19 + 4.14. I'm asking because in my backport the GEN_BINARY_RMWcc macro is used like in all the other functions which use it - unlike like in the original commit where the macro is used directly in the if condition. So it might not be affected by the problem. Therefore I would prefer not to try to patch something that isn't required. > -- > Regards > Sudip Sebastian