[PATCH] acpi: add NFIT and HMAT to the initrd override list

2017-12-08 Thread Dan Williams
These tables, NFIT and HMAT, are essential for describing next-generation platform memory topologies and performance characteristics. Allow them to be overridden for debug and test and purposes. Cc: Ross Zwisler Signed-off-by: Dan Williams

Re: [fstests PATCH v6 2/2] generic: add test for DAX MAP_SYNC support

2017-12-08 Thread Ross Zwisler
On Fri, Dec 08, 2017 at 02:36:10PM +0800, Eryu Guan wrote: > (Test was re-numbered as generic/470, BTW.) Thanks! For future reference, does the pattern of us submitting tests with high numbers (generic/999) to avoid merge conflicts and asking you to renumber them when you merge work for you?

Message could not be delivered

2017-12-08 Thread Mail Delivery Subsystem
The original message was included as attachment ___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm

Re: [PATCH] acpi, nfit: fix health event notification

2017-12-08 Thread Kani, Toshimitsu
On Thu, 2017-11-30 at 17:55 -0800, Dan Williams wrote: > Integration testing with a BIOS that generates injected health event > notifications fails to communicate those events to userspace. The nfit > driver neglects to link the ACPI DIMM device with the necessary driver > data so

[PATCH v2 1/4] acpi: nfit: Add support for detect platform CPU cache flush on power loss

2017-12-08 Thread Dave Jiang
In ACPI 6.2a the platform capability structure has been added to the NFIT tables. That provides software the ability to determine whether a system supports the auto flushing of CPU caches on power loss. If the capability is supported, we do not need to do dax_write_cache(). Plumbing the path to

[PATCH v2 0/4] add support for platform persistence capabilities

2017-12-08 Thread Dave Jiang
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. --- v2: Per Dan's comments - Added ADR cap flags

[PATCH v2 2/4] acpi: nfit: add persistent memory control flag for nd_region

2017-12-08 Thread Dave Jiang
Propogate the ADR attribute flag from the NFIT platform capabilities sub-table to nd_region. Signed-off-by: Dave Jiang --- drivers/acpi/nfit/core.c |3 +++ include/linux/libnvdimm.h |6 ++ 2 files changed, 9 insertions(+) diff --git a/drivers/acpi/nfit/core.c

[PATCH v2 4/4] nfit-test: Add platform cap support from ACPI 6.2a to test

2017-12-08 Thread Dave Jiang
Adding NFIT platform capabilities sub table in nfit_test simulated ACPI NFIT table. Only the first NFIT table is added with the capability sub-table. Signed-off-by: Dave Jiang --- tools/testing/nvdimm/test/nfit.c | 11 ++- 1 file changed, 10 insertions(+), 1

[PATCH v2 3/4] libnvdimm: expose platform persistence attribute for nd_region

2017-12-08 Thread Dave Jiang
Providing a sysfs attribute for nd_region that shows the persistence capabilities for the platform. Signed-off-by: Dave Jiang --- drivers/nvdimm/region_devs.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/nvdimm/region_devs.c