From patchwork Wed Feb 24 02:47:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 12101187 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.6 required=3.0 tests=BAYES_20,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, INCLUDES_PULL_REQUEST,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF594C433DB for ; Wed, 24 Feb 2021 02:47:48 +0000 (UTC) Received: from ml01.01.org (ml01.01.org [198.145.21.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 69C8E601FD for ; Wed, 24 Feb 2021 02:47:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 69C8E601FD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvdimm-bounces@lists.01.org Received: from ml01.vlan13.01.org (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 14E09100F2257; Tue, 23 Feb 2021 18:47:48 -0800 (PST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1450:4864:20::62a; helo=mail-ej1-x62a.google.com; envelope-from=dan.j.williams@intel.com; receiver= Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CFB22100EB35A for ; Tue, 23 Feb 2021 18:47:44 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id g5so639000ejt.2 for ; Tue, 23 Feb 2021 18:47:44 -0800 (PST) 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 :content-transfer-encoding; bh=plyZ7GAQ1sguodJFZWB3Wyxamln+YuknxjJ8VQ+lmZk=; b=uU6NdlHQLS5/m8Y+LINo6vG60n9UKXoXhUiHlmlu29jVNsub+K0p/vq0FubPFDlcLE 35hop0g4y2GKwmMcKxaOifKyhuS55u7KpxjbYh/uUEaV3JKDOBo3VGuUmsqB4gLC+NRd SHiJ+HUroN4NG7qJ7j/qyjD2mJKQ8upzL1C/2X3Rbixp2J3zJek73/2f/FpiWfgydaU8 eSnaERxkwJGXLCSnFKiQ8eKFC19VGN4eE1ZhZ/Iq/QUQgYcaoNnM6DKGWMQsI/qUDmlO k8TYSQMudoWbhWXToIXMlN6rAkbw42Z3jiSHodBFsL+ykFwQCI8D6La+0kqC+O/Ykym9 +Yqw== 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 :content-transfer-encoding; bh=plyZ7GAQ1sguodJFZWB3Wyxamln+YuknxjJ8VQ+lmZk=; b=NgCIFn14SuvToMXZ17+jsFMMw+inCFzdwrRMmCxKISGoCC1V+4JI7hgh3+PrucCkZ9 mbi2bpJwUa4DuzJ3kRcNthxVN9BYaBBNlatwW9jd7nUpeXklo4CBV5Xa+mCj8DU52WjO SUcw7n4GjJzeCjBvv9skidlK+3o3P2lx45pVXnp+wuZsJtpJMDddy6zLj+t91NdoyLRK 56sOfgwvIk3N/qR3sLZm2WRGMqMGIY6jjoUliYnzbi8t8Pth2Jmv65NdXWbRUllZkH+e z4FZwSG6WapANLqFLSb1at1BX1mXZ1t5npbEFup+RQykEIg1JH48y8dpksraK0d2U+u7 qTyA== X-Gm-Message-State: AOAM532GgzpEqE2FoP5Y0ylnWRgpzKrGj/X982WIeldetX4uHuhJor4M BacZIsUL32gOyQ34CbGiBr4m33m4M7S0Mez5UpiP3A== X-Google-Smtp-Source: ABdhPJx40sSr690z64AyYJ2UeMEz9ruKpjuG1fr9tJfQjzXttXEB1XNRfp68pnQ+aRSTwtGArdvDSxpkARfCXup4hfE= X-Received: by 2002:a17:906:f18a:: with SMTP id gs10mr531359ejb.341.1614134862607; Tue, 23 Feb 2021 18:47:42 -0800 (PST) MIME-Version: 1.0 From: Dan Williams Date: Tue, 23 Feb 2021 18:47:38 -0800 Message-ID: Subject: [GIT PULL] libnvdimm + device-dax for v5.12-rc1 To: Linus Torvalds Message-ID-Hash: KBH6BO2GX7XZYCJTGH3JYQYSSAQ4Z7LI X-Message-ID-Hash: KBH6BO2GX7XZYCJTGH3JYQYSSAQ4Z7LI X-MailFrom: dan.j.williams@intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: linux-nvdimm , Linux Kernel Mailing List X-Mailman-Version: 3.1.1 Precedence: list List-Id: "Linux-nvdimm developer list." Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Hi Linus, please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-for-5.12 ...to receive some miscellaneous cleanups and a fix for v5.12. This mainly continues the kernel wide effort to remove a return code from the remove() callback in the driver model. The fix addresses a return code polarity typo in the new sysfs attribute to manually specify a device-dax instance mapping range. This has all appeared in -next with no reported issues. --- The following changes since commit 1048ba83fb1c00cd24172e23e8263972f6b5d9ac: Linux 5.11-rc6 (2021-01-31 13:50:09 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-for-5.12 for you to fetch changes up to 64ffe84320745ea836555ad207ebfb0e896b6167: Merge branch 'for-5.12/dax' into for-5.12/libnvdimm (2021-02-23 18:13:45 -0800) ---------------------------------------------------------------- libnvdimm + device-dax for 5.12 - Fix the error code polarity for the device-dax/mapping attribute - For the device-dax and libnvdimm bus implementations stop implementing a useless return code for the remove() callback. - Miscellaneous cleanups ---------------------------------------------------------------- Dan Williams (1): Merge branch 'for-5.12/dax' into for-5.12/libnvdimm Shiyang Ruan (1): device-dax: Fix default return code of range_parse() Uwe Kleine-König (7): libnvdimm/dimm: Simplify nvdimm_remove() libnvdimm: Make remove callback return void device-dax: Prevent registering drivers without probe callback device-dax: Properly handle drivers without remove callback device-dax: Fix error path in dax_driver_register device-dax: Drop an empty .remove callback dax-device: Make remove callback return void drivers/dax/bus.c | 24 +++++++++++++++++++++--- drivers/dax/bus.h | 2 +- drivers/dax/device.c | 8 +------- drivers/dax/kmem.c | 7 ++----- drivers/dax/pmem/compat.c | 3 +-- drivers/nvdimm/blk.c | 3 +-- drivers/nvdimm/bus.c | 13 +++++-------- drivers/nvdimm/dimm.c | 7 +------ drivers/nvdimm/pmem.c | 4 +--- drivers/nvdimm/region.c | 4 +--- include/linux/nd.h | 2 +- 11 files changed, 36 insertions(+), 41 deletions(-)