Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp239156lqg; Thu, 11 Apr 2024 00:52:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV4dHlcZd+J9mtVM5Mhru/DG74pUTNeQrqor1ObFCdfgW6GEuu0dy/ueaxfwlh75Q5YNZS9z57Ws+hHagtcXMDR6D//FV1x0XJrOMg9jw== X-Google-Smtp-Source: AGHT+IG3nRz7jkCyvGhcuXT8iB0I3jBcuw3oRQ4l+8iM8V2K0FAqG+l0Kq2n6uHHw0Na/JtUo1lo X-Received: by 2002:a50:9995:0:b0:56b:dce0:c795 with SMTP id m21-20020a509995000000b0056bdce0c795mr2986116edb.4.1712821934512; Thu, 11 Apr 2024 00:52:14 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712821934; cv=pass; d=google.com; s=arc-20160816; b=SICfGj3iSRykORXZz1FGLnNCPWc61s3VBr+L2TyH0D8KUa3XF2ITfe8f8JabP69Wwm tbmqLSFKTaNjiMoXix0VHtnudzQM1tl1cfpSJ443POJSVTO71GNGJaiQfZWamnStlJ2G Mmmw7UXajsB6U5Wyz14nzHI9emt7z+34u4xsI2D2EHW+Z/jBnLHD44IN/9DyZ7ageaa4 Wt8YkNrev12alLkZ93yx+uhAjmFy49PBaRnDMcr5Y8gvElBbw4/2MMA7Zka3pxdYKaG0 ahzmVoxeZmwRHMsXmHFLDE0A5PB30Ib29YqY1FCcTAnL3Cr5pgbjXFcV9vj1DKf+NYa2 h2OQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=alWNcVsldihHXEye8fKWA5gybXDMW8hobkAxJ09RrfY=; fh=Ti61HTCOBLQYmy3EvwHUSrMf2N4gWNIe2Qc5wBTlm+M=; b=aKiPz+VF83gV6S6q+ZHQGoAaZ60Z+BC1tH3UonXCPNxSRQ6JVqGdkr7NDQ3oCQzzoO UMjn6lHJj+LBsunxUBuTeIHyuw378pUbK2ZNAslbUphQnBk0cn3wSECAGzpxAROZiEAm zv7ZGt0THnYwaiGkz63iwH95bs0NMdE3nZZl5uvBQMrFdB1ekMzEwpdpNs1hBt7haRvJ rHs63N/ivV0DhfLlKl4MX8qu5bKBpEc825X1obIoLQ2cO+NwUaOT3T/X9xuqfF33+4yx YU3gmcv8uXAGBH6IencS0ffSC9uzwAHxmvTPRrxmVJK/G9iEE4BCEh+sDXFrTzbWQ0HU +L5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="thj8jsF/"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-140028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id z17-20020a056402275100b0056e71418614si501356edd.505.2024.04.11.00.52.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 00:52:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-140028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="thj8jsF/"; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-140028-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-140028-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D24D41F24E02 for ; Thu, 11 Apr 2024 07:52:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2D8D113F455; Thu, 11 Apr 2024 07:51:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="thj8jsF/" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A39413E8B2; Thu, 11 Apr 2024 07:51:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712821901; cv=none; b=tmRIbciQAhPhtOoXZa1eEMW6Hh7bHfP++2LcV5vO73duTMqdmEm02mtZ7dbkcRwGrRLIb1PtZPSSt5FVZ8i88rt5N8pGYcyaiX2Mj6lytq+G/Tagt4cRgAGRAKFw3Jj3z5r2zB3qXoSy0gCrBnnYvOQ9VBsvvLgpeQcp3dCf2Qc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712821901; c=relaxed/simple; bh=yQ977sHokSopeKlSz6gwlpuep+m/Dh6CkBKLL1R+3Lg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ZDJb1XEVLivXpZeCR16PMhuNb7Z55kPvVCVyPq6f2EIZ6OQsr78dtJUioUCzizmTy1ZwWISWXMec6d2fXoG84bSACpWiItMCZzRzyehbCFo8Y1ZunCGPe02B4baMgKQXVqXgmcHX9lWFrgnkv4umFrMtyhIWUEFWoIZiJ3PlnUo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=thj8jsF/; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 378C6C433F1; Thu, 11 Apr 2024 07:51:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712821900; bh=yQ977sHokSopeKlSz6gwlpuep+m/Dh6CkBKLL1R+3Lg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=thj8jsF/Gm1dQFbLyczjAEu1tdUJhyP74hNYUELLn2IE7ZLW5muKR/VLeluspG5QR x9QAvALL3EIhw8m+gYW0YfhkQzGT7R8Pxib+jBhhlMIkCgodADsHsdSlfhMZzus8J/ 7TAT1PTxMYLUxWHFm/qhV0ZNNfEhrOVKPq2FYZ6E= Date: Thu, 11 Apr 2024 09:51:38 +0200 From: Greg KH To: Alexandre Chartre Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, daniel.sneddon@linux.intel.com, pawan.kumar.gupta@linux.intel.com, tglx@linutronix.de, konrad.wilk@oracle.com, peterz@infradead.org, seanjc@google.com, andrew.cooper3@citrix.com, dave.hansen@linux.intel.com, nik.borisov@suse.com, kpsingh@kernel.org, longman@redhat.com, bp@alien8.de, pbonzini@redhat.com Subject: Re: [PATCH] KVM: x86: Set BHI_NO in guest when host is not affected by BHI Message-ID: <2024041127-revival-nifty-8396@gregkh> References: <20240411072445.522731-1-alexandre.chartre@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240411072445.522731-1-alexandre.chartre@oracle.com> On Thu, Apr 11, 2024 at 09:24:45AM +0200, Alexandre Chartre wrote: > When a system is not affected by the BHI bug then KVM should > configure guests with BHI_NO to ensure they won't enable any > BHI mitigation. > > Signed-off-by: Alexandre Chartre No Fixes: tag here? thanks, greg k-h