Changes since v1: * moved the rename of nfit_mem_dcr_init() to __nfit_mem_init() to "acpi, nfit: support 'map failed' dimms" * added "acpi, nfit: collate health state flags" * added "tools/testing/nvdimm: fix nfit_test shutdown crashes" --- With Dave's recent fix [1], we can restore error clearing for btt i/o in 4.12. ACPI 6.1 introduced new health state flags. Beyond reflecting them in the dimmX/flags sysfs attribute we also need to handle the deeper implications of the ACPI_NFIT_MEM_MAP_FAILED flag which changes assumptions on how the driver discovers dimms. In the "map failed" case there may missing or no SPA entries associated with a dimm. Those dimms should still be registered with libnvdimm so that the error state can be communicated and recovery attempted. [1]: https://patchwork.kernel.org/patch/9680035/ --- Dan Williams (7): Revert "libnvdimm: band aid btt vs clear poison locking" acpi, nfit: add support for acpi 6.1 dimm state flags tools/testing/nvdimm: test acpi 6.1 health state flags acpi, nfit: support "map failed" dimms acpi, nfit: collate health state flags acpi, nfit: limit ->flush_probe() to initialization work tools/testing/nvdimm: fix nfit_test shutdown crashes drivers/acpi/nfit/core.c | 82 +++++++++++++++++++++++++++++++------- drivers/acpi/nfit/nfit.h | 3 + drivers/nvdimm/claim.c | 10 ----- tools/testing/nvdimm/test/nfit.c | 50 +++++++++++++++++++++-- 4 files changed, 115 insertions(+), 30 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html