[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 2/6] xen/PMU: Sysfs interface for setting Xen PMU mode


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx>
  • Date: Wed, 11 Jun 2014 15:12:05 +0200
  • Cc: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>, kevin.tian@xxxxxxxxx, JBeulich@xxxxxxxx, david.vrabel@xxxxxxxxxx
  • Delivery-date: Wed, 11 Jun 2014 13:12:27 +0000
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:From:To:Cc:Subject:Date:Message-ID: User-Agent:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:Content-Type; b=dbhMctPj3CmW3c4XDm+BClpr7VCjWKpdT6G2J6JKjME6VDHwj0rDfWs+ Dy0BxhEJTIxXntcRfVuVNbtPTPv1rAd20mix30vfncImsK+X2jVtE+d/i iiHA5/MLtMZ/CDANlE5bFKzjX0oPY4vfwAVl1Vue2ngnKUK4sWNTQwl5n 61RMkMq8gGdN8zaPyVka2sHEW7vBM3GdxPItnfpoOTTsyQC7GCKdYDJs8 TFJu9s00Ax2YyLwzR25qBKfCTIPaO;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Am Mittwoch 11 Juni 2014, 08:53:13 schrieb Boris Ostrovsky:
> On 06/11/2014 06:13 AM, Dietmar Hahn wrote:
> >
> > +
> > +
> > +/*
> > + * PMU features:
> > + * - XENPMU_FEATURE_INTEL_BTS: Intel BTS support (ignored on AMD)
> > + */
> > +#define XENPMU_FEATURE_INTEL_BTS  1
> > Is this XENPMU_FEATURE_INTEL_BTS really needed on the the linux side?
> > I would think it's a hypervisor internal feature.
> 
> 
> Features are controlled (enabled/disabled) by dom0 via 
> /sys/hypervisor/pmu/pmu_features so we need to have dom0 and the 
> hypervisor agree on what the bits mean.

OK, I understand. Then I'll find it in the user land part.

Dietmar.

> 
> -boris
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.