x86/suspend: Sanity check more properties in enter_state()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 12 Aug 2019 14:14:13 +0000 (15:14 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 28 Aug 2019 17:48:44 +0000 (18:48 +0100)
commit87e7b4d5b0e60fe6d224d3074149833cde32334f
treebd8d2095e3628b8cbe79130b3a437b0909888cc2
parent27869ee00ef940d462a98b0e3b5b036098de4109
x86/suspend: Sanity check more properties in enter_state()

The logic depends on being run on CPU0, and in IDLE context.  Having this
explicitly identified allows for simplification of the whole S3 path.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/acpi/power.c