From patchwork Thu May 16 00:05:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 10945431 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F05A976 for ; Thu, 16 May 2019 00:06:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D9C7E28784 for ; Thu, 16 May 2019 00:06:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C83D828941; Thu, 16 May 2019 00:06:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6F98528784 for ; Thu, 16 May 2019 00:06:13 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 03D12212794B5; Wed, 15 May 2019 17:06:13 -0700 (PDT) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::229; helo=mail-oi1-x229.google.com; envelope-from=dan.j.williams@intel.com; receiver=linux-nvdimm@lists.01.org Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3015921277791 for ; Wed, 15 May 2019 17:06:10 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id a132so1201481oib.2 for ; Wed, 15 May 2019 17:06:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=0sh2UsByjRLANJVfg34Xwvsd0MFYNc105tKEUP8O1rU=; b=t/6ieGbP2moQ4DomPsZ+RRywuPL3Wbq45QXsaH688QBKmc7oDJ1FAgfntRPDerTkr0 B5dATTpwfcAfKK+4gpamM6gs23Umg/83i1eKrIqhMN6crLTENvGX5ONFCugZnz1xxXXG OL8JFmNGX38Gnqhz4UTcyocFMVtXSBmHeFQdZGScAU2OprhO/MFVfOZhkgbE1E3QBwE8 e0v1Isogrz2G0Kmk3jwVr4Cc9WgeiRjLpmeacB3devbCAd+PIv2BJ45IR4wXZU02kXUu 15PMm7esKMEfA2CznYssIhKN+L4CM1Nv7Td40K2BAhMgIImki3dICH3Lmc7hxvl/yBbY Jhhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=0sh2UsByjRLANJVfg34Xwvsd0MFYNc105tKEUP8O1rU=; b=UY2MPaaT8vYptq2dhYnnj02fSJnwP8AGCovy73TRAM7xmo+h/ODzwC/S9eSq1kz+Sl 7c3vxeuRVQiK/csplx9g95NU+zK8ToDjegko2wOvJ6hJcTtdVsi8jCBMAQwa0M7iU+Ok p1VmTedWUaUrSK8JREVXC6vboty99hWpHU1eH+VIyg+2AEETWNKDwWR7+d3t5GMsoKNl KPH03mlotH0FvYo6P38XplvA3M30E3XMhlNhPkoNi5GlBZdWVuakarXyz6HUAwqjWMTI QPCjgtk1dOnb+kdyTwVSYAfWuamT+VCm3ccEnF3gkCeCQps+OrWAuMpg5nzGL5pRe9vF 0FkA== X-Gm-Message-State: APjAAAXCQH3bkrCUbQbMCSjN/uvaZnOMECOOZjCrvcF+jBilMAMqpNBB BgVBEVC99Kvejc8XwKpK5TLGsbSWBBKlW5qPBaiRWg== X-Google-Smtp-Source: APXvYqy5GxTivc+0J2t+V+9MNN3bDq6Dh1ZdsH4nxzQwx1BRJ/lX37anMupt/b2FQBOfFsn/1FIvqGLdDxBy5z8M25k= X-Received: by 2002:aca:ab07:: with SMTP id u7mr4282661oie.73.1557965169384; Wed, 15 May 2019 17:06:09 -0700 (PDT) MIME-Version: 1.0 From: Dan Williams Date: Wed, 15 May 2019 17:05:58 -0700 Message-ID: Subject: [GIT PULL] libnvdimm fixes for v5.2-rc1 To: Linus Torvalds X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Linux Kernel Mailing List , linux-nvdimm Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Virus-Scanned: ClamAV using ClamSMTP Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-5.2-rc1 ...to receive just a small collection of fixes this time around. The new virtio-pmem driver is nearly ready, but some last minute device-mapper acks and virtio questions made it prudent to await v5.3. Other major topics that were brewing on the linux-nvdimm mailing list like sub-section hotplug, and other devm_memremap_pages() reworks will go upstream through Andrew's tree. These have seen multiple -next releases with no reported issues. --- The following changes since commit 085b7755808aa11f78ab9377257e1dad2e6fa4bb: Linux 5.1-rc6 (2019-04-21 10:45:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-fixes-5.2-rc1 for you to fetch changes up to 67476656febd7ec5f1fe1aeec3c441fcf53b1e45: drivers/dax: Allow to include DEV_DAX_PMEM as builtin (2019-05-07 07:48:06 -0700) ---------------------------------------------------------------- libnvdimm fixes 5.2-rc1 * Fix a long standing namespace label corruption scenario when re-provisioning capacity for a namespace. * Restore the ability of the dax_pmem module to be built-in. * Harden the build for the 'nfit_test' unit test modules so that the userspace test harness can ensure all required test modules are available. ---------------------------------------------------------------- Aneesh Kumar K.V (1): drivers/dax: Allow to include DEV_DAX_PMEM as builtin Dan Williams (1): libnvdimm/namespace: Fix label tracking error Vishal Verma (2): dax/pmem: Fix whitespace in dax_pmem tools/testing/nvdimm: add watermarks for dax_pmem* modules drivers/dax/Kconfig | 3 +-- drivers/dax/pmem/core.c | 6 +++--- drivers/nvdimm/label.c | 29 ++++++++++++++++------------- drivers/nvdimm/namespace_devs.c | 15 +++++++++++++++ drivers/nvdimm/nd.h | 4 ++++ tools/testing/nvdimm/Kbuild | 3 +++ tools/testing/nvdimm/dax_pmem_compat_test.c | 8 ++++++++ tools/testing/nvdimm/dax_pmem_core_test.c | 8 ++++++++ tools/testing/nvdimm/dax_pmem_test.c | 8 ++++++++ tools/testing/nvdimm/test/nfit.c | 3 +++ tools/testing/nvdimm/watermark.h | 3 +++ 11 files changed, 72 insertions(+), 18 deletions(-) create mode 100644 tools/testing/nvdimm/dax_pmem_compat_test.c create mode 100644 tools/testing/nvdimm/dax_pmem_core_test.c create mode 100644 tools/testing/nvdimm/dax_pmem_test.c