1
0
Files
linux/drivers
Dan Williams 466d1493ea acpi, nfit: rework NVDIMM leaf method detection
Some BIOSen do not handle 0-byte transfer lengths for the _LSR and _LSW
(label storage read/write) methods. This causes Linux to fallback to the
deprecated _DSM path, or otherwise disable label support.

Introduce acpi_nvdimm_has_method() to detect whether a method is
available rather than calling the method, require _LSI and _LSR to be
paired, and require read support before enabling write support.

Cc: <stable@vger.kernel.org>
Fixes: 4b27db7e26 ("acpi, nfit: add support for the _LS...")
Suggested-by: Erik Schmauss <erik.schmauss@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2018-03-28 10:44:50 -07:00
..
2018-03-01 08:41:27 -07:00
2018-03-02 10:44:44 +01:00
2018-03-15 07:18:47 -07:00
2018-02-20 11:34:54 +00:00
2018-01-30 12:25:59 +00:00
2018-01-22 16:45:26 +01:00