diff options
author | Baolin Wang | 2018-03-20 03:42:14 +0100 |
---|---|---|
committer | Mark Brown | 2018-03-21 02:55:19 +0100 |
commit | ac1775012058e13ef1522938e27f5973d9e3f053 (patch) | |
tree | c64b5a4f26a2a7094c76d6e444718983b17f751a /drivers/infiniband | |
parent | spi: sprd: Simplify the transfer function (diff) | |
download | kernel-qcow2-linux-ac1775012058e13ef1522938e27f5973d9e3f053.tar.gz kernel-qcow2-linux-ac1775012058e13ef1522938e27f5973d9e3f053.tar.xz kernel-qcow2-linux-ac1775012058e13ef1522938e27f5973d9e3f053.zip |
spi: sprd: Add the support of restarting the system
On Spreadtrum platform, we use one PMIC watchdog to reset the whole system
with loading one suitable timeout value (usually 50ms) for the watchdog.
In theory, we should implement the restart function in drivers/power/reset
subsystem to access the PMIC watchdog with regmap. When restart the system,
other cores will be stopped by IPI, but if other cores were accessing PMIC
with holding the regmap mutex lock, that will cause dead-lock issue if we
try to access the PMIC watchdog with regmap to restart the whole system.
Thus we can implement the restart function in ADI driver to avoid this
issue.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions