All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] add support for platform persistence capabilities
@ 2018-01-31  0:01 ` Dave Jiang
  0 siblings, 0 replies; 14+ messages in thread
From: Dave Jiang @ 2018-01-31  0:01 UTC (permalink / raw)
  To: dan.j.williams, ross.zwisler; +Cc: linux-acpi, linux-nvdimm

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(-)

--

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-01-31  0:15 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-31  0:01 [PATCH v3 0/4] add support for platform persistence capabilities Dave Jiang
2018-01-31  0:01 ` Dave Jiang
2018-01-31  0:01 ` [PATCH v3 1/4] acpi: nfit: Add support for detect platform CPU cache flush on power loss Dave Jiang
2018-01-31  0:01   ` Dave Jiang
2018-01-31  0:13   ` Ross Zwisler
2018-01-31  0:13     ` Ross Zwisler
2018-01-31  0:01 ` [PATCH v3 2/4] acpi: nfit: add persistent memory control flag for nd_region Dave Jiang
2018-01-31  0:01   ` Dave Jiang
2018-01-31  0:01 ` [PATCH v3 3/4] libnvdimm: expose platform persistence attribute " Dave Jiang
2018-01-31  0:01   ` Dave Jiang
     [not found] ` <151735668391.34477.11820724492631561208.stgit-Cxk7aZI4ujnJARH06PadV2t3HXsI98Cx0E9HWUfgJXw@public.gmane.org>
2018-01-31  0:01   ` [PATCH v3 4/4] nfit-test: Add platform cap support from ACPI 6.2a to test Dave Jiang
2018-01-31  0:01     ` Dave Jiang
2018-01-31  0:15     ` Ross Zwisler
2018-01-31  0:15       ` Ross Zwisler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.