Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp751930imw; Thu, 14 Jul 2022 10:07:17 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vlbbuEjIB+aym3CDCjmDLyYTprIaCcL/d9vtiLl1McfXHtGzlz57sQoFmhqcWBiRo0pStz X-Received: by 2002:a17:907:1b03:b0:6ff:78d4:c140 with SMTP id mp3-20020a1709071b0300b006ff78d4c140mr9973293ejc.554.1657818437184; Thu, 14 Jul 2022 10:07:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657818437; cv=none; d=google.com; s=arc-20160816; b=omHxW86UJoVunwnXKgWUynxORIJdkxfm3u11/cLb6F7K/UxehHMdZsduBibbAp0avU lyLWP9gprEKJRY/MSKhVK/r9qtfOp+nIJS+u7KVpUYiCB0HNADNAF97vf3r+K4EGlWXt SBPln0oDm0+tDwxWxZ3O6IdQ99veFehBdYn+f5lniG0LWmOkK24I/liCcUrNYCkZPh41 e1CbkPmWWZGuqNRHk810K32JpfMpYJv/tn+55nZUiKGXryySruRHlrAv/qRlZjIOmyYe NCzllxGU1lQLK4gEXn+2vCHkYb0EybU+qQzKJvlmG/3JT7uGqkuzk8G9XCuh9p/iDLU0 HaVA== 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=oRwEr6A1IVEPWhQvPx2mv6RXTE8efFlDv1Ac9Jh+3F0=; b=GWn2+dqfj4CC5gXA0WONOPGEHgm08IZlF1L1xGv5FRa0YPIJVoe7EcsCVM1qlg4Yki DHdzzVhkKBZJ9CVbf+1wXP/ckeInfNdxnN0+ScP023LTiuUe+kK8eOxQPGVLh00ki+jj vz6tf7XbfSA/KQj36wiTPUBhtCPY3LUkvFDGzCi4LI+5PmBevbbq/6za2OwvtqGd8M1J s5WWglfw7wdnognNHx3hf3G9XmBg/9qB/LxccXxjgjR4NFFpg6P++MCQx1qdBYrymc7y GCo+6ec47QdFeuskiRxxK6hScoJ97XdcT18PRFBwIJmG1vpqwsaYi3HZOfEWDzJWIRw+ /HVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=W8cAbI9P; 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 p2-20020a056402500200b0043572af468asi1785919eda.522.2022.07.14.10.06.52; Thu, 14 Jul 2022 10:07:17 -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=desiato.20200630 header.b=W8cAbI9P; 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 S240144AbiGNRDy (ORCPT + 99 others); Thu, 14 Jul 2022 13:03:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240133AbiGNRDv (ORCPT ); Thu, 14 Jul 2022 13:03:51 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66BE2101D6; Thu, 14 Jul 2022 10:03:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=oRwEr6A1IVEPWhQvPx2mv6RXTE8efFlDv1Ac9Jh+3F0=; b=W8cAbI9PJJ2ZuOKisQBeoqGNwX S49wbRFE4KYRcnaaELLQA+KryloAn8zV5zk+qE7uRMb7hM9vXr3PVXcRuwviUc5UWZzjY6OzAkWU2 ujKZZsakaWz3GQFF0k5R7h9ORar+A/QBhuQHlPXAWQ+q2mqI5/cEK8mecOpcmj2R7v/7DGyNxosGB t1DXcjK1UPWyBJR4R2wVmyEVGrx9KLXnFww+d51IdyvO/rSTlMW4Ra/vuRmvRm1r2Tr1/AU0fXrqd R5sUiIts3pMitsoBB/u68f/6BZenuUeu9dPb7J1VC1ko+igtM+mKWbsipGB/D7kn4VAB2KYsSRWxD 5mJ5V/5g==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=worktop.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1oC2FS-003t8G-Jo; Thu, 14 Jul 2022 17:03:35 +0000 Received: by worktop.programming.kicks-ass.net (Postfix, from userid 1000) id 4E297980185; Thu, 14 Jul 2022 19:03:32 +0200 (CEST) Date: Thu, 14 Jul 2022 19:03:32 +0200 From: Peter Zijlstra To: Josh Poimboeuf Cc: Thadeu Lima de Souza Cascardo , Pawan Gupta , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Daniel Sneddon , antonio.gomez.iglesias@linux.intel.com Subject: Re: [PATCH] x86/bugs: Switch to "auto" when "ibrs" selected on Enhanced IBRS parts Message-ID: References: <0456b35fb9ef957d9a9138e0913fb1a3fd445dff.1657747493.git.pawan.kumar.gupta@linux.intel.com> <20220714160106.c6efowo6ptsu72ne@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220714160106.c6efowo6ptsu72ne@treble> 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 Thu, Jul 14, 2022 at 09:01:06AM -0700, Josh Poimboeuf wrote: > > Yeah this; if the user asks for IBRS, we should give him IBRS. I hate > > the 'I know better, let me change that for you' mentality. > > eIBRS CPUs don't even have legacy IBRS so I don't see how this is even > possible. You can still WRMSR a lot on them. Might not make sense but it 'works'.