From patchwork Mon Mar 11 21:54:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 10848313 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 41DC86C2 for ; Mon, 11 Mar 2019 21:55:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2096E292D3 for ; Mon, 11 Mar 2019 21:55:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14C1729372; Mon, 11 Mar 2019 21:55:01 +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 88730292D3 for ; Mon, 11 Mar 2019 21:55:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 398A021A07A92; Mon, 11 Mar 2019 14:55:00 -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::244; helo=mail-oi1-x244.google.com; envelope-from=dan.j.williams@intel.com; receiver=linux-nvdimm@lists.01.org Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) (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 4ADA2211D675B for ; Mon, 11 Mar 2019 14:54:59 -0700 (PDT) Received: by mail-oi1-x244.google.com with SMTP id t82so364931oie.12 for ; Mon, 11 Mar 2019 14:54:59 -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=prLvtdgijDE7anHBdKpQSgXUM//Li7bfJi+Sflxhf98=; b=pDKoSqgcYHfaqF6LH4VphTgdj8ZPG+XwOfFj1rn/XQRZ9AvwDgw5qBbOv1FMbmTa9d tFJxd3b6tO404mgSj1Qix3gJtqXkfXvbJuE2xkBQ9mVDOuaPZbSi3RCf0gvwos9feout BVrc+pU+XNKGCQQfnwV7SKsqHGTM2Z8GAAbs0P7BNqRtEUuJSVZ9Iub1HkN79ZeaXsdS qW4My2so8FbBxZ7tY2z2p2gVI1G9u1p6vHZyatf381VZr3GCL2t5rlZwbvuxQu+iA2Xx ebF+SYWo2yAwxfnLDX7oDPEMSospg+rzQa8vq4Gw+xFluLmGgHEXrc1qNKtdvca1VX8Z RCtQ== 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=prLvtdgijDE7anHBdKpQSgXUM//Li7bfJi+Sflxhf98=; b=srVqHItk/sojEZsXg0+hPL7EzVpx71ymKlKkdWMG2IDGy82BXuuCU7eyG07VFDbl9V hkmeYmdx335Nr4MKkV5gcR++J+Oph6bBWh8t2J0tvuPm+axiMCEsg/O0B2Fsjuq0G/PY rPPQ0JERrx93GrkjFBGu6hfUm4gnpgEqCdohV0NblK86KLaM3riT8CThEjqugzYJDDfB /9eYYI/6Xulu59wi2ASOo2tKVuBeslbsqnBWfFCJNNi5xTa9v9J8tm2aTHyhwgFCTQqY y++uTYnf2WOkPaaV08B5BEG+hvayo14JHt4s0CsVhy5pWIGQ038inXSep1BWx2KnhsUn x2fA== X-Gm-Message-State: APjAAAVA0ipmrpZjXZxIBBEMK0wQsU7xxJlAKRALu29PghhMMPuG0Qll ZBa8P0ixfgdjqMoO+XTxtqRqU0vMISt9ngsg1QyM9Q== X-Google-Smtp-Source: APXvYqybMup1Xj4IUj0ZrDKdvKAhJ3GhVMtlYSYCh1m3w7wt6ohqodlIIv5Sj3othwt8S8k0r37EH0iyXNM+/N6FlY4= X-Received: by 2002:aca:cc0f:: with SMTP id c15mr265421oig.105.1552341298046; Mon, 11 Mar 2019 14:54:58 -0700 (PDT) MIME-Version: 1.0 From: Dan Williams Date: Mon, 11 Mar 2019 14:54:47 -0700 Message-ID: Subject: [GIT PULL] libnvdimm updates for 5.1 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-for-5.1 ...to receive the general libnvdimm update for 5.1, while I track down a response on the issue highlighted "PMEM as RAM" pull request. The bulk of this has been in -next since before the merge window opened, with no known collisions / issues reported. The only detail worth noting, outside the tag message, is that the "libnvdimm-start-pad" topic has been truncated to just cleanups and small fixes. The full topic branch would have doubled down on hacks around the "section alignment" limitation of the core-mm, instead effort is now being spent to address that root issue in the memory hotplug implementation for v5.2. I'll note, since I messed this up in the past, the topic-branch merges have summary messages as to why the merge was made. --- The following changes since commit d13937116f1e82bf508a6325111b322c30c85eb9: Linux 5.0-rc6 (2019-02-10 14:42:20 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-for-5.1 for you to fetch changes up to 4083014e32699af04a8e6eaa4855b08dba36a47a: Merge branch 'for-5.1/nfit/ars' into libnvdimm-for-next (2019-03-11 12:37:55 -0700) ---------------------------------------------------------------- libnvdimm for v5.1 * Fix nfit-bus command submission regression * Support retrieval of short-ARS results if the ARS state is "requires continuation", and even if the "no_init_ars" module parameter is specified. * Allow busy-polling of the kernel ARS state by allowing root to reset the exponential back-off timer. * Filter potentially stale ARS results by tracking query-ARS relative to the previous start-ARS. * Enhance dax_device alignment checks * Add support for the Hyper-V family of device-specific-methods (DSMs) * Add several fixes and workarounds for Hyper-V compatibility. * Fix support to cache the dirty-shutdown-count at init. ---------------------------------------------------------------- Dan Williams (20): libnvdimm/label: Clear 'updating' flag after label-set update nfit: Fix nfit_intel_shutdown_status() command submission MAINTAINERS: Update filesystem-dax and NVDIMM entries libnvdimm/dimm: Add a no-BLK quirk based on NVDIMM family acpi/nfit: Fix bus command validation libnvdimm/pfn: Account for PAGE_SIZE > info-block-size in nd_pfn_init() libnvdimm/pmem: Honor force_raw for legacy pmem regions acpi/nfit: Require opt-in for read-only label configurations nfit/ars: Attempt a short-ARS whenever the ARS state is idle at boot nfit/ars: Attempt short-ARS even in the no_init_ars case nfit/ars: Remove ars_start_flags nfit/ars: Introduce scrub_flags nfit/ars: Allow root to busy-poll the ARS state machine nfit/ars: Avoid stale ARS results dax: Check the end of the block-device capacity with dax_direct_access() libnvdimm/pfn: Remove dax_label_reserve libnvdimm/namespace: Clean up holder_class_store() Merge branch 'for-5.1/libnvdimm' into libnvdimm-for-next Merge branch 'for-5.1/libnvdimm-start-pad' into libnvdimm-for-next Merge branch 'for-5.1/nfit/ars' into libnvdimm-for-next Dexuan Cui (2): nfit: acpi_nfit_ctl(): Check out_obj->type in the right place nfit: Add Hyper-V NVDIMM DSM command set to white list Oliver O'Halloran (1): libnvdimm: Fix altmap reservation size calculation Toshi Kani (1): acpi/nfit: Update NFIT flags error message Vishal Verma (2): libnvdimm/btt: Remove unnecessary code in btt_freelist_init libnvdimm/btt: Fix LBA masking during 'free list' population Wei Yang (1): libnvdimm, pfn: Fix over-trim in trim_pfn_device() YueHaibing (1): libnvdimm/of_pmem: Fix platform_no_drv_owner.cocci warnings MAINTAINERS | 17 ++-- drivers/acpi/nfit/core.c | 185 +++++++++++++++++++++++++++------------- drivers/acpi/nfit/nfit.h | 17 +++- drivers/dax/super.c | 38 ++++++--- drivers/nvdimm/btt.c | 33 ++++--- drivers/nvdimm/btt.h | 2 + drivers/nvdimm/btt_devs.c | 8 ++ drivers/nvdimm/dimm_devs.c | 7 ++ drivers/nvdimm/label.c | 26 ++++-- drivers/nvdimm/namespace_devs.c | 18 +++- drivers/nvdimm/of_pmem.c | 1 - drivers/nvdimm/pfn_devs.c | 24 +++--- drivers/nvdimm/region_devs.c | 7 ++ include/linux/libnvdimm.h | 2 + include/uapi/linux/ndctl.h | 1 + 15 files changed, 273 insertions(+), 113 deletions(-)