From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Williams, Dan J" Subject: [GIT PULL] libnvdimm fixes for 4.17-rc2 Date: Sun, 22 Apr 2018 00:17:25 +0000 Message-ID: <1524356236.26036.13.camel@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Language: en-US Content-ID: <07665B705A136D459F8F248D670F4E73-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: "torvalds-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org" Cc: "linux-acpi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org" List-Id: linux-acpi@vger.kernel.org Hi Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive, a regression fix, new unit test infrastructure and a build fix. * The regression fix addresses support for the new NVDIMM label storage area access commands (_LSI, _LSR, and _LSW). The Intel specific version of these commands communicated the "Device Locked" status on the label- storage-information command. However, these new commands (standardized in ACPI 6.2) communicate the "Device Locked" status on the label- storage-read command, and the driver was missing the indication. Reading from locked persistent memory is similar to reading unmapped PCI memory space, returns all 1's. * Unit test infrastructure is added to regression test the "Device Locked" detection failure. * A build fix is included to allow the "of_pmem" driver to be built as a module and translate an Open Firmware described device to its local numa node. --- The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes for you to fetch changes up to c5794510d7b5f210f05531ff9e82432cf7244367: MAINTAINERS: Add backup maintainers for libnvdimm and DAX (2018-04-19 15:22:50 -0700) ---------------------------------------------------------------- Dan Williams (6): libnvdimm, dimm: handle EACCES failures from label reads tools/testing/nvdimm: allow custom error code injection tools/testing/nvdimm: support nfit_test_dimm attributes under nfit_test.1 tools/testing/nvdimm: fix missing newline in nfit_test_dimm 'handle' attribute tools/testing/nvdimm: enable labels for nfit_test.1 dimms Revert "libnvdimm, of_pmem: workaround OF_NUMA=n build error" Dave Jiang (2): device-dax: allow MAP_SYNC to succeed MAINTAINERS: Add backup maintainers for libnvdimm and DAX Rob Herring (1): libnvdimm, of_pmem: use dev_to_node() instead of of_node_to_nid() MAINTAINERS | 15 +++++++ drivers/dax/device.c | 2 + drivers/nvdimm/Kconfig | 3 +- drivers/nvdimm/dimm_devs.c | 22 ++++++----- drivers/nvdimm/of_pmem.c | 2 +- tools/testing/nvdimm/test/nfit.c | 84 +++++++++++++++++++++++++++++++--------- 6 files changed, 96 insertions(+), 32 deletions(-) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 97722228392E0 for ; Sat, 21 Apr 2018 17:17:28 -0700 (PDT) From: "Williams, Dan J" Subject: [GIT PULL] libnvdimm fixes for 4.17-rc2 Date: Sun, 22 Apr 2018 00:17:25 +0000 Message-ID: <1524356236.26036.13.camel@intel.com> Content-Language: en-US Content-ID: <07665B705A136D459F8F248D670F4E73@intel.com> MIME-Version: 1.0 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: "torvalds@linux-foundation.org" Cc: "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-nvdimm@lists.01.org" List-ID: Hi Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive, a regression fix, new unit test infrastructure and a build fix. * The regression fix addresses support for the new NVDIMM label storage area access commands (_LSI, _LSR, and _LSW). The Intel specific version of these commands communicated the "Device Locked" status on the label- storage-information command. However, these new commands (standardized in ACPI 6.2) communicate the "Device Locked" status on the label- storage-read command, and the driver was missing the indication. Reading from locked persistent memory is similar to reading unmapped PCI memory space, returns all 1's. * Unit test infrastructure is added to regression test the "Device Locked" detection failure. * A build fix is included to allow the "of_pmem" driver to be built as a module and translate an Open Firmware described device to its local numa node. --- The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes for you to fetch changes up to c5794510d7b5f210f05531ff9e82432cf7244367: MAINTAINERS: Add backup maintainers for libnvdimm and DAX (2018-04-19 15:22:50 -0700) ---------------------------------------------------------------- Dan Williams (6): libnvdimm, dimm: handle EACCES failures from label reads tools/testing/nvdimm: allow custom error code injection tools/testing/nvdimm: support nfit_test_dimm attributes under nfit_test.1 tools/testing/nvdimm: fix missing newline in nfit_test_dimm 'handle' attribute tools/testing/nvdimm: enable labels for nfit_test.1 dimms Revert "libnvdimm, of_pmem: workaround OF_NUMA=n build error" Dave Jiang (2): device-dax: allow MAP_SYNC to succeed MAINTAINERS: Add backup maintainers for libnvdimm and DAX Rob Herring (1): libnvdimm, of_pmem: use dev_to_node() instead of of_node_to_nid() MAINTAINERS | 15 +++++++ drivers/dax/device.c | 2 + drivers/nvdimm/Kconfig | 3 +- drivers/nvdimm/dimm_devs.c | 22 ++++++----- drivers/nvdimm/of_pmem.c | 2 +- tools/testing/nvdimm/test/nfit.c | 84 +++++++++++++++++++++++++++++++--------- 6 files changed, 96 insertions(+), 32 deletions(-) _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753354AbeDVARa convert rfc822-to-8bit (ORCPT ); Sat, 21 Apr 2018 20:17:30 -0400 Received: from mga09.intel.com ([134.134.136.24]:22035 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753280AbeDVAR2 (ORCPT ); Sat, 21 Apr 2018 20:17:28 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,308,1520924400"; d="scan'208";a="33682791" From: "Williams, Dan J" To: "torvalds@linux-foundation.org" CC: "linux-kernel@vger.kernel.org" , "linux-nvdimm@lists.01.org" , "linux-acpi@vger.kernel.org" Subject: [GIT PULL] libnvdimm fixes for 4.17-rc2 Thread-Topic: [GIT PULL] libnvdimm fixes for 4.17-rc2 Thread-Index: AQHT2c9K+WXJ8X2m5kSEW8QU81zYwg== Date: Sun, 22 Apr 2018 00:17:25 +0000 Message-ID: <1524356236.26036.13.camel@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.254.112.51] Content-Type: text/plain; charset="utf-7" Content-ID: <07665B705A136D459F8F248D670F4E73@intel.com> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes ...to receive, a regression fix, new unit test infrastructure and a build fix. +ACo- The regression fix addresses support for the new NVDIMM label storage area access commands (+AF8-LSI, +AF8-LSR, and +AF8-LSW). The Intel specific version of these commands communicated the +ACI-Device Locked+ACI- status on the label- storage-information command. However, these new commands (standardized in ACPI 6.2) communicate the +ACI-Device Locked+ACI- status on the label- storage-read command, and the driver was missing the indication. Reading from locked persistent memory is similar to reading unmapped PCI memory space, returns all 1's. +ACo- Unit test infrastructure is added to regression test the +ACI-Device Locked+ACI- detection failure. +ACo- A build fix is included to allow the +ACI-of+AF8-pmem+ACI- driver to be built as a module and translate an Open Firmware described device to its local numa node. --- The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm libnvdimm-fixes for you to fetch changes up to c5794510d7b5f210f05531ff9e82432cf7244367: MAINTAINERS: Add backup maintainers for libnvdimm and DAX (2018-04-19 15:22:50 -0700) ---------------------------------------------------------------- Dan Williams (6): libnvdimm, dimm: handle EACCES failures from label reads tools/testing/nvdimm: allow custom error code injection tools/testing/nvdimm: support nfit+AF8-test+AF8-dimm attributes under nfit+AF8-test.1 tools/testing/nvdimm: fix missing newline in nfit+AF8-test+AF8-dimm 'handle' attribute tools/testing/nvdimm: enable labels for nfit+AF8-test.1 dimms Revert +ACI-libnvdimm, of+AF8-pmem: workaround OF+AF8-NUMA+AD0-n build error+ACI- Dave Jiang (2): device-dax: allow MAP+AF8-SYNC to succeed MAINTAINERS: Add backup maintainers for libnvdimm and DAX Rob Herring (1): libnvdimm, of+AF8-pmem: use dev+AF8-to+AF8-node() instead of of+AF8-node+AF8-to+AF8-nid() MAINTAINERS +AHw- 15 +-+-+-+-+-+-+- drivers/dax/device.c +AHw- 2 +- drivers/nvdimm/Kconfig +AHw- 3 +-- drivers/nvdimm/dimm+AF8-devs.c +AHw- 22 +-+-+-+-+-+------ drivers/nvdimm/of+AF8-pmem.c +AHw- 2 +-- tools/testing/nvdimm/test/nfit.c +AHw- 84 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+---------- 6 files changed, 96 insertions(+-), 32 deletions(-)