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=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED 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 8E6A2C4360F for ; Wed, 3 Apr 2019 00:53:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5835E2084B for ; Wed, 3 Apr 2019 00:53:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726130AbfDCAxz (ORCPT ); Tue, 2 Apr 2019 20:53:55 -0400 Received: from ozlabs.org ([203.11.71.1]:55547 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbfDCAxz (ORCPT ); Tue, 2 Apr 2019 20:53:55 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 44YndY1lHyz9sSP; Wed, 3 Apr 2019 11:53:53 +1100 (AEDT) From: Michael Ellerman To: Joakim Tjernlund , "stable\@vger.kernel.org" , "gregkh\@linuxfoundation.org" Cc: "linuxppc-dev\@ozlabs.org" , "diana.craciun\@nxp.com" , "msuchanek\@suse.de" Subject: Re: [PATCH stable v4.14 13/32] powerpc/fsl: Add barrier_nospec implementation for NXP PowerPC Book3E In-Reply-To: References: <20190329112620.14489-1-mpe@ellerman.id.au> <20190329112620.14489-14-mpe@ellerman.id.au> <763028d666042f5642104b42aaa416c2867baa31.camel@infinera.com> <87imvxorn7.fsf@concordia.ellerman.id.au> Date: Wed, 03 Apr 2019 11:53:52 +1100 Message-ID: <87zhp729jz.fsf@concordia.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Joakim Tjernlund writes: > On Tue, 2019-04-02 at 17:19 +1100, Michael Ellerman wrote: >> Joakim Tjernlund writes: ... >> >> > Can I compile it away? >> >> You can't actually, but you can disable it at runtime with >> "nospectre_v1" on the kernel command line. >> >> We could make it a user selectable compile time option if you really >> want it to be. > > I think yes. Considering that these patches are fairly untested and the impact > in the wild unknown. Requiring systems to change their boot config over night is > too fast. OK. Just to be clear, you're actually using 4.14 on an NXP board and would actually use this option? I don't want to add another option just for a theoretical use case. cheers