diff options
author | 2020-10-13 15:35:57 +0800 | |
---|---|---|
committer | 2020-10-16 18:04:52 +0200 | |
commit | 9a4888888cc09b0ff3d0a1dd32df88742d29a293 (patch) | |
tree | 996376bd71c8900dd92afe2b656dae284ac609ee /drivers/usb/cdns3/cdns3-debug.h | |
parent | Merge tag 'acpi-5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff) | |
download | wireguard-linux-9a4888888cc09b0ff3d0a1dd32df88742d29a293.tar.xz wireguard-linux-9a4888888cc09b0ff3d0a1dd32df88742d29a293.zip |
ACPI: reboot: Avoid racing after writing to ACPI RESET_REG
According to the ACPI spec, "The system must reset immediately following
the write to the ACPI RESET_REG register.", but there are cases that the
system does not follow this and results in racing with the subsequetial
reboot mechanism, which brings unexpected behavior.
Fix this by adding a 15ms delay after writing to the ACPI RESET_REG.
Reported-by: Ghorai, Sukumar <sukumar.ghorai@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[ rjw: Edit comment in the code and subject ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions