Re: [PATCH] perf/x86: fix uncore PCI fixed counter handling

2013-09-10 Thread Andi Kleen
On Mon, Sep 09, 2013 at 12:53:50PM -0700, Stephane Eranian wrote: > > There was a bug in the handling of SNB-EP/IVB-EP uncore PCI > fixed counters, e.g., IMC. It would cause erratic values to > be returned for the IMC clockticks event. This was due to > a bogus hwc->config value which was then wri

[PATCH] perf/x86: fix uncore PCI fixed counter handling

2013-09-09 Thread Stephane Eranian
There was a bug in the handling of SNB-EP/IVB-EP uncore PCI fixed counters, e.g., IMC. It would cause erratic values to be returned for the IMC clockticks event. This was due to a bogus hwc->config value which was then written to PCI config space. The fixed counter has most fields marked as reserv