diff options
| author | Len Brown <len.brown@intel.com> | 2007-01-11 01:55:25 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2007-01-11 01:55:25 -0500 |
| commit | 85f4544fbf02f60993c76f5b92517a87f220472d (patch) | |
| tree | f88eb4526e9cb6684f93b04ab440b42634aa5728 | |
| parent | f3a2c3ee458bd614231e548c13acb0cf33a68631 (diff) | |
| parent | 8b59a454c421542a51c391f542c80d165f7547a0 (diff) | |
Pull trivial into release branch
| -rw-r--r-- | Documentation/feature-removal-schedule.txt | 45 | ||||
| -rw-r--r-- | MAINTAINERS | 39 | ||||
| -rw-r--r-- | arch/i386/kernel/acpi/cstate.c | 10 | ||||
| -rw-r--r-- | drivers/acpi/ec.c | 4 | ||||
| -rw-r--r-- | drivers/acpi/processor_core.c | 3 | ||||
| -rw-r--r-- | drivers/acpi/processor_perflib.c | 4 |
6 files changed, 86 insertions, 19 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index f2024df7ebe5..fc532395d116 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
| @@ -273,3 +273,48 @@ Why: Speedstep-centrino driver with ACPI hooks and acpi-cpufreq driver are | |||
| 273 | Who: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 273 | Who: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> |
| 274 | 274 | ||
| 275 | --------------------------- | 275 | --------------------------- |
| 276 | |||
| 277 | What: ACPI hotkey driver (CONFIG_ACPI_HOTKEY) | ||
| 278 | When: 2.6.21 | ||
| 279 | Why: hotkey.c was an attempt to consolidate multiple drivers that use | ||
| 280 | ACPI to implement hotkeys. However, hotkeys are not documented | ||
| 281 | in the ACPI specification, so the drivers used undocumented | ||
| 282 | vendor-specific hooks and turned out to be more different than | ||
| 283 | the same. | ||
| 284 | |||
| 285 | Further, the keys and the features supplied by each platform | ||
| 286 | are different, so there will always be a need for | ||
| 287 | platform-specific drivers. | ||
| 288 | |||
| 289 | So the new plan is to delete hotkey.c and instead, work on the | ||
| 290 | platform specific drivers to try to make them look the same | ||
| 291 | to the user when they supply the same features. | ||
| 292 | |||
| 293 | hotkey.c has always depended on CONFIG_EXPERIMENTAL | ||
| 294 | |||
| 295 | Who: Len Brown <len.brown@intel.com> | ||
| 296 | |||
| 297 | --------------------------- | ||
| 298 | |||
| 299 | What: /sys/firmware/acpi/namespace | ||
| 300 | When: 2.6.21 | ||
| 301 | Why: The ACPI namespace is effectively the symbol list for | ||
| 302 | the BIOS. The device names are completely arbitrary | ||
| 303 | and have no place being exposed to user-space. | ||
| 304 | |||
| 305 | For those interested in the BIOS ACPI namespace, | ||
| 306 | the BIOS can be extracted and disassembled with acpidump | ||
| 307 | and iasl as documented in the pmtools package here: | ||
| 308 | http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/utils | ||
| 309 | |||
| 310 | Who: Len Brown <len.brown@intel.com> | ||
| 311 | |||
| 312 | --------------------------- | ||
| 313 | |||
| 314 | What: /proc/acpi/button | ||
| 315 | When: August 2007 | ||
| 316 | Why: /proc/acpi/button has been replaced by events to the input layer | ||
| 317 | since 2.6.20. | ||
| 318 | Who: Len Brown <len.brown@intel.com> | ||
| 319 | |||
| 320 | --------------------------- | ||
diff --git a/MAINTAINERS b/MAINTAINERS index 4ccc5fa06d09..8e1d7da07ce3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
| @@ -207,16 +207,45 @@ S: Supported | |||
| 207 | ACPI | 207 | ACPI |
| 208 | P: Len Brown | 208 | P: Len Brown |
| 209 | M: len.brown@intel.com | 209 | M: len.brown@intel.com |
| 210 | M: lenb@kernel.org | ||
| 210 | L: linux-acpi@vger.kernel.org | 211 | L: linux-acpi@vger.kernel.org |
| 211 | W: http://acpi.sourceforge.net/ | 212 | W: http://acpi.sourceforge.net/ |
| 212 | T: git kernel.org:/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git | 213 | T: git kernel.org:/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6.git |
| 213 | S: Maintained | 214 | S: Supported |
| 215 | |||
| 216 | ACPI BATTERY DRIVERS | ||
| 217 | P: Vladimir P. Lebedev | ||
| 218 | M: vladimir.p.lebedev@intel.com | ||
| 219 | L: linux-acpi@vger.kernel.org | ||
| 220 | W: http://acpi.sourceforge.net/ | ||
| 221 | S: Supported | ||
| 222 | |||
| 223 | ACPI EC DRIVER | ||
| 224 | P: Alexey Starikovskiy | ||
| 225 | M: alexey.y.starikovskiy@linux.intel.com | ||
| 226 | L: linux-acpi@vger.kernel.org | ||
| 227 | W: http://acpi.sourceforge.net/ | ||
| 228 | S: Supported | ||
| 229 | |||
| 230 | ACPI FAN DRIVER | ||
| 231 | P: Konstantin A. Karasyov | ||
| 232 | M: konstantin.a.karasyov@intel.com | ||
| 233 | L: linux-acpi@vger.kernel.org | ||
| 234 | W: http://acpi.sourceforge.net/ | ||
| 235 | S: Supported | ||
| 214 | 236 | ||
| 215 | ACPI PCI HOTPLUG DRIVER | 237 | ACPI PCI HOTPLUG DRIVER |
| 216 | P: Kristen Carlson Accardi | 238 | P: Kristen Carlson Accardi |
| 217 | M: kristen.c.accardi@intel.com | 239 | M: kristen.c.accardi@intel.com |
| 218 | L: pcihpd-discuss@lists.sourceforge.net | 240 | L: pcihpd-discuss@lists.sourceforge.net |
| 219 | S: Maintained | 241 | S: Supported |
| 242 | |||
| 243 | ACPI THERMAL DRIVER | ||
| 244 | P: Konstantin A. Karasyov | ||
| 245 | M: konstantin.a.karasyov@intel.com | ||
| 246 | L: linux-acpi@vger.kernel.org | ||
| 247 | W: http://acpi.sourceforge.net/ | ||
| 248 | S: Supported | ||
| 220 | 249 | ||
| 221 | AD1816 SOUND DRIVER | 250 | AD1816 SOUND DRIVER |
| 222 | P: Thorsten Knabe | 251 | P: Thorsten Knabe |
| @@ -1085,7 +1114,7 @@ DOCKING STATION DRIVER | |||
| 1085 | P: Kristen Carlson Accardi | 1114 | P: Kristen Carlson Accardi |
| 1086 | M: kristen.c.accardi@intel.com | 1115 | M: kristen.c.accardi@intel.com |
| 1087 | L: linux-acpi@vger.kernel.org | 1116 | L: linux-acpi@vger.kernel.org |
| 1088 | S: Maintained | 1117 | S: Supported |
| 1089 | 1118 | ||
| 1090 | DOUBLETALK DRIVER | 1119 | DOUBLETALK DRIVER |
| 1091 | P: James R. Van Zandt | 1120 | P: James R. Van Zandt |
| @@ -2535,7 +2564,7 @@ PCIE HOTPLUG DRIVER | |||
| 2535 | P: Kristen Carlson Accardi | 2564 | P: Kristen Carlson Accardi |
| 2536 | M: kristen.c.accardi@intel.com | 2565 | M: kristen.c.accardi@intel.com |
| 2537 | L: pcihpd-discuss@lists.sourceforge.net | 2566 | L: pcihpd-discuss@lists.sourceforge.net |
| 2538 | S: Maintained | 2567 | S: Supported |
| 2539 | 2568 | ||
| 2540 | PCMCIA SUBSYSTEM | 2569 | PCMCIA SUBSYSTEM |
| 2541 | P: Linux PCMCIA Team | 2570 | P: Linux PCMCIA Team |
| @@ -3035,7 +3064,7 @@ SHPC HOTPLUG DRIVER | |||
| 3035 | P: Kristen Carlson Accardi | 3064 | P: Kristen Carlson Accardi |
| 3036 | M: kristen.c.accardi@intel.com | 3065 | M: kristen.c.accardi@intel.com |
| 3037 | L: pcihpd-discuss@lists.sourceforge.net | 3066 | L: pcihpd-discuss@lists.sourceforge.net |
| 3038 | S: Maintained | 3067 | S: Supported |
| 3039 | 3068 | ||
| 3040 | SECURE DIGITAL HOST CONTROLLER INTERFACE DRIVER | 3069 | SECURE DIGITAL HOST CONTROLLER INTERFACE DRIVER |
| 3041 | P: Pierre Ossman | 3070 | P: Pierre Ossman |
diff --git a/arch/i386/kernel/acpi/cstate.c b/arch/i386/kernel/acpi/cstate.c index 12e937c1ce4b..2d39f55d29a8 100644 --- a/arch/i386/kernel/acpi/cstate.c +++ b/arch/i386/kernel/acpi/cstate.c | |||
| @@ -47,13 +47,13 @@ EXPORT_SYMBOL(acpi_processor_power_init_bm_check); | |||
| 47 | 47 | ||
| 48 | /* The code below handles cstate entry with monitor-mwait pair on Intel*/ | 48 | /* The code below handles cstate entry with monitor-mwait pair on Intel*/ |
| 49 | 49 | ||
| 50 | struct cstate_entry_s { | 50 | struct cstate_entry { |
| 51 | struct { | 51 | struct { |
| 52 | unsigned int eax; | 52 | unsigned int eax; |
| 53 | unsigned int ecx; | 53 | unsigned int ecx; |
| 54 | } states[ACPI_PROCESSOR_MAX_POWER]; | 54 | } states[ACPI_PROCESSOR_MAX_POWER]; |
| 55 | }; | 55 | }; |
| 56 | static struct cstate_entry_s *cpu_cstate_entry; /* per CPU ptr */ | 56 | static struct cstate_entry *cpu_cstate_entry; /* per CPU ptr */ |
| 57 | 57 | ||
| 58 | static short mwait_supported[ACPI_PROCESSOR_MAX_POWER]; | 58 | static short mwait_supported[ACPI_PROCESSOR_MAX_POWER]; |
| 59 | 59 | ||
| @@ -71,7 +71,7 @@ static short mwait_supported[ACPI_PROCESSOR_MAX_POWER]; | |||
| 71 | int acpi_processor_ffh_cstate_probe(unsigned int cpu, | 71 | int acpi_processor_ffh_cstate_probe(unsigned int cpu, |
| 72 | struct acpi_processor_cx *cx, struct acpi_power_register *reg) | 72 | struct acpi_processor_cx *cx, struct acpi_power_register *reg) |
| 73 | { | 73 | { |
| 74 | struct cstate_entry_s *percpu_entry; | 74 | struct cstate_entry *percpu_entry; |
| 75 | struct cpuinfo_x86 *c = cpu_data + cpu; | 75 | struct cpuinfo_x86 *c = cpu_data + cpu; |
| 76 | 76 | ||
| 77 | cpumask_t saved_mask; | 77 | cpumask_t saved_mask; |
| @@ -136,7 +136,7 @@ EXPORT_SYMBOL_GPL(acpi_processor_ffh_cstate_probe); | |||
| 136 | void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx) | 136 | void acpi_processor_ffh_cstate_enter(struct acpi_processor_cx *cx) |
| 137 | { | 137 | { |
| 138 | unsigned int cpu = smp_processor_id(); | 138 | unsigned int cpu = smp_processor_id(); |
| 139 | struct cstate_entry_s *percpu_entry; | 139 | struct cstate_entry *percpu_entry; |
| 140 | 140 | ||
| 141 | percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu); | 141 | percpu_entry = per_cpu_ptr(cpu_cstate_entry, cpu); |
| 142 | mwait_idle_with_hints(percpu_entry->states[cx->index].eax, | 142 | mwait_idle_with_hints(percpu_entry->states[cx->index].eax, |
| @@ -150,7 +150,7 @@ static int __init ffh_cstate_init(void) | |||
| 150 | if (c->x86_vendor != X86_VENDOR_INTEL) | 150 | if (c->x86_vendor != X86_VENDOR_INTEL) |
| 151 | return -1; | 151 | return -1; |
| 152 | 152 | ||
| 153 | cpu_cstate_entry = alloc_percpu(struct cstate_entry_s); | 153 | cpu_cstate_entry = alloc_percpu(struct cstate_entry); |
| 154 | return 0; | 154 | return 0; |
| 155 | } | 155 | } |
| 156 | 156 | ||
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index 4144d5dd442e..cbdf031f3c09 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c | |||
| @@ -1016,8 +1016,8 @@ static int __init acpi_ec_set_intr_mode(char *str) | |||
| 1016 | acpi_ec_mode = EC_POLL; | 1016 | acpi_ec_mode = EC_POLL; |
| 1017 | } | 1017 | } |
| 1018 | acpi_ec_driver.ops.add = acpi_ec_add; | 1018 | acpi_ec_driver.ops.add = acpi_ec_add; |
| 1019 | ACPI_DEBUG_PRINT((ACPI_DB_INFO, "EC %s mode.\n", | 1019 | printk(KERN_NOTICE PREFIX "%s mode.\n", |
| 1020 | intr ? "interrupt" : "polling")); | 1020 | intr ? "interrupt" : "polling"); |
| 1021 | 1021 | ||
| 1022 | return 1; | 1022 | return 1; |
| 1023 | } | 1023 | } |
diff --git a/drivers/acpi/processor_core.c b/drivers/acpi/processor_core.c index 25718fed39f1..5f9496d59ed6 100644 --- a/drivers/acpi/processor_core.c +++ b/drivers/acpi/processor_core.c | |||
| @@ -476,9 +476,6 @@ static int acpi_processor_get_info(struct acpi_processor *pr) | |||
| 476 | if (cpu_index == -1) { | 476 | if (cpu_index == -1) { |
| 477 | if (ACPI_FAILURE | 477 | if (ACPI_FAILURE |
| 478 | (acpi_processor_hotadd_init(pr->handle, &pr->id))) { | 478 | (acpi_processor_hotadd_init(pr->handle, &pr->id))) { |
| 479 | printk(KERN_ERR PREFIX | ||
| 480 | "Getting cpuindex for acpiid 0x%x\n", | ||
| 481 | pr->acpi_id); | ||
| 482 | return -ENODEV; | 479 | return -ENODEV; |
| 483 | } | 480 | } |
| 484 | } | 481 | } |
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index 0e60382714bb..5207f9e4b443 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c | |||
| @@ -736,10 +736,6 @@ int acpi_processor_preregister_performance( | |||
| 736 | } | 736 | } |
| 737 | 737 | ||
| 738 | err_ret: | 738 | err_ret: |
| 739 | if (retval) { | ||
| 740 | ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "Error while parsing _PSD domain information. Assuming no coordination\n")); | ||
| 741 | } | ||
| 742 | |||
| 743 | for_each_possible_cpu(i) { | 739 | for_each_possible_cpu(i) { |
| 744 | pr = processors[i]; | 740 | pr = processors[i]; |
| 745 | if (!pr || !pr->performance) | 741 | if (!pr || !pr->performance) |
