x86/suspend: disable watchdog before calling console_start_sync()
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Wed, 29 Jan 2020 14:06:10 +0000 (15:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 29 Jan 2020 14:06:10 +0000 (15:06 +0100)
commit5e08f5f56c9955d853c26c985b6fb1fb45d0355d
tree71617741872e2905e28a094892fb5a32ab13781b
parenta29f19f7476a13cd6d7757b3aa5eb26ffd9e3c54
x86/suspend: disable watchdog before calling console_start_sync()

... and enable it after exiting S-state. Otherwise accumulated
output in serial buffer might easily trigger the watchdog if it's
still enabled after entering sync transmission mode.

The issue observed on machines which, unfortunately, generate non-0
output in CPU offline callbacks.

Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/power.c