diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-27 13:38:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-27 13:38:48 -0400 |
commit | 73964f6bc8e378715887592abe8a512f403db6a8 (patch) | |
tree | c4aaab48d36ed06243542518ff644c654bdaf586 | |
parent | 9d98ece16f1a1df0f456a2ee9429d03e82e839a2 (diff) | |
parent | e56d953d190061938b31cabbe01b7f3d76c60bd0 (diff) |
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
ACPI: IA64=y ACPI=n build fix
ACPI: Kill overly verbose "power state" log messages
ACPI: fix Compaq Evo N800c (Pentium 4m) boot hang regression
ACPI: Clarify resource conflict message
thinkpad-acpi: fix CONFIG_THINKPAD_ACPI_HOTKEY_POLL build problem
-rw-r--r-- | arch/ia64/include/asm/acpi.h | 2 | ||||
-rw-r--r-- | arch/x86/kernel/acpi/cstate.c | 2 | ||||
-rw-r--r-- | drivers/acpi/osl.c | 8 | ||||
-rw-r--r-- | drivers/acpi/processor_idle.c | 7 | ||||
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 2 |
5 files changed, 12 insertions, 9 deletions
diff --git a/arch/ia64/include/asm/acpi.h b/arch/ia64/include/asm/acpi.h index 0f82cc2934e1..91df9686a0da 100644 --- a/arch/ia64/include/asm/acpi.h +++ b/arch/ia64/include/asm/acpi.h | |||
@@ -89,10 +89,12 @@ ia64_acpi_release_global_lock (unsigned int *lock) | |||
89 | #define ACPI_RELEASE_GLOBAL_LOCK(facs, Acq) \ | 89 | #define ACPI_RELEASE_GLOBAL_LOCK(facs, Acq) \ |
90 | ((Acq) = ia64_acpi_release_global_lock(&facs->global_lock)) | 90 | ((Acq) = ia64_acpi_release_global_lock(&facs->global_lock)) |
91 | 91 | ||
92 | #ifdef CONFIG_ACPI | ||
92 | #define acpi_disabled 0 /* ACPI always enabled on IA64 */ | 93 | #define acpi_disabled 0 /* ACPI always enabled on IA64 */ |
93 | #define acpi_noirq 0 /* ACPI always enabled on IA64 */ | 94 | #define acpi_noirq 0 /* ACPI always enabled on IA64 */ |
94 | #define acpi_pci_disabled 0 /* ACPI PCI always enabled on IA64 */ | 95 | #define acpi_pci_disabled 0 /* ACPI PCI always enabled on IA64 */ |
95 | #define acpi_strict 1 /* no ACPI spec workarounds on IA64 */ | 96 | #define acpi_strict 1 /* no ACPI spec workarounds on IA64 */ |
97 | #endif | ||
96 | #define acpi_processor_cstate_check(x) (x) /* no idle limits on IA64 :) */ | 98 | #define acpi_processor_cstate_check(x) (x) /* no idle limits on IA64 :) */ |
97 | static inline void disable_acpi(void) { } | 99 | static inline void disable_acpi(void) { } |
98 | 100 | ||
diff --git a/arch/x86/kernel/acpi/cstate.c b/arch/x86/kernel/acpi/cstate.c index 8c44c232efcb..59cdfa4686b2 100644 --- a/arch/x86/kernel/acpi/cstate.c +++ b/arch/x86/kernel/acpi/cstate.c | |||
@@ -48,7 +48,7 @@ void acpi_processor_power_init_bm_check(struct acpi_processor_flags *flags, | |||
48 | * P4, Core and beyond CPUs | 48 | * P4, Core and beyond CPUs |
49 | */ | 49 | */ |
50 | if (c->x86_vendor == X86_VENDOR_INTEL && | 50 | if (c->x86_vendor == X86_VENDOR_INTEL && |
51 | (c->x86 > 0x6 || (c->x86 == 6 && c->x86_model >= 14))) | 51 | (c->x86 > 0xf || (c->x86 == 6 && c->x86_model >= 14))) |
52 | flags->bm_control = 0; | 52 | flags->bm_control = 0; |
53 | } | 53 | } |
54 | EXPORT_SYMBOL(acpi_processor_power_init_bm_check); | 54 | EXPORT_SYMBOL(acpi_processor_power_init_bm_check); |
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 5633b86e3ed1..7c1c59ea9ec6 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -1161,7 +1161,13 @@ int acpi_check_resource_conflict(struct resource *res) | |||
1161 | res_list_elem->name, | 1161 | res_list_elem->name, |
1162 | (long long) res_list_elem->start, | 1162 | (long long) res_list_elem->start, |
1163 | (long long) res_list_elem->end); | 1163 | (long long) res_list_elem->end); |
1164 | printk(KERN_INFO "ACPI: Device needs an ACPI driver\n"); | 1164 | if (acpi_enforce_resources == ENFORCE_RESOURCES_LAX) |
1165 | printk(KERN_NOTICE "ACPI: This conflict may" | ||
1166 | " cause random problems and system" | ||
1167 | " instability\n"); | ||
1168 | printk(KERN_INFO "ACPI: If an ACPI driver is available" | ||
1169 | " for this device, you should use it instead of" | ||
1170 | " the native driver\n"); | ||
1165 | } | 1171 | } |
1166 | if (acpi_enforce_resources == ENFORCE_RESOURCES_STRICT) | 1172 | if (acpi_enforce_resources == ENFORCE_RESOURCES_STRICT) |
1167 | return -EBUSY; | 1173 | return -EBUSY; |
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index cc61a6220102..706eacf49f4e 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c | |||
@@ -1214,13 +1214,6 @@ int __cpuinit acpi_processor_power_init(struct acpi_processor *pr, | |||
1214 | acpi_processor_setup_cpuidle(pr); | 1214 | acpi_processor_setup_cpuidle(pr); |
1215 | if (cpuidle_register_device(&pr->power.dev)) | 1215 | if (cpuidle_register_device(&pr->power.dev)) |
1216 | return -EIO; | 1216 | return -EIO; |
1217 | |||
1218 | printk(KERN_INFO PREFIX "CPU%d (power states:", pr->id); | ||
1219 | for (i = 1; i <= pr->power.count; i++) | ||
1220 | if (pr->power.states[i].valid) | ||
1221 | printk(" C%d[C%d]", i, | ||
1222 | pr->power.states[i].type); | ||
1223 | printk(")\n"); | ||
1224 | } | 1217 | } |
1225 | #ifdef CONFIG_ACPI_PROCFS | 1218 | #ifdef CONFIG_ACPI_PROCFS |
1226 | /* 'power' [R] */ | 1219 | /* 'power' [R] */ |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 3910f2f3eada..d93108d148fc 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -2235,7 +2235,9 @@ static int tpacpi_hotkey_driver_mask_set(const u32 mask) | |||
2235 | 2235 | ||
2236 | HOTKEY_CONFIG_CRITICAL_START | 2236 | HOTKEY_CONFIG_CRITICAL_START |
2237 | hotkey_driver_mask = mask; | 2237 | hotkey_driver_mask = mask; |
2238 | #ifdef CONFIG_THINKPAD_ACPI_HOTKEY_POLL | ||
2238 | hotkey_source_mask |= (mask & ~hotkey_all_mask); | 2239 | hotkey_source_mask |= (mask & ~hotkey_all_mask); |
2240 | #endif | ||
2239 | HOTKEY_CONFIG_CRITICAL_END | 2241 | HOTKEY_CONFIG_CRITICAL_END |
2240 | 2242 | ||
2241 | rc = hotkey_mask_set((hotkey_acpi_mask | hotkey_driver_mask) & | 2243 | rc = hotkey_mask_set((hotkey_acpi_mask | hotkey_driver_mask) & |