From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A26DCC04AA7 for ; Wed, 15 May 2019 05:18:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6F97720881 for ; Wed, 15 May 2019 05:18:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557897515; bh=r8mPtehsJJWWWKTFtaDkiAyjHz2G/dad5Gh3ld9AS+Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=zVlwTTQhqiWLneYWDk5hgOVcfM8yJvVNfENi9o6Sso6crKAFsjixyiKCo4YlN0YsY zbzoZ4bYiZIwOMP8tWny5oUrZNjwIqBGVQY50T0iY2hLCkkwPqU6T2nszwloo2WfPt /c2H3RmjaVHkgKriKBeCg194DQi7nFn13cOr6VME= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725871AbfEOFSe (ORCPT ); Wed, 15 May 2019 01:18:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:45384 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725781AbfEOFSe (ORCPT ); Wed, 15 May 2019 01:18:34 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 34DCE2084E; Wed, 15 May 2019 05:18:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557897514; bh=r8mPtehsJJWWWKTFtaDkiAyjHz2G/dad5Gh3ld9AS+Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JsOUXGgu2HtJPvwKm2McD8jqARO2uzseZN4bwGYeAFYiry/Hmt518DzHkhe35dpmI LrFTlzLy9PhK2LzprfytE+8TYvsnm+e/5ym0R9n/K49Fzp23PegM7eJWj9uKjIQS7G XWGnvzHEk3wYzC8q+bMM20vaaZJc/rn8lK2S46NE= Date: Wed, 15 May 2019 07:18:30 +0200 From: Greg Kroah-Hartman To: Joel Stanley Cc: Josh Poimboeuf , Michael Ellerman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc/security: Fix build break Message-ID: <20190515051830.GA18166@kroah.com> References: <20190515045206.10610-1-joel@jms.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190515045206.10610-1-joel@jms.id.au> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Wed, May 15, 2019 at 02:22:06PM +0930, Joel Stanley wrote: > This fixes a build break introduced in with the recent round of CPU > bug patches. > > arch/powerpc/kernel/security.c: In function ‘setup_barrier_nospec’: > arch/powerpc/kernel/security.c:59:21: error: implicit declaration of > function ‘cpu_mitigations_off’ [-Werror=implicit-function-declaration] > if (!no_nospec && !cpu_mitigations_off()) > ^~~~~~~~~~~~~~~~~~~ > > Fixes: 782e69efb3df ("powerpc/speculation: Support 'mitigations=' cmdline option") > Signed-off-by: Joel Stanley > --- > This should be applied to the 4.14 and 4.19 trees. There is no issue > with 5.1. The commit message contains a fixes line for the commit in > Linus tree. > --- > arch/powerpc/kernel/security.c | 1 + > 1 file changed, 1 insertion(+) Isn't this just commit 42e2acde1237 ("powerpc/64s: Include cpu header")? thanks, greg k-h