From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751196AbWHTV67 (ORCPT ); Sun, 20 Aug 2006 17:58:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751471AbWHTV67 (ORCPT ); Sun, 20 Aug 2006 17:58:59 -0400 Received: from madara.hpl.hp.com ([192.6.19.124]:56787 "EHLO madara.hpl.hp.com") by vger.kernel.org with ESMTP id S1751196AbWHTV67 (ORCPT ); Sun, 20 Aug 2006 17:58:59 -0400 Date: Sun, 20 Aug 2006 14:48:57 -0700 From: Stephane Eranian To: linux-kernel@vger.kernel.org Cc: Stephane Eranian , ak@suse.de Subject: [PATCH] x86-64 add missing PMU MSR definitions Message-ID: <20060820214856.GD27542@frankl.hpl.hp.com> Reply-To: eranian@hpl.hp.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Md/poaVZ8hnGTzuv" Content-Disposition: inline User-Agent: Mutt/1.4.1i Organisation: HP Labs Palo Alto Address: HP Labs, 1U-17, 1501 Page Mill road, Palo Alto, CA 94304, USA. E-mail: eranian@hpl.hp.com X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: eranian@frankl.hpl.hp.com Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --Md/poaVZ8hnGTzuv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hello, Here is a patch to add a couple of missing MSR definitions related to Performance monitoring for EM64T. A separate patch contains the i386 equivalent. Changelog: - add MSR definitions for IA32_PEBS_ENABLE and PEBS_MATRIX_VERT signed-off-by: stephane eranian -- -Stephane --Md/poaVZ8hnGTzuv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="msr-x86_64.diff" --- linux-2.6.17.8.orig/include/asm-x86_64/msr.h 2006-08-06 21:18:54.000000000 -0700 +++ linux-2.6.17.8/include/asm-x86_64/msr.h 2006-08-20 14:40:52.000000000 -0700 @@ -396,4 +396,7 @@ static inline unsigned int cpuid_edx(uns #define MSR_P4_U2L_ESCR0 0x3b0 #define MSR_P4_U2L_ESCR1 0x3b1 +#define MSR_IA32_PEBS_ENABLE 0x3f1 +#define MSR_PEBS_MATRIX_VERT 0x3f2 + #endif --Md/poaVZ8hnGTzuv--