From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from motgate8.mot.com (motgate8.mot.com [129.188.136.8]) by ozlabs.org (Postfix) with ESMTP id 9F15E2BE83 for ; Mon, 1 Nov 2004 16:42:54 +1100 (EST) Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Kumar Gala Date: Sun, 31 Oct 2004 23:42:34 -0600 To: Paul Mackerras Cc: linuxppc-dev list , anton@au.ibm.com Subject: Added number of PMRs to cpu_specs List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Paul, Andy F. is adding 'proper' oprofile support to PPC32. I was wondering if you had any issue if we added the # of PMRs a cpu has to the cpu_specs table. I figured it better that we keep all such info in a single place, rather than reproducing PVR based checks in multiple places. Note, PPC64 currently does a PVR based check in arch/ppc64/common.c. I would recommend that model->num_counters come from cpu_specs and oprof_ppc64_ops.cpu_type be composed from cpu_specs.cpu_name. - kumar