Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1361024rwb; Fri, 19 Aug 2022 02:12:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR4OjmLIoSjqtqdy+iHRifOKj7S6aSlFqWwVEkepfWvANRrKO6OArWktamvA3gPD5fEG2o1t X-Received: by 2002:a05:6a00:2446:b0:528:5da9:cc7 with SMTP id d6-20020a056a00244600b005285da90cc7mr7000966pfj.51.1660900323789; Fri, 19 Aug 2022 02:12:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660900323; cv=none; d=google.com; s=arc-20160816; b=zJxwL9FV83D86p6WyjZ2KLR0VotrCZWmGG1vUUefdIj6FusygBglshAVeA9Hddl04r gOFKdQGzefz5aKQv7lIojSzlyT75CwFfOVrx1uVyXfsGK0ksYVgc0G5p2T/Ldh/m0bZF vSBjk1FBExE0Qy9WzIStjCFdZVOL+fvCWTL+GNx1yCNjmSOROQ4JEbaJkjO+0fOdkGLB 0lY9s1wFCPSRkdu8US1xtZcJI5BpCHep5trIMD0PdKcCTRTMoV/3G164ObqwyeqptTcw C59tDDh7hNuqLX9Rz5j3TjH0ZfGeNn+1Vd0FlAzhOPBRvzhaLBZP7VV1Z6yXfYT4oek8 3/mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=2CIlI/i5kD70ZhhKElCJYvXGuqpWEWdE1++gdn9VbW0=; b=vT8BQOv+DF2LVGt0wDtNIAf9RXXd0bRGy0sYwsyfphr8yJEBsuhb9ShODDXEKti3jN b1zwZA6aoArbkGNhbkAAlUwq3qVHVK+5gBfAoej+snExkhRKElZMmvQUg+7GFWnDE9ol blb6mksb9QPxi5WbJ2vDTs4arb26oFuwDKPJH1ijAUdHpJP5SXRExHAwgnWwOtXkpmno KOQLZYcDj3XnuCVBveen6k+tDnefPFGcludOwCUKXNfFU6cgfCMZR2O1EZIk+lS+o11W D0s3OQFna843AAb+ReCd3dov4+lpuvT7pwAZ7UdQh0hgtTiTTlGznRY1AGbV1NVk8Yni iiVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=tfhbFzGR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m13-20020a170902e40d00b0017297dce1d0si126276ple.369.2022.08.19.02.11.52; Fri, 19 Aug 2022 02:12:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=tfhbFzGR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347780AbiHSIru (ORCPT + 99 others); Fri, 19 Aug 2022 04:47:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347777AbiHSIro (ORCPT ); Fri, 19 Aug 2022 04:47:44 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67470C742B; Fri, 19 Aug 2022 01:47:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=2CIlI/i5kD70ZhhKElCJYvXGuqpWEWdE1++gdn9VbW0=; b=tfhbFzGRx9RcV9+M5J1fzQqkBz Bu+oCUN2G873DxjDAtlBbJ/u0kMkATMtBmaC3aslVEP74JiTKwsNU2lIiIcfNvBlH9o2xtwuhhqcQ Ro9H4Msh/gddudHnpwUKVSdChFHY2g8DPiOLGMpAit1FECqs1f3VTQthLKRoy9Ac9z7of2WRtpVEu Z04eA5ph88ab+DbumJqaLA0t8cvoRUPKXZNViPCcWhlFSKlvfGPR0mHx6SGxRAgXMyN+kjH3UDvvC En0jKbNh5sMbIDewsLITXO4P4fmWLftzhR5vDnW7qkC0ewMSkLvCPZeZ7XqkAf3oIj0v2gpLogMYw xcUeeaJA==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=worktop.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oOxf0-00Avoi-TY; Fri, 19 Aug 2022 08:47:23 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id E157C980120; Fri, 19 Aug 2022 10:47:21 +0200 (CEST) Date: Fri, 19 Aug 2022 10:47:21 +0200 From: Peter Zijlstra To: Ben Hutchings Cc: x86@kernel.org, linux-kernel@vger.kernel.org, 1017425@bugs.debian.org, =?iso-8859-1?Q?Martin-=C9ric?= Racine , stable@vger.kernel.org, regressions@lists.linux.dev, Daniel Sneddon , Pawan Gupta Subject: Re: [PATCH] x86/speculation: Avoid LFENCE in FILL_RETURN_BUFFER on CPUs that lack it Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 19, 2022 at 02:33:08AM +0200, Ben Hutchings wrote: > From: Ben Hutchings >=20 > The mitigation for PBRSB includes adding LFENCE instructions to the > RSB filling sequence. However, RSB filling is done on some older CPUs > that don't support the LFENCE instruction. >=20 Wait; what? There are chips that enable the RSB mitigations and DONT have LFENCE ?!?