From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933343AbcA3Sm3 (ORCPT ); Sat, 30 Jan 2016 13:42:29 -0500 Received: from mga09.intel.com ([134.134.136.24]:34180 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932574AbcA3Sm2 (ORCPT ); Sat, 30 Jan 2016 13:42:28 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,371,1449561600"; d="scan'208";a="644236818" Subject: [PATCH 0/3] libnvdimm: fix memmap in pmem support From: Dan Williams To: linux-nvdimm@ml01.01.org Cc: Andrew Morton , Jeff Moyer , linux-kernel@vger.kernel.org Date: Sat, 30 Jan 2016 10:42:03 -0800 Message-ID: <20160130184203.17558.30413.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks to Jeff for pointing out a thinko in the ndctl implementation of create-namespace. That bug was covering up the fact that vmem_altmap handling broke when 'pgmap_radix' was introduced to replace the list based method [1]. The other two fixes fell out from further expanding the unit tests. [1]: https://lists.01.org/pipermail/linux-nvdimm/2015-December/003608.html --- Dan Williams (3): libnvdimm: fix mode determination for e820 devices libnvdimm, pfn: fix restoring memmap location devm_memremap_pages: fix vmem_altmap lifetime + alignment handling drivers/nvdimm/namespace_devs.c | 8 +++++--- drivers/nvdimm/pfn_devs.c | 4 +--- kernel/memremap.c | 18 +++++++++++------- 3 files changed, 17 insertions(+), 13 deletions(-)