Message ID | 1478354115.19557.17.camel@intel.com (mailing list archive) |
---|---|
State | Deferred, archived |
Headers | show |
Hi! BTW.. This machine has nasty habit of hanging during kernel boot when it is "hot".. which makes reboots unplesant here. Ideas would be welcome how to debug that. Best regards, Pavel
Hi! Thanks to Srinivas, bug tracking moved to bugzilla at https://bugzilla.kernel.org/show_bug.cgi?id=187311 , it is regression from v4.8-final. Easiest way to observe it is that cpufreq/bios_limit does not change in v4.9, where it goes lower with high temperature on v4.8. Best regards, Pavel
Hi! Bisection was not fun, but I've got the result: # first bad commit: [6ea8c546f3655a81f82672f24b66dad6095bdd07] ACPICA: FADT support cleanup I've reverted the patch on top of 4.9-rc4, and thermal management now works. More details are in https://bugzilla.kernel.org/show_bug.cgi?id=187311 As this breaks thermal management on both thinkpad X60 and T40p, can I ask for a revert? If you have other ideas, I can test them, but as this is just a cleanup, it can wait for 4.10... Thanks, Pavel
On Mon, Nov 14, 2016 at 8:03 PM, Pavel Machek <pavel@ucw.cz> wrote: > Hi! > > Bisection was not fun, but I've got the result: > > # first bad commit: [6ea8c546f3655a81f82672f24b66dad6095bdd07] ACPICA: > FADT support cleanup Bob? > I've reverted the patch on top of 4.9-rc4, and thermal management now works. > > More details are in https://bugzilla.kernel.org/show_bug.cgi?id=187311 > > As this breaks thermal management on both thinkpad X60 and T40p, can > I ask for a revert? > > If you have other ideas, I can test them, but as this is just a > cleanup, it can wait for 4.10... Right. Besides, we're in the -rc6 time frame now, so I'll queue up a revert. Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe platform-driver-x86" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index bb01dea..6074995 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c @@ -94,9 +94,14 @@ static int acpi_processor_ppc_notifier(struct notifier_block *nb, ppc = (unsigned int)pr->performance_platform_limit; + printk(KERN_ERR "ppc = %d\n", ppc); + if (ppc >= pr->performance->state_count) goto out; + printk(KERN_ERR "ppc = %d freq-limit %d\n", ppc, pr- >performance->states[ppc]. + core_frequency * 1000); + cpufreq_verify_within_limits(policy, 0,