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 ADBBFC25B67 for ; Mon, 23 Oct 2023 23:46:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231609AbjJWXqe (ORCPT ); Mon, 23 Oct 2023 19:46:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231681AbjJWXqc (ORCPT ); Mon, 23 Oct 2023 19:46:32 -0400 Received: from mail-pl1-x649.google.com (mail-pl1-x649.google.com [IPv6:2607:f8b0:4864:20::649]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8335A10A for ; Mon, 23 Oct 2023 16:46:28 -0700 (PDT) Received: by mail-pl1-x649.google.com with SMTP id d9443c01a7336-1c9e1b431d0so25969705ad.3 for ; Mon, 23 Oct 2023 16:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698104788; x=1698709588; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=2DRTta2TjFX3FWgIj07+aRef6sC8s7S30TJagNFrajY=; b=Q9+/xTv1H0O6IkMgD5WoMmx9kl6zYCOqnuHu5eiX3c28xv89a9VCxBPY1vEuF4tZvb MW5ZCeOSEFNo3DO5mxDSfEGB4OB5f7tunNwOqJb/UsJQJ6sfR/bdUFAqZWxAGLoBiFc2 nXxQ7vsKJRMipcac6AWDyFW72Hlud7JWo4PmWUXJqtm6KG/1vvoqlEWbo54lsBJA3R7W PmgD/2ksLrtK3QC920s7YVlc9TzF0bF4hRp04Z1w7wpEHuui7MiiWUWP6AP3J3SVhLAL dIb2PAp39d0cYG6Sz/yfu+cSrvaAbTxrC9dNZCBJelfBd9DkzytkfOqM1xoRcHEaeZZh HLog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698104788; x=1698709588; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2DRTta2TjFX3FWgIj07+aRef6sC8s7S30TJagNFrajY=; b=u8wRyZgOO0J8KNi96nTxjb3tgGKc24ZerqXeNL/aQubEvjD6lwHS/q/Zaal7a5yP4e UC7vYOuLpgiKS12tgp61jPPG+damWFJ2uTrk9DqDy6t8UPO9/glkp8SAArWAToHgldVr 4nZK6IZCW9+dkTf0La83AOpA6BSEn2+v8ecWumO4vTO3eV/F7SIokL5eUamgtc2oiJz7 Jp4wTWq9Zu7Dn9Eqlp6PpHZ8YrPriFiMK6njCyxP0jNmB+0/wCqnR183xHxfSzbcHfZN 4gE8RVf0P0ThqMflkRUrNzNOk7cd4cUaySJX3AvGtLUL5Wl8igto/LWmUUw73uRevUno /WnQ== X-Gm-Message-State: AOJu0YxXIfFnF6rTgPHDZHydVOQebqq9dQnpod1yfxL0jjtMPe2nVpDR cn8CjsJ0f2gRhN2P4vVZVffF+vLYACM= X-Google-Smtp-Source: AGHT+IH0FqeYHDo7LQTtCwPn4EPd8cZOz3rQPZu7Oxo0Y0ebrlgG7M9bpedWQhyT/9zOEX8RSOtOhgN3CHY= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:902:64c2:b0:1ca:874c:e031 with SMTP id y2-20020a17090264c200b001ca874ce031mr170131pli.6.1698104787957; Mon, 23 Oct 2023 16:46:27 -0700 (PDT) Date: Mon, 23 Oct 2023 16:43:30 -0700 In-Reply-To: <20230913124227.12574-1-binbin.wu@linux.intel.com> Mime-Version: 1.0 References: <20230913124227.12574-1-binbin.wu@linux.intel.com> X-Mailer: git-send-email 2.42.0.758.gaed0368e0e-goog Message-ID: <169810442917.2499338.3440694989716170017.b4-ty@google.com> Subject: Re: [PATCH v11 00/16] LAM and LASS KVM Enabling From: Sean Christopherson To: Sean Christopherson , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Binbin Wu Cc: pbonzini@redhat.com, chao.gao@intel.com, kai.huang@intel.com, David.Laight@ACULAB.COM, robert.hu@linux.intel.com, guang.zeng@intel.com Content-Type: text/plain; charset="utf-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Sep 2023 20:42:11 +0800, Binbin Wu wrote: > This patch series includes KVM enabling patches for Linear-address masking > (LAM) v11 and Linear Address Space Separation (LASS) v3 since the two features > have overlapping prep work and concepts. Sent as a single series to reduce the > probability of conflicts. > > The patch series is organized as follows: > - Patch 1-4: Common prep work for both LAM and LASS. > - Patch 5-13: LAM part. > - Patch 14-16: LASS part. > > [...] Applied to kvm-x86 lam (for 6.8)! I skipped the LASS patches, including patch 2 (the branch targets patch). I kept the IMPLICIT emulator flag even thought it's not strictly needed as it's a nice way to document non-existent code. I massaged a few changelogs and fixed the KVM_X86_OP_OPTIONAL() issue, but otherwise I don't think I made any code changes (it's been a long day :-) ). Please take a look to make sure it all looks good. Thanks! [01/16] KVM: x86: Consolidate flags for __linearize() https://github.com/kvm-x86/linux/commit/81c940395b14 [02/16] KVM: x86: Use a new flag for branch targets (no commit info) [03/16] KVM: x86: Add an emulation flag for implicit system access https://github.com/kvm-x86/linux/commit/90532843aebf [04/16] KVM: x86: Add X86EMUL_F_INVLPG and pass it in em_invlpg() https://github.com/kvm-x86/linux/commit/34b4ed7c1eaf [05/16] KVM: x86/mmu: Drop non-PA bits when getting GFN for guest's PGD https://github.com/kvm-x86/linux/commit/8b83853c5c98 [06/16] KVM: x86: Add & use kvm_vcpu_is_legal_cr3() to check CR3's legality https://github.com/kvm-x86/linux/commit/82ba7169837e [07/16] KVM: x86: Remove kvm_vcpu_is_illegal_gpa() https://github.com/kvm-x86/linux/commit/95df55ee42fe [08/16] KVM: x86: Introduce get_untagged_addr() in kvm_x86_ops and call it in emulator https://github.com/kvm-x86/linux/commit/7a747b6c84a1 [09/16] KVM: x86: Untag address for vmexit handlers when LAM applicable https://github.com/kvm-x86/linux/commit/ef99001b30a8 [10/16] KVM: x86: Virtualize LAM for supervisor pointer https://github.com/kvm-x86/linux/commit/4daea9a5183f [11/16] KVM: x86: Virtualize LAM for user pointer https://github.com/kvm-x86/linux/commit/0cadc474eff0 [12/16] KVM: x86: Advertise and enable LAM (user and supervisor) https://github.com/kvm-x86/linux/commit/6ef90ee226f1 [13/16] KVM: x86: Use KVM-governed feature framework to track "LAM enabled" https://github.com/kvm-x86/linux/commit/b291db540763 [14/16] KVM: emulator: Add emulation of LASS violation checks on linear address (no commit info) [15/16] KVM: VMX: Virtualize LASS (no commit info) [16/16] KVM: x86: Advertise LASS CPUID to user space (no commit info) -- https://github.com/kvm-x86/linux/tree/next