Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1683907pxj; Wed, 19 May 2021 11:24:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDlIN6BYDeYBZYxPiPGyjrZkmOn5lUQ56FpVZKFzNLABo4mNrbfFYuV7nAdLDao2Hcfg2A X-Received: by 2002:a17:906:a3c9:: with SMTP id ca9mr423879ejb.553.1621448651683; Wed, 19 May 2021 11:24:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621448651; cv=none; d=google.com; s=arc-20160816; b=nmii7gT8mY8l0T+SkrtEjZwK2D/twINKkTq10vDr4D3XTAzy91TWZBgzu6QkUMXaQm rWnBWkhjK0ej8C3oO3+OJ3jsULngwmu1IjbfIoRKytOZNwltxPVCi0syZzezZ/BBtl/E uA85m3XLrnxEYTEuItbp1YKZwZ0GwOyDy69Ubqwf2Oim0wtA+2hVWIx3rZTX8TFUhWCs qXJPa5XfgG6LKUmZUfUKDe9bQtztEgogr0exv9qQ2idQ//PAzkyX4R6ycEf+Jw3pWXyd wdlJhf4PwH23Ec/Z7V1cIO2QmkFTgDIMVS1DIz59qTXP4g0ipEM1TsOtJ2jtm7tkdwhv 6T0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=cJxvUeMAUI0MGL9/cWoREdMx2EaRMYIL04r8Ybkgosk=; b=Rp/EahPwmKscQiAhLVqQeeGdGOmUgshhXF2fvYUHOVfhNvrbZc77ocPDUUmM9/s678 UQRIaD65TUYzkpATAnkUCdxAFnjbgP/WSZ3o/B1y3CNzkNGIgtX2uy0vbUgGxAkkMQJd 5jqP+o2kMldsSW5qRQOp/6qRIAGL5uyUTks7z10aZ2ng2LUM3/iqifrOXKeregH+u2lu pQYQQmijWIWdJrMwgdMIccz9zVnURviqmSgyfPQxXum7u2XvtPz7xQxLazaayPICJ9rc 8dvGl3hI6H79nXTg78fQyIhpVQRmPY0Gy4Mcxqux4QNOgoHlkx4qm/62zFA3Ei0aPJiH OgZA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc10si283764ejc.734.2021.05.19.11.23.47; Wed, 19 May 2021 11:24:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350513AbhERQAA (ORCPT + 99 others); Tue, 18 May 2021 12:00:00 -0400 Received: from mga12.intel.com ([192.55.52.136]:59296 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350480AbhERQAA (ORCPT ); Tue, 18 May 2021 12:00:00 -0400 IronPort-SDR: I4icwcyBGH0WRQL2wJT/hr+E/BqQburqg0kCTm2+SCNop0o0zioiNglfvdbfrAJCPf6e+QDgW1 5am3FCcibibA== X-IronPort-AV: E=McAfee;i="6200,9189,9988"; a="180350377" X-IronPort-AV: E=Sophos;i="5.82,310,1613462400"; d="scan'208";a="180350377" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2021 08:58:42 -0700 IronPort-SDR: gwcrRvapQ5urxi4Wy2gp2NUyzC3i98kMC24kJg9A3btzEjKOHnjQ0KFqSEvL84tmVWOywxCo4V LeacXH6R2Pnw== X-IronPort-AV: E=Sophos;i="5.82,310,1613462400"; d="scan'208";a="439501389" Received: from msaber-mobl.amr.corp.intel.com (HELO [10.209.65.183]) ([10.209.65.183]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 May 2021 08:58:41 -0700 Subject: Re: [PATCH v6 07/16] KVM: x86/pmu: Reprogram PEBS event to emulate guest PEBS counter To: "Xu, Like" , Peter Zijlstra Cc: Like Xu , Paolo Bonzini , Borislav Petkov , Sean Christopherson , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , weijiang.yang@intel.com, Kan Liang , wei.w.wang@intel.com, eranian@google.com, liuxiangdong5@huawei.com, linux-kernel@vger.kernel.org, x86@kernel.org, kvm@vger.kernel.org References: <20210511024214.280733-1-like.xu@linux.intel.com> <20210511024214.280733-8-like.xu@linux.intel.com> <852ab586-2438-c7fc-c41d-0862e2f1b7ca@intel.com> From: Andi Kleen Message-ID: <052e8584-fbc6-ddc7-c873-f46168aae63b@linux.intel.com> Date: Tue, 18 May 2021 08:58:40 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <852ab586-2438-c7fc-c41d-0862e2f1b7ca@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > By "precdist", do you mean the"Precise Distribution of Instructions > Retired (PDIR) Facility"? This was referring to perf's precise_ip field > > The SDM says Ice Lake Microarchitecture does support PEBS-PDIR on > IA32_FIXED0 only. > And this patch kit enables it in the patch 0011, please take a look. > > Or do I miss something about precdist on ICL ? On Icelake everything is fine It just would need changes on other CPUs, but that can be done later. -Andi