Re: [PATCH] perf/x86/uncore: update support for client uncore IMC PMU

Andi Kleen
2014-09-15T15:58:39Z

On Mon, Sep 15, 2014 at 04:38:32PM +0200, Stephane Eranian wrote:
>
> This patch restructures the memory controller (IMC) uncore
> PMU support for client SNB/IVB/HSW processors. The main change
> is that it can now cope with more than one PCI device ID per
> processor model. There are many flavors of memory controllers
> for each processor. They have different PCI device ID, yet
> they behave the same w.r.t. the memory controller PMU that
> we are interested in.
>
> The patch now supports two distinct memory controllers for IVB
> processors: one for mobile, one for desktop.

I haven't investigated yet, but on my Lenovo ULT Haswell laptop
the IMC PCI-ID doesn't exist, so the driver doesn't initialize.

So either it's the BIOS disabling it, or it's a different ID there
too.

BTW any reason you didn't enable the CBOX/ARB PMUs originally for HSW?
At least ARB events are useful for some things.

-Andi