Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pm-3.9-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fixes from Rafael Wysocki:

- System reboot/halt fix related to CPU offline ordering from Huacai
Chen.

- intel_pstate driver fix for a delay time computation error
occasionally crashing systems using it from Dirk Brandewie.

* tag 'pm-3.9-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM / reboot: call syscore_shutdown() after disable_nonboot_cpus()
cpufreq / intel_pstate: Set timer timeout correctly

+2 -2
-1
drivers/cpufreq/intel_pstate.c
··· 502 502 503 503 sample_time = cpu->pstate_policy->sample_rate_ms; 504 504 delay = msecs_to_jiffies(sample_time); 505 - delay -= jiffies % delay; 506 505 mod_timer_pinned(&cpu->timer, jiffies + delay); 507 506 } 508 507
+2 -1
kernel/sys.c
··· 324 324 system_state = SYSTEM_RESTART; 325 325 usermodehelper_disable(); 326 326 device_shutdown(); 327 - syscore_shutdown(); 328 327 } 329 328 330 329 /** ··· 369 370 { 370 371 kernel_restart_prepare(cmd); 371 372 disable_nonboot_cpus(); 373 + syscore_shutdown(); 372 374 if (!cmd) 373 375 printk(KERN_EMERG "Restarting system.\n"); 374 376 else ··· 395 395 void kernel_halt(void) 396 396 { 397 397 kernel_shutdown_prepare(SYSTEM_HALT); 398 + disable_nonboot_cpus(); 398 399 syscore_shutdown(); 399 400 printk(KERN_EMERG "System halted.\n"); 400 401 kmsg_dump(KMSG_DUMP_HALT);