From patchwork Fri Mar 11 21:16:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerry Hoemann X-Patchwork-Id: 8569281 Return-Path: X-Original-To: patchwork-linux-nvdimm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1BD29C0555 for ; Fri, 11 Mar 2016 21:16:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C3BA2034B for ; Fri, 11 Mar 2016 21:16:50 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id 5CDEF20361 for ; Fri, 11 Mar 2016 21:16:49 +0000 (UTC) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 48EE11A1F93; Fri, 11 Mar 2016 13:17:04 -0800 (PST) X-Original-To: linux-nvdimm@lists.01.org Delivered-To: linux-nvdimm@lists.01.org Received: from g1t6216.austin.hp.com (g1t6216.austin.hp.com [15.73.96.123]) (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 EAA161A1F86 for ; Fri, 11 Mar 2016 13:17:02 -0800 (PST) Received: from g1t6217.austin.hpicorp.net (g1t6217.austin.hpicorp.net [15.67.1.144]) by g1t6216.austin.hp.com (Postfix) with ESMTP id 955116F; Fri, 11 Mar 2016 21:16:46 +0000 (UTC) Received: from lxbuild.ftc.rdlabs.hpecorp.net (lxbuild.ftc.rdlabs.hpecorp.net [16.78.34.175]) by g1t6217.austin.hpicorp.net (Postfix) with ESMTP id 3B30E6F; Fri, 11 Mar 2016 21:16:46 +0000 (UTC) From: Jerry Hoemann To: dan.j.williams@intel.com Subject: [RFC v6 5/8] nvdimm: data structure changes for dsm calls Date: Fri, 11 Mar 2016 14:16:29 -0700 Message-Id: <5f25808e2cbbe5485a43b08e0c56f42aa6ae7468.1457730736.git.jerry.hoemann@hpe.com> X-Mailer: git-send-email 1.7.11.3 In-Reply-To: References: In-Reply-To: References: Cc: linux-nvdimm@lists.01.org X-BeenThere: linux-nvdimm@lists.01.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Linux-nvdimm developer list." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Indicate "dsm_call" capability. Track uuid. Signed-off-by: Jerry Hoemann --- include/linux/libnvdimm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index af31d1c..83996b6 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h @@ -68,7 +68,9 @@ struct nd_mapping { struct nvdimm_bus_descriptor { const struct attribute_group **attr_groups; + unsigned int call_dsm:1; unsigned long dsm_mask; + const u8 *dsm_uuid; char *provider_name; ndctl_fn ndctl; int (*flush_probe)(struct nvdimm_bus_descriptor *nd_desc);