Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5491819pxb; Sun, 13 Feb 2022 23:39:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJw2/KTTtih5t9RIgRK9fe4ODO+c4zRcA8YGmDAMJ/A0sWhXciACTNiBysb6wC2dxyTrlFWF X-Received: by 2002:a17:906:d555:: with SMTP id cr21mr6124302ejc.428.1644824388762; Sun, 13 Feb 2022 23:39:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644824388; cv=none; d=google.com; s=arc-20160816; b=qF9UySEJRFS9nxIpQmOj92hpKELpftYQyoR9h9FBCctWrxok6CTsguaWQ+Zn2c0zb1 gQTNtgQldlpyYMlI3/RvCY7ZHipauPSy1BJ2PPr53TEfGzViDzNrGJoOE4AyMMMdTdq0 szGj4q47R5DtA4JFeQ3Qh8FznGulzOvEaSiXD2i1H9HDrsow6W1ZSgadHBUNgUmI0fKI H8zEKZFBuWWf/JM4w0NWdQck4H/ui+8BR0HCaO6p09as3SZ48uiRiZqnB2Q3RXaVDicT OiS7qINoVWHC0ZzZT/ZV9Wjn0EPjI1HJXef58Hserpby4BLJM81QP+3bZAUVqoyACezM EVfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=vmaSptng9jreS1XXMbr6KSYdnJ6+9nuFAm8sfmi6BQE=; b=xCWFwDDM93yg8lWO1lINvomnIcx5hh+7bj4KYYunHHkilAGfmKv/StcTL8q0QDmatr roFTtN3FkxkAuXyKcJmGD+KyqDhCVg1/eRr4buK1Jy589mbsp//wjxkUpFLS3Ym8lctp T+07mWHKDl8A59SqxsvRtkd2T/3CRsdUUtQuz1Nybj5gv1nD1db6snGctiizy/X5MWZl FNnxV/ZSvZTWKYwa+3Pkf16vji6msKG0tQ9SgkiGAY9tXzyz3Qpxpzn6W7YKlarfNg3M OgWa7ToYFJPYSN52XqZTwBHuUEz9i4NPXes+19NNmNhK9f37dvJ6ElOcBUjI2TxN50fZ hZAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=T84POPRa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 sc13si24437294ejc.164.2022.02.13.23.39.26; Sun, 13 Feb 2022 23:39:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=20210112 header.b=T84POPRa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S232568AbiBLXcv (ORCPT + 99 others); Sat, 12 Feb 2022 18:32:51 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232277AbiBLXcu (ORCPT ); Sat, 12 Feb 2022 18:32:50 -0500 Received: from mail-oo1-xc2b.google.com (mail-oo1-xc2b.google.com [IPv6:2607:f8b0:4864:20::c2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A1515FF23 for ; Sat, 12 Feb 2022 15:32:46 -0800 (PST) Received: by mail-oo1-xc2b.google.com with SMTP id u47-20020a4a9732000000b00316d0257de0so14942695ooi.7 for ; Sat, 12 Feb 2022 15:32:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vmaSptng9jreS1XXMbr6KSYdnJ6+9nuFAm8sfmi6BQE=; b=T84POPRan5/lU9yCOzviw+LOlorxyZIrfQqfsOAJjsfkEiSLm3LpMSQRs5ae6Lb7Jc 82X+0xh8ZABAho8YYHYlBDZrqbP3TZakeCnsoXgGif18g42KJ0RhHwKTEy8LlnSrPhIi nf9tzZLJCIhxR29e8hXScHtnxc9j8tUZCc1snPxjqIJKEf+Ys7wRfT+aauvGD9lGUTZF tm8Yj8MEWokKzwZOx2QYeHswuo2pARy2IEpF/OCkZdQwmPTa741IiZoIB67ZYQAo8XJQ VP1irJOvWdLwQ37BYLmwoDgEyDFvZYKRFuhxup4qsKOGjYzGyDSLh1/3VrwgJYi7Dfg9 +AHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vmaSptng9jreS1XXMbr6KSYdnJ6+9nuFAm8sfmi6BQE=; b=BBpz1WJ+ToF+Jp6lT85ea8AFotTeo8y8kcu17t8v5hdh72e9p2BfNU9MOL+QLc3KUc wFzmODEbr5XIFav4lT1S5FODU+RIO7hYIwsIFAT/SZFG9qVlHJNCY7yf4FGvM0jaQtoR 27Pk8U7OhcvdhXiSFkhiu5CBPKXDIrhXLrqM4SmFfQF7KeZO1VwRtqyBo+soI5dJ9jvj X7121MNH6EnKnf10rqbHX003lV1TN363YDbzTWKY3NRNDqhCn7Tyvmeq6UuT0W9vAkcP v0hs3pVSW2K/832TkeW53s1/ONQnHjvY5DFVVnNkgvEsN+sAq1X1m6BkSl8SHBKwFKO4 KmvQ== X-Gm-Message-State: AOAM531ME/KPXd11YZxHORl/7mMBtJeZurf/TM1yOSh575awq7j6gDmb gRib1h6tV0+eetjNCjpdmUX8vFa1lvRCVPXiBxGfEg== X-Received: by 2002:a05:6871:581:: with SMTP id u1mr2068039oan.139.1644708765547; Sat, 12 Feb 2022 15:32:45 -0800 (PST) MIME-Version: 1.0 References: <20220117085307.93030-1-likexu@tencent.com> <20220117085307.93030-3-likexu@tencent.com> <20220202144308.GB20638@worktop.programming.kicks-ass.net> <69c0fc41-a5bd-fea9-43f6-4724368baf66@intel.com> <67a731dd-53ba-0eb8-377f-9707e5c9be1b@intel.com> In-Reply-To: <67a731dd-53ba-0eb8-377f-9707e5c9be1b@intel.com> From: Jim Mattson Date: Sat, 12 Feb 2022 15:32:34 -0800 Message-ID: Subject: Re: [PATCH kvm/queue v2 2/3] perf: x86/core: Add interface to query perfmon_event_map[] directly To: Dave Hansen Cc: Peter Zijlstra , Like Xu , Paolo Bonzini , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Like Xu , Stephane Eranian , David Dunn Content-Type: text/plain; charset="UTF-8" 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=ham 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-kernel@vger.kernel.org On Wed, Feb 9, 2022 at 10:57 AM Dave Hansen wrote: > Does SGX cause problem for these people? It can create some of the same > collection gaps: > > performance monitoring activities are suppressed when entering > an opt-out (of performance monitoring) enclave. There's our precedent!