/[linux-patches]/genpatches-2.6/trunk/2.6.14/2710_ht-slowdown-2.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.14/2710_ht-slowdown-2.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations) (download) (as text)
Tue Mar 14 13:34:17 2006 UTC (14 years, 8 months ago) by johnm
File MIME type: text/x-diff
File size: 1675 byte(s)
2.6.14-11, rebase against local tree
1 From: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
2 Date: Thu, 15 Sep 2005 16:19:00 +0000 (-0400)
3 Subject: [ACPI] Prefer _CST over FADT for C-state capabilities
4 X-Git-Tag: v2.6.15-rc4
5 X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6d93c64803a5fea84839789aae13290419c62d92
6
7 [ACPI] Prefer _CST over FADT for C-state capabilities
8
9 Note: This ACPI standard compliance may cause regression
10 on some system, if they have _CST present, but _CST value
11 is bogus. "nocst" module parameter should workaround
12 that regression.
13
14 http://bugzilla.kernel.org/show_bug.cgi?id=5165
15
16 Signed-off-by: Venkatesh Pallipadi<venkatesh.pallipadi@intel.com>
17 Signed-off-by: Len Brown <len.brown@intel.com>
18 (cherry picked from 883baf7f7e81cca26f4683ae0d25ba48f094cc08 commit)
19 ---
20
21 --- a/drivers/acpi/processor_idle.c
22 +++ b/drivers/acpi/processor_idle.c
23 @@ -690,7 +690,7 @@ static int acpi_processor_get_power_info
24
25 /* Validate number of power states discovered */
26 if (pr->power.count < 2)
27 - status = -ENODEV;
28 + status = -EFAULT;
29
30 end:
31 acpi_os_free(buffer.pointer);
32 @@ -841,11 +841,11 @@ static int acpi_processor_get_power_info
33 * this function */
34
35 result = acpi_processor_get_power_info_cst(pr);
36 - if ((result) || (acpi_processor_power_verify(pr) < 2)) {
37 + if (result == -ENODEV)
38 result = acpi_processor_get_power_info_fadt(pr);
39 - if ((result) || (acpi_processor_power_verify(pr) < 2))
40 - result = acpi_processor_get_power_info_default_c1(pr);
41 - }
42 +
43 + if ((result) || (acpi_processor_power_verify(pr) < 2))
44 + result = acpi_processor_get_power_info_default_c1(pr);
45
46 /*
47 * Set Default Policy

  ViewVC Help
Powered by ViewVC 1.1.20