Skip to content

Commit

Permalink
acpi, nfit: add 'Enable Latch System Shutdown Status' command support
Browse files Browse the repository at this point in the history
The NVDIMM_FAMILY_INTEL 'Enable Latch System Shutdown Status' command
indicates to the platform that system software has acknowledged the most
recent unsafe shutdown status.

Signed-off-by: Dan Williams <[email protected]>
  • Loading branch information
djbw committed Nov 16, 2017
1 parent fb2a174 commit 79ab67e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/acpi/nfit/nfit.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
* non-default DSM revision ids
*/
enum nvdimm_family_cmds {
NVDIMM_INTEL_LATCH_SHUTDOWN = 10,
NVDIMM_INTEL_GET_MODES = 11,
NVDIMM_INTEL_GET_FWINFO = 12,
NVDIMM_INTEL_START_FWUPDATE = 13,
Expand All @@ -66,7 +67,7 @@ enum nvdimm_family_cmds {
| 1 << NVDIMM_INTEL_GET_FWINFO | 1 << NVDIMM_INTEL_START_FWUPDATE \
| 1 << NVDIMM_INTEL_SEND_FWUPDATE | 1 << NVDIMM_INTEL_FINISH_FWUPDATE \
| 1 << NVDIMM_INTEL_QUERY_FWUPDATE | 1 << NVDIMM_INTEL_SET_THRESHOLD \
| 1 << NVDIMM_INTEL_INJECT_ERROR)
| 1 << NVDIMM_INTEL_INJECT_ERROR | 1 << NVDIMM_INTEL_LATCH_SHUTDOWN)

enum nfit_uuids {
/* for simplicity alias the uuid index with the family id */
Expand Down

0 comments on commit 79ab67e

Please sign in to comment.