Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4222131ybc; Fri, 15 Nov 2019 00:40:18 -0800 (PST) X-Google-Smtp-Source: APXvYqzTmRfq5H8lzvCp6Mai+w3k0MptKcbfijwem2s/j5g79teNPxD7lGVLrBmPXCzvNW+wwFGf X-Received: by 2002:a17:906:1b41:: with SMTP id p1mr12160961ejg.65.1573807218112; Fri, 15 Nov 2019 00:40:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573807218; cv=none; d=google.com; s=arc-20160816; b=vpRIm4LRHEwYQH/OuO/DLGRoBr7tpv69WBnwn4UuoxP85czPVfU4KTYMr1lwipdUsz L//p9eQJL+DYj2ebn5Q1H7L9f/JeszFuv27VaFr8+KuhCg7Tsl68+0kw69+WQBUlDiak 50LBfwnsb5jpXG8uB5LHj7zizYCgvlob6us5gCfAU4u+lSTlCv4BjjZsxZXHbymhqbXN +jsVkDqnfIigPX8RbKPqmVH1fhzpzB7cA2ILc4DUYyYDFc/hqeLTbcfjxY6Y/hEKIP1f 2nZo/ZqZBV9/FdzKG54qD7e5e72VPK5Cihcl9NbjlTu+StBk8+wH5753sRkRVXxtJcEN eDRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=JRxQ3vuHEIsqT3MMv3dPyB3+9mGXupKrfn2Kq1lK32E=; b=CBJD8UqWIkn2YCi5eesrqJ7d7QoG8LqafhDXJHUhXAePG3ClQP7C0wyUszLVnbS1tg M/3i8GT/Ele7NfVsrXRz5RXsiRA1TtHR0Wri6JkQYiD1lmF6MvR9bsWR68FrpdQAwJ3z iN28Djaxi8fL0BoUPSLxQab6KXuGtqGEPl4CBw7eRr9RfcmQ3LIRbNePs37uBJSvEy8w PZWqVzaeXR07qyscMNie5HoRcJwTWEBfIiw2M/LCHNllLjmMwn3CeJwtw75wq3iicbOh csdWgyfRCM/3/mC5xZZqvonu/qbl+E5vYYbVBKnNzXdkvCoBSrNzC4zh/aOy6lYG+ijj RRqg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id d2si5304183ejr.371.2019.11.15.00.39.52; Fri, 15 Nov 2019 00:40:18 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726958AbfKOIiM (ORCPT + 99 others); Fri, 15 Nov 2019 03:38:12 -0500 Received: from mga05.intel.com ([192.55.52.43]:39049 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725829AbfKOIiL (ORCPT ); Fri, 15 Nov 2019 03:38:11 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Nov 2019 00:38:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,307,1569308400"; d="scan'208";a="230391002" Received: from um.fi.intel.com (HELO um) ([10.237.72.57]) by fmsmga004.fm.intel.com with ESMTP; 15 Nov 2019 00:38:09 -0800 From: Alexander Shishkin To: Luwei Kang , kvm-pmu@eclists.intel.com Cc: ak@linux.intel.com, kan.liang@linux.intel.com, Luwei Kang , peterz@infradead.org, linux-kernel@vger.kernel.org, alexander.shishkin@linux.intel.com Subject: Re: [PATCH v1 0/4] Enable PEBS when only have PEBS via PT w/o DS In-Reply-To: <1573672574-25247-1-git-send-email-luwei.kang@intel.com> References: <1573672574-25247-1-git-send-email-luwei.kang@intel.com> Date: Fri, 15 Nov 2019 10:38:08 +0200 Message-ID: <87h835edqn.fsf@ashishki-desk.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org You forgot to CC Peter and LKML. Luwei Kang writes: > This patchset is purely perf event system changes that to enable the > PEBS when the system only supports PEBS via Intel PT w/o DS. Currently, > there don't have such hardware which only supports PEBS via PT w/o DS > but it is possible in KVM guest. In Tremont Atom platforms, PEBS via > PT is the only way to enabled PEBS in KVM guest. I don't understand what this says. If PEBS-via-PT is available and DS is not available, what happens and why? Regards, -- Alex