diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-08-31 12:53:36 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-08-31 12:53:36 -0700 |
commit | a15797f4bef201544263ef5c264c3f48d78cc5d4 (patch) | |
tree | 6f879ef7a0f288e11615065f445cab90ee2a7ca6 /drivers/nvdimm/claim.c | |
parent | ed36b4dba54a421ce5551638f6a9790b2c2116b1 (diff) | |
download | op-kernel-dev-a15797f4bef201544263ef5c264c3f48d78cc5d4.zip op-kernel-dev-a15797f4bef201544263ef5c264c3f48d78cc5d4.tar.gz |
libnvdimm, nfit: export an 'ecc_unit_size' sysfs attribute
When the nfit driver initializes it runs an ARS (Address Range Scrub)
operation across every pmem range. Part of that process involves
determining the ARS capabilities of a given address range. One of the
capabilities that is reported is the 'Clear Uncorrectable Error Range
Length Unit Size' (see: ACPI 6.2 section 9.20.7.4 Function Index 1 -
Query ARS Capabilities). This property is of interest to userspace
software as it indicates the boundary at which the NVDIMM may need to
perform read-modify-write cycles to maintain ECC blocks.
Cc: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/claim.c')
0 files changed, 0 insertions, 0 deletions