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 BBD0CEB64DD for ; Fri, 28 Jul 2023 23:49:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235657AbjG1Xtz (ORCPT ); Fri, 28 Jul 2023 19:49:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234180AbjG1Xtx (ORCPT ); Fri, 28 Jul 2023 19:49:53 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F04A14231 for ; Fri, 28 Jul 2023 16:49:51 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id 3f1490d57ef6-d087ffcc43cso2484225276.3 for ; Fri, 28 Jul 2023 16:49:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1690588191; x=1691192991; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=DKuAUegaPzT2dlDDYBmBZr79HoAY+aEQdI3dh05x1do=; b=IHEo6B7QLOdOilVB5wc5aR/qpiIxDS03sgjaJUTOEJcD6VD61l9Lyy1JFy0LvDREO9 FET/mL7wXo598iMXAYeEqcLFLCCp57wbjR6HQuS/Z6C8ADSCjceP4yMfaJ0tw5prWMpw 2JpFGadvMn3PBiCc1JpOjLxl0DRKoktbH5ffR03xZ2bIslQYsbWKZJgcD5gYCPO52zSQ ocflUPkWAdb02Gk8/JK/K6DzWKS2jMQiF6lIZbbL++1gc6dI2CLX3tg77py5Pn+4uX8u D3qoNkTvtsuMxx9C3YzhpWTEXn2pzd+VXCFWoYJGeOpR8t2hXl7ej8sAr35DOqbhVSgd mMsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690588191; x=1691192991; 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=DKuAUegaPzT2dlDDYBmBZr79HoAY+aEQdI3dh05x1do=; b=exmi2ge7yxbNXdG7OFvInF4YiVZURMMEs9+b4AO2A9Oqh/9e9IzWGOrlGS1Z6M3gkC FY8+zmHBtqnwxnq/1yrlcV9hOrpt7/yi6F7iWQW4cNI3rJzmjL6xWhAGy/SwC74zPR/q DRyeT0Sr1GOeh2zWzzkf7FEthYgPyBVqkc6jKpp2ysgFlFWQA75ARRHap7aji58+R23T Er5tIvGOEXIR5SSoyPH3dXJIqmXcP2/IcMPcDwmo3TEjY2QucGTS1sm2wb+IPg2sPXI+ JRDzu+ny+gdlYYvb7Vr4C0mB8+7Wx2bZE6vhIQ5tVQNzWwNhguWwoxJqB2iBUMuuSNy7 0ORA== X-Gm-Message-State: ABy/qLbtmL6WVMFre9bHvsW9YuibGgdeQ5mtkDXnXGbJZCvKl9DUeioL elZUFiwnvQcSGuOx1Ynhai1yYgXaK1s= X-Google-Smtp-Source: APBJJlGAkeWqd8KJHMn6lV6CBNP775TxKkAeVKZcTh6dZof9dTQs+DyK7ozs4XGf3NiPP8Svy1OAk6NS0so= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:ae49:0:b0:d29:d655:2690 with SMTP id g9-20020a25ae49000000b00d29d6552690mr11054ybe.10.1690588191184; Fri, 28 Jul 2023 16:49:51 -0700 (PDT) Date: Fri, 28 Jul 2023 16:49:42 -0700 In-Reply-To: <20230615063757.3039121-1-aik@amd.com> Mime-Version: 1.0 References: <20230615063757.3039121-1-aik@amd.com> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog Message-ID: <169058576410.1024559.1052772292093755719.b4-ty@google.com> Subject: Re: [PATCH kernel 0/9] KVM: SEV: Enable AMD SEV-ES DebugSwap From: Sean Christopherson To: Sean Christopherson , kvm@vger.kernel.org, Alexey Kardashevskiy Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Tom Lendacky Content-Type: text/plain; charset="utf-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 15 Jun 2023 16:37:48 +1000, Alexey Kardashevskiy wrote: > This is to use another AMD SEV-ES hardware assisted register swap, > more detail in 6/9. In the process it's been suggested to fix other > things, here is the attempt, with the great help of amders. > > The previous conversation is here: > https://lore.kernel.org/r/20230411125718.2297768-1-aik@amd.com > > [...] Finally applied to kvm-x86 svm, thanks! Though I was *really* tempted to see just how snarky the pings would get at week 5+ ;-) [1/9] KVM: SEV: move set_dr_intercepts/clr_dr_intercepts from the header https://github.com/kvm-x86/linux/commit/b265ee7bae11 [2/9] KVM: SEV: Move SEV's GP_VECTOR intercept setup to SEV https://github.com/kvm-x86/linux/commit/29de732cc95c [3/9] KVM: SVM: Rewrite sev_es_prepare_switch_to_guest()'s comment about swap types https://github.com/kvm-x86/linux/commit/f8d808ed1ba0 [4/9] KVM: SEV-ES: explicitly disable debug https://github.com/kvm-x86/linux/commit/2837dd00f8fc [5/9] KVM: SVM/SEV/SEV-ES: Rework intercepts https://github.com/kvm-x86/linux/commit/5aefd3a05fe1 [6/9] KVM: SEV: Enable data breakpoints in SEV-ES https://github.com/kvm-x86/linux/commit/fb71b1298709 [7/9] KVM: SEV-ES: Eliminate #DB intercept when DebugSwap enabled https://github.com/kvm-x86/linux/commit/8b54cc7e1817 [8/9] KVM: SVM: Don't defer NMI unblocking until next exit for SEV-ES guests https://github.com/kvm-x86/linux/commit/c54268e1036f [9/9] KVM: SVM: Don't try to pointlessly single-step SEV-ES guests for NMI window https://github.com/kvm-x86/linux/commit/e11f81043a12 -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes