Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761138AbXEXAVU (ORCPT ); Wed, 23 May 2007 20:21:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756374AbXEXAVF (ORCPT ); Wed, 23 May 2007 20:21:05 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:42800 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1760618AbXEXAVD (ORCPT ); Wed, 23 May 2007 20:21:03 -0400 Date: Wed, 23 May 2007 17:21:06 -0700 (PDT) Message-Id: <20070523.172106.78492773.davem@davemloft.net> To: linux-kernel@vger.kernel.org CC: postmaster@vger.kernel.org Subject: Adrian Bunk From: David Miller X-Mailer: Mew version 5.1.52 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Wed_May_23_17_21_06_2007_980)--" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org ----Next_Part(Wed_May_23_17_21_06_2007_980)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone have a way to contact him other than via email? He started bouncing with 500 level errors this afternoon (example attached below) and I'd like him to know what is happening. I'm removing him from the lists for the time being. Thanks to whoever can help out with this. ----Next_Part(Wed_May_23_17_21_06_2007_980)-- Content-Type: Message/Rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline Return-Path: X-Original-To: davem@sunset.davemloft.net Delivered-To: davem@sunset.davemloft.net Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by sunset.davemloft.net (Postfix) with ESMTP id E13242900EA for ; Wed, 23 May 2007 15:53:20 -0700 (PDT) Received: (from localhost user: 'davem' uid#2109 fake: STDIN (davem@vger.kernel.org)) by vger.kernel.org id S1756647AbXEWWxQ (ORCPT ); Wed, 23 May 2007 18:53:16 -0400 Received: from mailrelay3.lrz-muenchen.de ([129.187.254.101]:41396 "EHLO mailrelay3.lrz-muenchen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755709AbXEWWxQ (ORCPT ); Wed, 23 May 2007 18:53:16 -0400 Received: from mailrelay2.lrz-muenchen.de (mailrelay2.lrz-muenchen.de [129.187.254.102]) by mailrelay3.lrz-muenchen.de with ESMTP for linux-kernel-owner+bunk=40stusta.de-S1758230AbXEWWtv@vger.kernel.org; Thu, 24 May 2007 00:53:14 +0200 Received: by mailrelay2.lrz-muenchen.de; Thu, 24 May 2007 00:53:14 +0200 Message-Id: Date: Thu, 24 May 2007 00:53:14 +0200 Sender: "David S. Miller" From: mailer-daemon@lrz-muenchen.de To: linux-kernel-owner+bunk=40stusta.de-S1758230AbXEWWtv@vger.kernel.org Subject: Undeliverable mail MIME-Version: 1.0 Content-Type: multipart/report; report-type=delivery-status; boundary="=_mh.ndn.405b.4654c5da_=" --=_mh.ndn.405b.4654c5da_= Content-Type: text/plain; charset=us-ascii Your message was not delivered to the following recipients: bunk@stusta.de: 554 5.7.1 : Recipient address rejected: Access denied --=_mh.ndn.405b.4654c5da_= Content-Type: message/delivery-status Content-Transfer-Encoding: 7bit Reporting-MTA: dns;mailrelay2.lrz-muenchen.de Original-Recipient: rfc822;bunk@stusta.de Final-Recipient: rfc822;bunk@stusta.de Action: failed Status: 5.5.0 Remote-MTA: dns;emailhub.stusta.mhn.DE Diagnostic-Code: smtp;554 5.7.1 : Recipient address rejected: Access denied --=_mh.ndn.405b.4654c5da_= Content-Type: message/rfc822 Return-Path: Received: from lxmhs05.lrz-muenchen.de (lxmhs05.lrz-muenchen.de [10.156.6.3]) by mailrelay2.lrz-muenchen.de with ESMTP for bunk@stusta.de; Thu, 24 May 2007 00:53:13 +0200 X-Virus-Scanned: by amavisd-new at lrz-muenchen.de in 05 X-Spam-Score: -0.084 X-Spam-Level: X-Spam-Status: No, score=-0.084 tagged_above=-999 required=5 tests=[AWL=-0.085, BAYES_50=0.001] Received: from mailrelay1.lrz-muenchen.de ([10.156.6.201]) by lxmhs05.lrz-muenchen.de (lxmhs05.lrz-muenchen.de [10.156.6.3]) (amavisd-new, port 10024) with ESMTP id ycGrwNB2Jqf9 for ; Thu, 24 May 2007 00:53:13 +0200 (CEST) Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by mailrelay1.lrz-muenchen.de with ESMTP for bunk@stusta.de; Thu, 24 May 2007 00:53:12 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758230AbXEWWtv (ORCPT ); Wed, 23 May 2007 18:49:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755709AbXEWWtn (ORCPT ); Wed, 23 May 2007 18:49:43 -0400 Received: from mga01.intel.com ([192.55.52.88]:18686 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755293AbXEWWtm (ORCPT ); Wed, 23 May 2007 18:49:42 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 23 May 2007 15:49:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.14,571,1170662400"; d="scan'208";a="249025319" Received: from linux-os.sc.intel.com ([172.25.110.8]) by fmsmga001.fm.intel.com with ESMTP; 23 May 2007 15:49:41 -0700 Received: by linux-os.sc.intel.com (Postfix, from userid 47009) id 482CD28006; Wed, 23 May 2007 15:46:37 -0700 (PDT) Date: Wed, 23 May 2007 15:46:37 -0700 From: Venki Pallipadi To: Andrew Morton , Dave Jones , Len Brown Cc: linux-kernel Subject: [PATCH] Display Intel Dynamic Acceleration feature in /proc/cpuinfo Message-Id: <20070523224637.GB15887@linux-os.sc.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org Display Intel Dynamic Acceleration feature in /proc/cpuinfo. This feature will be enabled automatically by current acpi-cpufreq driver and cpufreq. Refer to Intel Software Developer's Manual for more details about the feature. Signed-off-by: Venkatesh Pallipadi Index: linux-2.6.22-rc-mm/arch/i386/kernel/cpu/proc.c =================================================================== --- linux-2.6.22-rc-mm.orig/arch/i386/kernel/cpu/proc.c +++ linux-2.6.22-rc-mm/arch/i386/kernel/cpu/proc.c @@ -41,7 +41,7 @@ static int show_cpuinfo(struct seq_file "cxmmx", "k6_mtrr", "cyrix_arr", "centaur_mcr", NULL, NULL, NULL, NULL, "constant_tsc", "up", NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, + "ida", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, /* Intel-defined (#2) */ Index: linux-2.6.22-rc-mm/arch/x86_64/kernel/setup.c =================================================================== --- linux-2.6.22-rc-mm.orig/arch/x86_64/kernel/setup.c +++ linux-2.6.22-rc-mm/arch/x86_64/kernel/setup.c @@ -949,7 +949,7 @@ static int show_cpuinfo(struct seq_file /* Other (Linux-defined) */ "cxmmx", NULL, "cyrix_arr", "centaur_mcr", NULL, "constant_tsc", NULL, NULL, - "up", NULL, NULL, NULL, NULL, NULL, NULL, NULL, + "up", NULL, NULL, NULL, "ida", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, Index: linux-2.6.22-rc-mm/include/asm-i386/cpufeature.h =================================================================== --- linux-2.6.22-rc-mm.orig/include/asm-i386/cpufeature.h +++ linux-2.6.22-rc-mm/include/asm-i386/cpufeature.h @@ -81,6 +81,7 @@ #define X86_FEATURE_BTS (3*32+13) /* Branch Trace Store */ #define X86_FEATURE_LAPIC_TIMER_BROKEN (3*32+ 14) /* lapic timer broken in C1 */ #define X86_FEATURE_SYNC_RDTSC (3*32+15) /* RDTSC synchronizes the CPU */ +#define X86_FEATURE_IDA (3*32+16) /* Intel Dynamic Acceleration */ /* Intel-defined CPU features, CPUID level 0x00000001 (ecx), word 4 */ #define X86_FEATURE_XMM3 (4*32+ 0) /* Streaming SIMD Extensions-3 */ Index: linux-2.6.22-rc-mm/include/asm-x86_64/cpufeature.h =================================================================== --- linux-2.6.22-rc-mm.orig/include/asm-x86_64/cpufeature.h +++ linux-2.6.22-rc-mm/include/asm-x86_64/cpufeature.h @@ -70,6 +70,7 @@ #define X86_FEATURE_ARCH_PERFMON (3*32+9) /* Intel Architectural PerfMon */ #define X86_FEATURE_PEBS (3*32+10) /* Precise-Event Based Sampling */ #define X86_FEATURE_BTS (3*32+11) /* Branch Trace Store */ +#define X86_FEATURE_IDA (3*32+12) /* Intel Dynamic Acceleration */ /* Intel-defined CPU features, CPUID level 0x00000001 (ecx), word 4 */ #define X86_FEATURE_XMM3 (4*32+ 0) /* Streaming SIMD Extensions-3 */ Index: linux-2.6.22-rc-mm/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c =================================================================== --- linux-2.6.22-rc-mm.orig/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c +++ linux-2.6.22-rc-mm/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c @@ -58,6 +58,7 @@ enum { #define INTEL_MSR_RANGE (0xffff) #define CPUID_6_ECX_APERFMPERF_CAPABILITY (0x1) +#define CPUID_6_EAX_IDA_CAPABILITY (0x2) struct acpi_cpufreq_data { struct acpi_processor_performance *acpi_data; @@ -699,10 +700,20 @@ static int acpi_cpufreq_cpu_init(struct /* Check for APERF/MPERF support in hardware */ if (c->x86_vendor == X86_VENDOR_INTEL && c->cpuid_level >= 6) { - unsigned int ecx; + unsigned int eax, ecx; ecx = cpuid_ecx(6); if (ecx & CPUID_6_ECX_APERFMPERF_CAPABILITY) acpi_cpufreq_driver.getavg = get_measured_perf; + + eax = cpuid_eax(6); + if (eax & CPUID_6_EAX_IDA_CAPABILITY) { + unsigned int i; + + for_each_cpu_mask(i, policy->cpus) { + struct cpuinfo_x86 *c = &cpu_data[i]; + set_bit(X86_FEATURE_IDA, c->x86_capability); + } + } } dprintk("CPU%u - ACPI performance management activated.\n", cpu); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ --=_mh.ndn.405b.4654c5da_=-- ----Next_Part(Wed_May_23_17_21_06_2007_980)----