Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2303112rwd; Mon, 15 May 2023 09:45:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5JVY/ioRtiH5uUszUidw0gJiOeWuDGDY+5JKFS+0OKh0QyzYJC+6s/zcn8cOI9n0WUBe1J X-Received: by 2002:a17:90b:1809:b0:250:7d1f:938b with SMTP id lw9-20020a17090b180900b002507d1f938bmr27947981pjb.23.1684169144812; Mon, 15 May 2023 09:45:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684169144; cv=none; d=google.com; s=arc-20160816; b=pfhX/U6/o7CfmBt2ZWkmKyvfZQmsAgamg0/Z2Kb5nK4Pe95mf0Ug5iSsdQLivqckut rDJxqSSHW6QqTTJ1bhwyPfY6ktf/XyPXuvjExK+em4nqEM1XEUbHWZzqrhB4QJLpIxAt oJaO6Fo+v86lQs90SCMrWSD9bBuRuydUEWrMZRSjwIW6I2BXAdPS+ikTEKR5bYvIOenO Gkj+HARgVn1fY34I1MVcwW0jFo+qOhYJ7p8bSLeHvrobvO9TaDUnTVLG+o2Z29vMvXff 3vTCir4uRq3kcq7VSkHCZr3rBDDJqobmowHXC5i5fm/YDvdyWyru1YijFs9XmkeRH4+u Smyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=zRf1suCxpp2xw9xVtC6+jBhjPv+ukUhidKZm42V6ybU=; b=BgbLiYKbHxYKa65WCNz3a5L2yebqp9gfhqAxizQxiLofVznUOCcV9hu3YAN05uo2wW XJNcBW/J2QvS6B6kG0FfoD7qAg9xIBeubVdCaApyWG1EVOwaLccmAXN6/dpi8clR8zq/ QGQqkOP+iTP9IWGnxzhlaW5ehk6zA9AU/CB6BQzGHywSIjKQ8dsN8NQiAD644sN2F6Ar tySpuGmYnUd3sZTmdM1wwcq7EsIFJh3ZTnGlWP1hivx4eJewSdNzjZWeIQxbNf202nfp lBlvO5K/gbsUT4heRqq4jEC2F6jZWV7G/BvHSC+lwZR8a2/dVgn4tWbgFLihgf8MlkZh lWBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="EDIK7Pc/"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w20-20020a63af14000000b005001391ef6bsi17072404pge.108.2023.05.15.09.45.26; Mon, 15 May 2023 09:45:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b="EDIK7Pc/"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242938AbjEOQpY (ORCPT + 99 others); Mon, 15 May 2023 12:45:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49378 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242931AbjEOQpY (ORCPT ); Mon, 15 May 2023 12:45:24 -0400 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E79484ED0 for ; Mon, 15 May 2023 09:45:22 -0700 (PDT) Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-3f51ea3a062so265871cf.1 for ; Mon, 15 May 2023 09:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1684169122; x=1686761122; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zRf1suCxpp2xw9xVtC6+jBhjPv+ukUhidKZm42V6ybU=; b=EDIK7Pc/86wryFh04RCHc696LTO8e7WBVjartdOINZOy20P8SDN8FxNtn6AilVWdDJ qplWuDdd5lGpudBSOsNa6OtkgIfzsB1eE3m9Lz9jwt0A7SGm1KHD+bVxe7ba8YJCzgix pDK/Y1fX6/d0Z/3gceRYPDj/4YsT9gpdTuFL0i7mGT/AQWNw+0YAxKOVMGp/HP7RNbyE ldupBjv3mNrUNl76wZi15yBT8Nk2Yw9AXWOL2I6CLO4jQTn+MQkw2agqf0aQXHYl9Pp9 74JixFrx7e9SWXEAs+6xBUIsPOEuCLml3za3UZTShdbIxXM5CzjTNNDOcPyjcbYEoerk iR0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684169122; x=1686761122; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zRf1suCxpp2xw9xVtC6+jBhjPv+ukUhidKZm42V6ybU=; b=Q1S2ZW4GQLbAiai5NM/+cp+yZqiLQS6vTBAvi/qNSzTMpKbaq/5gS57MDEmgaJl4r6 BqvWwFr0pqdBiJYWHm/HC4E8biOAMqRCrpNFjU6nWotNksCTuzbmTAA7QbE/o8wrcTbO oG9BSBmUsl7J+fu3ftl9kgJFPAfCbtZRX8h/iQx7MZWuT0UzlrXM9JQvVFKfJ9eSlk4h 4J7iuC/gMJsvD5eMsWJNZN+4Tk3QsKO2bwtOSAg2tZe8GpVLojLG9FBpVglaYWWqmEM2 OscO04m9ZpK/Tb3uGt3KwMLya/ViIYuya9v81lh88nVXM2Im7OpTctSA3uNUQEBlYrZc 8E1A== X-Gm-Message-State: AC+VfDwObNeR4gAFqCtiaqbyYwSlwHtm1aqdO5wbg3E5SB+VJ65Yrr0n 44gxeaO6WPfw4w/OGHPIuTPZZlRT5JaRqVV1OPfmgA== X-Received: by 2002:a05:622a:1456:b0:3ed:6bde:9681 with SMTP id v22-20020a05622a145600b003ed6bde9681mr1323105qtx.0.1684169121825; Mon, 15 May 2023 09:45:21 -0700 (PDT) MIME-Version: 1.0 References: <385016f9-e948-4f7f-8db3-24a0c0543b3d@amd.com> <55e5f02f-4c1f-e6b0-59ba-07abc4d3408f@amd.com> <81037a58-6b5c-cde4-79fe-3686d9b8a551@amd.com> <7fb25176-3752-1be3-66d4-a7f5a0e1617a@amd.com> <682c0bf9-ccf7-9660-21fe-925ef63c5fbb@amd.com> <4c642bd1-5f1c-292e-398f-eed699db590d@amd.com> <65cb8f0f-7e8b-6df6-6bb1-a9f1add027bb@amd.com> In-Reply-To: From: Dionna Amalie Glaze Date: Mon, 15 May 2023 09:45:10 -0700 Message-ID: Subject: Re: [PATCH RFC v7 52/64] KVM: SVM: Provide support for SNP_GUEST_REQUEST NAE event To: Sean Christopherson Cc: Tom Lendacky , Alexey Kardashevskiy , Ashish Kalra , Michael Roth , kvm@vger.kernel.org, linux-coco@lists.linux.dev, linux-mm@kvack.org, linux-crypto@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, tglx@linutronix.de, mingo@redhat.com, jroedel@suse.de, hpa@zytor.com, ardb@kernel.org, pbonzini@redhat.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, luto@kernel.org, dave.hansen@linux.intel.com, slp@redhat.com, pgonda@google.com, peterz@infradead.org, srinivas.pandruvada@linux.intel.com, rientjes@google.com, dovmurik@linux.ibm.com, tobin@ibm.com, bp@alien8.de, vbabka@suse.cz, kirill@shutemov.name, ak@linux.intel.com, tony.luck@intel.com, marcorr@google.com, sathyanarayanan.kuppuswamy@linux.intel.com, alpergun@google.com, dgilbert@redhat.com, jarkko@kernel.org, harald@profian.com, Brijesh Singh Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, May 11, 2023 at 4:33=E2=80=AFPM Sean Christopherson wrote: > > On Thu, May 11, 2023, Dionna Amalie Glaze wrote: > > Would it be okay to request that we add a KVM stat for how often there > > are GUEST_REQUEST_NAE exits? I think it'd be good for service > > operators to get a better idea how valued the feature is. > > Heh, it's always ok to request something, but sometimes the answer will b= e no. > > And in the case, the answer is likely "no stat for you". A year or so ag= o, in the > context of us (Google) trying to upstream a pile of stats, we (KVM folks)= came to > a rough consensus that KVM should only add upstream stats if they are rel= atively > generic and (almost) universally useful[*]. IMO, a one-off stat for a sp= ecific exit > reason is too narrowly focused, e.g. collecting information on all exit r= easons is > superior. And no, that won't be accepted upstream either, because for so= me environments > gathering detailed information on all exits is too much overhead (also co= vered in > the link). > > FWIW, we (GCE) plan on carrying stats like this in out-of-tree patches, i= .e. your > request for stats is likely something that would get accepted internally = (if it > isn't already captured through our generic stats collection). > > [*] https://lore.kernel.org/all/87czp0voqg.wl-maz@kernel.org Thanks Sean, noted :) --=20 -Dionna Glaze, PhD (she/her)