ACPI / bus: Support for platform initiated graceful shutdown
authorPrakash, Prashanth <pprakash@codeaurora.org>
Thu, 23 Jun 2016 18:24:26 +0000 (12:24 -0600)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 6 Jul 2016 21:30:50 +0000 (23:30 +0200)
commitbaa0c019b4c6eb1759cf55e7858badca4758c143
tree0634f2a32bc824e4ea20a0f72022b19493f20652
parent3af03f77cb6638c8384c712f8fc7febe07ae2424
ACPI / bus: Support for platform initiated graceful shutdown

This patch adds support for platform initited graceful shutdown as
described in sections 5.6.6(Table-143) and 6.3.5.1 of ACPI 6.1 spec

The OSPM will get a graceful shutdown request via a Notify operator
on \_SB device with a value of 0x81 per section 5.6.6. Following the
shutdown request from platform the OSPM needs to follow the
processing sequence as described in section 6.2.5.1.

v3
* Switched to regular work with delays from delayed work
* Dropped changes to actypes.h
* Small style changes

v2
* Switched from standalone driver to a simple notify handler

v1
* Initial

Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Signed-off-by: Prashanth Prakash <pprakash@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/bus.c