Skip to content

Commit

Permalink
Revert "PM: ACPI: reboot: Use S5 for reboot"
Browse files Browse the repository at this point in the history
This reverts commit d60cd06.

This patch causes a panic when rebooting my Dell Poweredge r440.  I do
not have the full panic log as it's lost at that stage of the reboot and
I do not have a serial console.  Reverting this patch makes my system
able to reboot again.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Josef Bacik authored and Rafael J. Wysocki committed Mar 18, 2021
1 parent 1e28eed commit 9d3fcb2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/reboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,6 @@ void migrate_to_reboot_cpu(void)
void kernel_restart(char *cmd)
{
kernel_restart_prepare(cmd);
if (pm_power_off_prepare)
pm_power_off_prepare();
migrate_to_reboot_cpu();
syscore_shutdown();
if (!cmd)
Expand Down

0 comments on commit 9d3fcb2

Please sign in to comment.