diff options
author | Len Brown <len.brown@intel.com> | 2009-04-05 01:52:07 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-04-05 01:52:07 -0400 |
commit | 8a3f257c704e02aee9869decd069a806b45be3f1 (patch) | |
tree | adb9d3766c57119381304c3b94334997cc7a74a7 /arch | |
parent | 33526a53600ac887d100e3c9b4be3637ac8ae3a5 (diff) | |
parent | 15065531c1c5902775ae3ade24eb37d0e688353b (diff) |
Merge branch 'misc' into release
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 2 | ||||
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | 12 |
2 files changed, 13 insertions, 1 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c index 565e70c7ca93..4f942096291d 100644 --- a/arch/x86/kernel/acpi/boot.c +++ b/arch/x86/kernel/acpi/boot.c | |||
@@ -1548,7 +1548,7 @@ static int __init dmi_ignore_irq0_timer_override(const struct dmi_system_id *d) | |||
1548 | 1548 | ||
1549 | /* | 1549 | /* |
1550 | * If your system is blacklisted here, but you find that acpi=force | 1550 | * If your system is blacklisted here, but you find that acpi=force |
1551 | * works for you, please contact acpi-devel@sourceforge.net | 1551 | * works for you, please contact linux-acpi@vger.kernel.org |
1552 | */ | 1552 | */ |
1553 | static struct dmi_system_id __initdata acpi_dmi_table[] = { | 1553 | static struct dmi_system_id __initdata acpi_dmi_table[] = { |
1554 | /* | 1554 | /* |
diff --git a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c index 4b1c319d30c3..89c676d6caf7 100644 --- a/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c +++ b/arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c | |||
@@ -680,6 +680,18 @@ static int acpi_cpufreq_cpu_init(struct cpufreq_policy *policy) | |||
680 | perf->states[i].transition_latency * 1000; | 680 | perf->states[i].transition_latency * 1000; |
681 | } | 681 | } |
682 | 682 | ||
683 | /* Check for high latency (>20uS) from buggy BIOSes, like on T42 */ | ||
684 | if (perf->control_register.space_id == ACPI_ADR_SPACE_FIXED_HARDWARE && | ||
685 | policy->cpuinfo.transition_latency > 20 * 1000) { | ||
686 | static int print_once; | ||
687 | policy->cpuinfo.transition_latency = 20 * 1000; | ||
688 | if (!print_once) { | ||
689 | print_once = 1; | ||
690 | printk(KERN_INFO "Capping off P-state tranision latency" | ||
691 | " at 20 uS\n"); | ||
692 | } | ||
693 | } | ||
694 | |||
683 | data->max_freq = perf->states[0].core_frequency * 1000; | 695 | data->max_freq = perf->states[0].core_frequency * 1000; |
684 | /* table init */ | 696 | /* table init */ |
685 | for (i=0; i<perf->state_count; i++) { | 697 | for (i=0; i<perf->state_count; i++) { |