Peter Zijlstra | 18 May 2012 13:29
Favicon

Re: [PATCH] perf, x86: Update event scheduling constraints for AMD family 15h models

On Fri, 2012-05-18 at 12:40 +0200, Robert Richter wrote:
> +               case 0x031:
> +                       if (hweight_long(hwc->config & ARCH_PERFMON_EVENTSEL_UMASK) <= 1)
> +                               return &amd_f15_PMC20;
> +                       return &emptyconstraint;
> +               case 0x1C0:
> +                       return &amd_f15_PMC53; 

Oh man, that's just vile.. I hope you've given your hardware team a big
hug for this.. :-)

Gmane