From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87252C433F5 for ; Thu, 6 Oct 2022 15:24:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231622AbiJFPYH (ORCPT ); Thu, 6 Oct 2022 11:24:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231572AbiJFPYE (ORCPT ); Thu, 6 Oct 2022 11:24:04 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E15CB56EA for ; Thu, 6 Oct 2022 08:24:02 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id u24so1978946plq.12 for ; Thu, 06 Oct 2022 08:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=JBOIKDUVixWKZNhUdADJJBE2P5/4OiKvNbwBGIFtxk4=; b=o8fPLBde6yfpzUbok/9JvpWiEb2rfI+Wo7yWbvMrDKNePP0NZLp4uWEqOIZ6gXH4Db pLmZg3nSQ/WLphaATMVn97HqgT/qDKuEgKyJM8oPVRq1GIxpU9X7bCWoY1CC/PJRXu3O c2MA5QL0Sp1Zcr5SOd3jY2twLvh0UC5qvPvwrqGpaIecA3cCIliP1X6zG/W9GeIOSQij M5T+IdA9rPXGZ9juH7KmtPqDivh3lGWCDF1cywxnewrYBSbey3niaYG76b7YLzRWFKaI neBLw9X50E7b9ZDbhZMvPd1oyCPViMDrpvOj44JJYwxLOkdxVt233DfbdsT7nPASERb5 GUPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=JBOIKDUVixWKZNhUdADJJBE2P5/4OiKvNbwBGIFtxk4=; b=4EmDDN/Qx8W+CyiB3ip5ICWvmPa+bXez/FaMoes3gxEAJF+YS/MdnOcA8BD0kl9D9h c0LU25FCq2CraodZeLWP5Y4+sL3r6hejPR4Vopk4jtIpcM9k3zgNYsBMdEDfv6o+ctZX Plnh2vGEWAVSKlQ/7s4RE0yJaex7tHFRBWJdTv+h2zJBsGAeuooQb3H60WN834VgIkiJ urbQnscXg4s2v0kt2CMGKmAzOYRnE4t8YqbTl94uaf4d7qyxjLiqpj2JiMxWj4LTxNU4 j9ZD4wgPre9n8lSra4857dZoh0ZiAiGDqtxEUWJf0kPQr5ml/UUX0UUePQRFNkCHHvgu IkxA== X-Gm-Message-State: ACrzQf3TKYNQ3tKcxBr8azlnuv5uVw2IAunkFCJTJcRo7vUoFtnmWUIe dKtnml4HyTUYurVXanhfkceGIzi2Hk0Shw== X-Google-Smtp-Source: AMsMyM6MFHtoN5xTEoDaY7W8iu+aJLGQ5Wu5lUF7zz2/8KfNaAQtMBim5YUQyrdBuMHL5edejnQdOA== X-Received: by 2002:a17:903:11c7:b0:178:af17:e93e with SMTP id q7-20020a17090311c700b00178af17e93emr38212plh.78.1665069841227; Thu, 06 Oct 2022 08:24:01 -0700 (PDT) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id 127-20020a620685000000b00540f96b7936sm13049971pfg.30.2022.10.06.08.23.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Oct 2022 08:23:57 -0700 (PDT) Date: Thu, 6 Oct 2022 15:23:51 +0000 From: Sean Christopherson To: Eric Li Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] KVM: nVMX: Inject #GP, not #UD, if "generic" VMXON CR0/CR4 check fails Message-ID: References: <20221006001956.329314-1-seanjc@google.com> <783d89e3c98ee933ec789f1bffc6873ac3ac2e7a.camel@ucdavis.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <783d89e3c98ee933ec789f1bffc6873ac3ac2e7a.camel@ucdavis.edu> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 06, 2022, Eric Li wrote: > 在 2022-10-06星期四的 00:19 +0000,Sean Christopherson写道: > > Eric, any testing you can provide would be very welcome.  It took me > > an > > embarassingly long time to wrap my head around the SDM's pseucode.  I > > _think_ I got it right this time... > > I tested by applying the patch to Linux 5.19.14 tarball I downloaded > from kernel.org. The fix looks good on my end. Thanks! Was just doing the same. :-)