]> git.baikalelectronics.ru Git - kernel.git/commit
nfit: update address range scrub commands to the acpi 6.1 format
authorDan Williams <dan.j.williams@intel.com>
Wed, 17 Feb 2016 21:08:58 +0000 (13:08 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 24 Feb 2016 01:17:20 +0000 (17:17 -0800)
commit348c0c14466021c7a0a26aee3f1089eca2079411
tree8f12403a354a91c3ca67809697dcd6099d5f1bf1
parent00a47b91b21b28b02ca026b48d6a8fa632992f2a
nfit: update address range scrub commands to the acpi 6.1 format

The original format of these commands from the "NVDIMM DSM Interface
Example" [1] are superseded by the ACPI 6.1 definition of the "NVDIMM Root
Device _DSMs" [2].

[1]: http://pmem.io/documents/NVDIMM_DSM_Interface_Example.pdf
[2]: http://www.uefi.org/sites/default/files/resources/ACPI_6_1.pdf
     "9.20.7 NVDIMM Root Device _DSMs"

Changes include:
1/ New 'restart' fields in ars_status, unfortunately these are
   implemented in the middle of the existing definition so this change
   is not backwards compatible.  The expectation is that shipping
   platforms will only ever support the ACPI 6.1 definition.

2/ New status values for ars_start ('busy') and ars_status ('overflow').

Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Linda Knippers <linda.knippers@hpe.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit.c
drivers/nvdimm/bus.c
include/linux/libnvdimm.h
include/uapi/linux/ndctl.h