ACPI 6.2a provides an NFIT sub-table that informs if the platform has auto CPU flush and memory flush on unexpected power loss events. This series propogates those attributes to nd_region and add sysfs attribute to show those capabilities. v3: Addressed Ross's comments - fixed mask calculation for platform cap - fixed nfit_test nfit_buf size calcuation - fixed offset for test data structure v2: Per Dan's comments - Added ADR cap flags propogation - Added sysfs attribute --- Dave Jiang (4): acpi: nfit: Add support for detect platform CPU cache flush on power loss acpi: nfit: add persistent memory control flag for nd_region libnvdimm: expose platform persistence attribute for nd_region nfit-test: Add platform cap support from ACPI 6.2a to test drivers/acpi/nfit/core.c | 23 +++++++++++++++++++++++ drivers/acpi/nfit/nfit.h | 1 + drivers/nvdimm/pmem.c | 4 +++- drivers/nvdimm/region_devs.c | 13 +++++++++++++ include/linux/libnvdimm.h | 11 +++++++++++ tools/testing/nvdimm/test/nfit.c | 14 ++++++++++++-- 6 files changed, 63 insertions(+), 3 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