Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp775472pxb; Thu, 5 Nov 2020 12:40:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJznu1qIWkxtZXVrlb1lKseOqaRpmN2DJxw8dax/O+t12qJpOGD9moN6dxJrzudrEljcWc3c X-Received: by 2002:a17:906:b150:: with SMTP id bt16mr4279926ejb.257.1604608857862; Thu, 05 Nov 2020 12:40:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604608857; cv=none; d=google.com; s=arc-20160816; b=MvctVjMJLL6rCmMxK7c1gGT2gvgUU9dKuZ4YIkaatcjzATM9OB+HNro1UBr/Xz28uK OgJzTCu0PQtxgz3nBYwwrZOv1EbP0nN8RpB7kYYXyQN4YDqrinCPvuhAN4AGOlj0x1VT W7n6PQRhBW4F+6eIz+GZBcseoktMFfwL8I8IvSDEjknFCTgzfbU1S9RX+RrZKFXWrYYJ aBPvvgdq3m1UjNx1lRyL91btSJUoMwUYvNxZk5tIKRrlZqCKJPv0O1CzHjnVFfggzNCi xBDl7Lu60iHg02uBjQOkU2OfW0KTg3p7RM5TrpXzaRWi5u3zyTwX5sY2Ctgvx10Tbzki oGqQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=E43a+/LGReUezKBi34puQlxiCAI6gtWFiueLxvGy7Lc=; b=lMQ6VtHHcgFcNvPjN8kIPIwd23m4DLlvpVANFe7/aYIikjkIMmp2UPGp05HxD0xv2r 6T8IrPulwGE6F+ACE3oq+ZTSx9VG5wdRFpVqh0mTd2bCSHb5izIAuOSLeEkWH1qhWs9r mxYthBOShKJOgB/94Kh7hNi2umT9fTOHqzeG1YxX2qsFqyLFgELKA0FSPvZs1ToKvpgU 1y9CuEEeY+8xrRI2zG/x6AcH8yEpXP1QhObPpl39LaN/ssVGlI6Zd2Sl22bCqp0/vErH Rcid+aB2r96iscTSLzoYiCeB7N8geLNIB8DLW36bXNn4UbJxdXmqyh14RdC88qQW9s4Q 9VSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ZmBWOk2F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v9si2007555ede.143.2020.11.05.12.40.34; Thu, 05 Nov 2020 12:40:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=ZmBWOk2F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731234AbgKEUhA (ORCPT + 99 others); Thu, 5 Nov 2020 15:37:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726729AbgKEUhA (ORCPT ); Thu, 5 Nov 2020 15:37:00 -0500 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C909C0613CF for ; Thu, 5 Nov 2020 12:37:00 -0800 (PST) Received: from zn.tnic (p200300ec2f0ee500bbd1d94fdeb76199.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:e500:bbd1:d94f:deb7:6199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 21C531EC03EA; Thu, 5 Nov 2020 21:36:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1604608618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=E43a+/LGReUezKBi34puQlxiCAI6gtWFiueLxvGy7Lc=; b=ZmBWOk2Fg/V1QXWK/FGtc2hw0aDVqBD57RboVSWy2gI1RRlv2lVsPOlEN3cwGLHf55BliC lWinsX88j9CJn17bfviWKaIkhlI+F7yTanVNY+ORb4lKvFkKx8rfz9hUXdq4/TjkXJF84x p+GolHfAkn73jwBP87Zu/MKSH/eMOYc= Date: Thu, 5 Nov 2020 21:36:45 +0100 From: Borislav Petkov To: Tom Lendacky Cc: Anand K Mistry , x86@kernel.org, asteinhauser@google.com, tglx@linutronix.de, joelaf@google.com, "H. Peter Anvin" , Ingo Molnar , Josh Poimboeuf , Mark Gross , Mike Rapoport , Pawan Gupta , Tony Luck , Waiman Long , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP Message-ID: <20201105203645.GL25636@zn.tnic> References: <20201105163246.v2.1.Ifd7243cd3e2c2206a893ad0a5b9a4f19549e22c6@changeid> <23d2bdb5-ebe6-b943-5c07-6e3087710651@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <23d2bdb5-ebe6-b943-5c07-6e3087710651@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 05, 2020 at 02:32:10PM -0600, Tom Lendacky wrote: > Does it need a Fixes: tag? Yah, this one: Fixes: 21998a351512 ("x86/speculation: Avoid force-disabling IBPB based on STIBP and enhanced IBRS.") because it set mode to SPECTRE_V2_USER_STRICT_PREFERRED, leading to the inability to set the TIF_SPEC_IB bit later. > > Acked-by: Tom Lendacky Added, thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette