lkml.org 
[lkml]   [2014]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 00/10] power/reset: Register drivers with restart handler
Date
Convert drivers to use the kernel restart handler instead of setting
arm_pm_restart directly.

This patch set depends on the kernel restart handler patchset submitted
earlier.

Patch 01/10 was tested with qemu. All other patches were compile tested only.

Some of the restart handlers loop forever after the reset instruction was
executed. It might makes sense to use mdelay() instead and return if resetting
the system failed. I did not implement that since I do not know what reasonable
delays would be.

The series does not include drivers to be introduced in the next commit window
(at91, versatile, st-poweroff). Those can be converted later. I also did not
convert the sun6i driver, in the assumption that it will be removed since the
sunxi watchdog driver will register a restart handler for the architecture.

v2: Added Tested-by: and Acked-by: tags where received.
Return error if restart handler registration fails.


\
 
 \ /
  Last update: 2014-09-30 20:21    [W:0.119 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site