[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1337340552.573.33.camel@twins>
Date: Fri, 18 May 2012 13:29:12 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Robert Richter <robert.richter@....com>
Cc: Ingo Molnar <mingo@...nel.org>,
Stephane Eranian <eranian@...gle.com>,
LKML <linux-kernel@...r.kernel.org>, stable@...r.kernel.org
Subject: 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.. :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists