From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756934Ab0LIUT0 (ORCPT ); Thu, 9 Dec 2010 15:19:26 -0500 Received: from canuck.infradead.org ([134.117.69.58]:54805 "EHLO canuck.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750985Ab0LIUTZ convert rfc822-to-8bit (ORCPT ); Thu, 9 Dec 2010 15:19:25 -0500 Subject: Re: [RFC PATCH 2/3 v3] perf: Implement Nehalem uncore pmu From: Peter Zijlstra To: Stephane Eranian Cc: Lin Ming , Andi Kleen , Ingo Molnar , Frederic Weisbecker , Arjan van de Ven , lkml In-Reply-To: References: <1291267223.2405.314.camel@minggr.sh.intel.com> <1291922467.6803.44.camel@twins> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Thu, 09 Dec 2010 21:19:03 +0100 Message-ID: <1291925943.6803.50.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2010-12-09 at 21:15 +0100, Stephane Eranian wrote: > On Thu, Dec 9, 2010 at 8:21 PM, Peter Zijlstra wrote: > > On Thu, 2010-12-02 at 13:20 +0800, Lin Ming wrote: > >> + /* Check CPUID signatures: 06_1AH, 06_1EH, 06_1FH */ > >> + family = boot_cpu_data.x86; > >> + model = boot_cpu_data.x86_model; > >> + if (family != 6 || (model != 0x1A && model != 0x1E && model != 0x1F)) > >> + return; > > > > So that's 26, 30 and 31? Curiously > > arch/x86/kernel/cpu/perf_event_intel.c does have 31. That was clearly meant to say: doesn't.. Does Intel have an exhaustive model list somewhere? > It is also missing model 44 (0x2c). Right.. but if the westmere uncore is the same, then its also missing 37. The -EX chips have a different uncore, right?