From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.kernel.org ([198.145.29.99]:41496 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728761AbeKLCRm (ORCPT ); Sun, 11 Nov 2018 21:17:42 -0500 Date: Sun, 11 Nov 2018 08:28:43 -0800 From: Greg KH To: ndesaulniers@google.com Cc: natechancellor@gmail.com, mka@chromium.org, stable@vger.kernel.org, trong@android.com, Catalin Marinas Subject: Re: [PATCH] arm64: lse: remove -fcall-used-x0 flag Message-ID: <20181111162843.GA8564@kroah.com> References: <20181029171026.236752-1-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181029171026.236752-1-ndesaulniers@google.com> Sender: stable-owner@vger.kernel.org List-ID: On Mon, Oct 29, 2018 at 10:10:26AM -0700, ndesaulniers@google.com wrote: > From: Tri Vo > > commit 2a6c7c367de82951c98a290a21156770f6f82c84 upstream > > x0 is not callee-saved in the PCS. So there is no need to specify > -fcall-used-x0. > > Clang doesn't currently support -fcall-used flags. This patch will help > building the kernel with clang. > > Tested-by: Nick Desaulniers > Acked-by: Will Deacon > Signed-off-by: Tri Vo > Signed-off-by: Catalin Marinas > Signed-off-by: Nick Desaulniers > --- > Sending to stable for inclusion in 4.14. Needed for > CONFIG_ARM64_LSE_ATOMICS. Now queued up, and also added to 4.18.y and 4.19.y and 4.9.y thanks, greg k-h