Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp682404rda; Sun, 22 Oct 2023 05:36:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFG8GCsrEPyLd/5wlXKWfhEZvMGeFjfZIE13lLdaqVEUlLu7j5U0DuwR0BtmAuZgmCuv7QO X-Received: by 2002:a17:90a:130c:b0:274:7db1:f50f with SMTP id h12-20020a17090a130c00b002747db1f50fmr8463942pja.15.1697978208146; Sun, 22 Oct 2023 05:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697978208; cv=none; d=google.com; s=arc-20160816; b=all5IyOBxIQgQnpmGVyEnobKm2DnjbX4SsoSEmJdAlRZtT1dMpVR21fGE4J0XPOJnT 6pAj9ojShLF7d7Ux5QbC0+9L7IM2CUTcPiipkFoOmvMfaDHxyhCl8eb1Gxlhh2UZBT5c ZFhkzr5WFQkBNbCM3sKa4Pq4qE2M/tC/xwhHo0I01ZxfoVKfh5IchM2vKG2x4Z/ZQMnB yd6wma7oP0oV0Kuvq2UiINlNRCNvm/Sj6SBAoboK8pYOlUepwbCI5peW1vZVGj0XbTFQ rO4/OOKCucLxzvNHnQm7ReStgiZBOtJRPIGSRU0horXNo5dTFvZS8Q3ObL9zGoEyGqN1 bj0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=LY2IwH7oWBysXmRWMbDAdx/nIecQKx7OpEhJLjZSYG0=; fh=YPJqOpqzI0q5Qkg0aelCcCp1iAh8rfswIXuPZGGvKV0=; b=hw490KnYSqBzX4IpbVILZJtUzHBmi+9F5hG+S4D7Nl1nX0xwyTvimBesoKysOSpSLa 3G5J+t0ROMvI8UmO44HjuOxIZSgMg7+2/9tYF6DqIY1oHUUhSbddNuZm0zXhrHD1XmFE EkxoUg+09Hg3bBuQigSBr8mS9hm9QNnopZZQve7pJ3b+Mr1TGI83veQyL325xzHqylHJ TZrGS1bFVohYHZuC0O7shAJC6me92JTfLwMWm+kZMAHobM1LB/Lb9/tLQJFuoWq3xhk1 XSDgfgCkJ4+bB1icNxq/aFp0h6J7RnXT5FdyAUI31ikNH8SSU/oSR2U9GGdMKN8iXf2h tWOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nByA4xc2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id lb15-20020a17090b4a4f00b002792c288cc2si5157641pjb.170.2023.10.22.05.36.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 05:36:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nByA4xc2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 8D36E807C5D3; Sun, 22 Oct 2023 05:36:45 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232046AbjJVMf5 (ORCPT + 99 others); Sun, 22 Oct 2023 08:35:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230440AbjJVMf4 (ORCPT ); Sun, 22 Oct 2023 08:35:56 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE0D2F7; Sun, 22 Oct 2023 05:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697978153; x=1729514153; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=Yi9S8qFYA7qeOGAPjOjM2PKgIEyoT8Vi+9i0QilN0HM=; b=nByA4xc2WiON1vldnvomTo3QScenkes/kbIuZ68U13O6RHzFiQJyCltw UGP/PeBD3KA7/8cXSi/2vZyHO0PvJt9XYu0k4CTEx3qvgzcx89kx7UvOv 7X5cVU2AzsTFdWfuOvksI5dwFHLF3UJgXzBbOKacpyBUzfFWkh2YrEmK9 AaCyrRiW3R76xjySo2ufl4mtqMW3hV0GPCdGSJvtjNh/W0VPQ4sbZSjjk Sr7DRYrwfBfTbOW/yE7hzLb0HVrpJeoYFWQ/OazyGTGXyDrLkNr1xJ+K6 XvDLhsCyTldErITI7OStdgYP9EjSjwy8aKDbA/dIJ87QEZDJwiSQN0isf g==; X-IronPort-AV: E=McAfee;i="6600,9927,10870"; a="450925576" X-IronPort-AV: E=Sophos;i="6.03,242,1694761200"; d="scan'208";a="450925576" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2023 05:35:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10870"; a="734396966" X-IronPort-AV: E=Sophos;i="6.03,242,1694761200"; d="scan'208";a="734396966" Received: from zfeng6-mobl1.ccr.corp.intel.com (HELO [10.93.25.116]) ([10.93.25.116]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Oct 2023 05:35:51 -0700 Message-ID: <8c6e8f32-f831-29f1-b749-d0873dad20eb@linux.intel.com> Date: Sun, 22 Oct 2023 20:35:48 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH v11 00/16] LAM and LASS KVM Enabling To: Sean Christopherson Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, pbonzini@redhat.com, chao.gao@intel.com, kai.huang@intel.com, David.Laight@aculab.com, robert.hu@linux.intel.com, guang.zeng@intel.com References: <20230913124227.12574-1-binbin.wu@linux.intel.com> From: Binbin Wu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sun, 22 Oct 2023 05:36:45 -0700 (PDT) On 10/21/2023 8:34 AM, Sean Christopherson wrote: > On Fri, Oct 20, 2023, Sean Christopherson wrote: >> On Wed, Sep 13, 2023, Binbin Wu wrote: >>> Binbin Wu (10): >>> KVM: x86: Consolidate flags for __linearize() >>> KVM: x86: Use a new flag for branch targets >>> KVM: x86: Add an emulation flag for implicit system access >>> KVM: x86: Add X86EMUL_F_INVLPG and pass it in em_invlpg() >>> KVM: x86/mmu: Drop non-PA bits when getting GFN for guest's PGD >>> KVM: x86: Add & use kvm_vcpu_is_legal_cr3() to check CR3's legality >>> KVM: x86: Remove kvm_vcpu_is_illegal_gpa() >>> KVM: x86: Introduce get_untagged_addr() in kvm_x86_ops and call it in >>> emulator >>> KVM: x86: Untag address for vmexit handlers when LAM applicable >>> KVM: x86: Use KVM-governed feature framework to track "LAM enabled" >>> >>> Robert Hoo (3): >>> KVM: x86: Virtualize LAM for supervisor pointer >>> KVM: x86: Virtualize LAM for user pointer >>> KVM: x86: Advertise and enable LAM (user and supervisor) >>> >>> Zeng Guang (3): >>> KVM: emulator: Add emulation of LASS violation checks on linear >>> address >>> KVM: VMX: Virtualize LASS >>> KVM: x86: Advertise LASS CPUID to user space >> This all looks good! I have a few minor nits, but nothing I can't tweak when >> applying. Assuming nothing explodes in testing, I'll get this applied for 6.8 >> next week. Thanks very much! > Gah, by "this" I meant the LAM parts. LASS is going to have to wait until the > kernel support lands.