[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120607132705.GK27374@one.firstfloor.org>
Date: Thu, 7 Jun 2012 15:27:05 +0200
From: Andi Kleen <andi@...stfloor.org>
To: Stephane Eranian <eranian@...gle.com>
Cc: linux-kernel@...r.kernel.org, peterz@...radead.org,
andi@...stfloor.org, mingo@...e.hu, ming.m.lin@...el.com
Subject: Re: [PATCH] perf/x86: check ucode before disabling PEBS on SandyBridge
> + /*
> + * check ucode version for SNB, SNB-EP
> + */
> + if ((model == 42 || model == 45) && uversion < 0x28) {
You need to check for x86 == 6 here.
-Andi
> + pr_warn("SandyBridge PEBS unavailable due to CPU erratum, "
> + " update microcode (was 0x%x, needs at least 0x28).\n",
> + uversion);
> + return -ENOTSUPP;
--
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