Re: [PATCH 06/34] perf, kvm: Support the intx/intx_cp modifiers in KVM arch perfmon emulation v2

Andi Kleen
2012-10-23T13:35:28Z

> So I forgot how all this worked, but will the KVM emulation not pass
> this straight down to the hardware?

Pass down to perf.

>
> Don't we have a problem where we're emulating arch perfmon v1 on AMD
> hardware? On AMD hardware those bits do have meaning.

Ah they do? I wasn't aware. I can add a cpuid check for Intel I suppose.

-andi

--
ak@linux.intel.com -- Speaking for myself only.