[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <82D7661F83C1A047AF7DC287873BF1E17383C77D@SHSMSX104.ccr.corp.intel.com>
Date: Sun, 17 Nov 2019 11:51:49 +0000
From: "Kang, Luwei" <luwei.kang@...el.com>
To: Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
"kvm-pmu@...ists.intel.com" <kvm-pmu@...ists.intel.com>
CC: "ak@...ux.intel.com" <ak@...ux.intel.com>,
"kan.liang@...ux.intel.com" <kan.liang@...ux.intel.com>,
"peterz@...radead.org" <peterz@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v1 0/4] Enable PEBS when only have PEBS via PT w/o DS
> -----Original Message-----
> From: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
> Sent: Friday, November 15, 2019 4:38 PM
> To: Kang, Luwei <luwei.kang@...el.com>; kvm-pmu@...ists.intel.com
> Cc: ak@...ux.intel.com; kan.liang@...ux.intel.com; Kang, Luwei <luwei.kang@...el.com>; peterz@...radead.org; linux-
> kernel@...r.kernel.org; alexander.shishkin@...ux.intel.com
> Subject: Re: [PATCH v1 0/4] Enable PEBS when only have PEBS via PT w/o DS
>
> You forgot to CC Peter and LKML.
>
> Luwei Kang <luwei.kang@...el.com> 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?
This is an internal review before sending it to community.
In current software implementation, PEBS depends on the HW support of DS feature even if we have PEBS via PT( e.g. in intel_ds_init() function). This patchset just removes the dependency of PEBS and DS because there have a new path PEBS via Intel PT. I think there don't have any problem in host, but PEBS may not work in KVM guest when only have PEBS via PT w/o DS.
Thanks,
Luwei Kang
>
> Regards,
> --
> Alex
Powered by blists - more mailing lists