Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752170AbdFTQxS (ORCPT ); Tue, 20 Jun 2017 12:53:18 -0400 Received: from g2t1383g.austin.hpe.com ([15.233.16.89]:13592 "EHLO g2t1383g.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751088AbdFTQvz (ORCPT ); Tue, 20 Jun 2017 12:51:55 -0400 From: Jerry Hoemann To: dan.j.williams@intel.com Cc: linux-nvdimm@lists.01.org, linux-kernel@vger.kernel.org, Jerry Hoemann Subject: [PATCH v2 3/7] libnvdimm: Add bus level dsm mask. Date: Tue, 20 Jun 2017 10:51:22 -0600 Message-Id: <43d0589ef57cf879c65e5c29ea69b6592661d717.1497939166.git.jerry.hoemann@hpe.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 699 Lines: 22 Add a bus level dsm_mask to nvdimm_bus_descriptor to allow the passthru calling mechanism to specify a different mask from the cmd_mask. Signed-off-by: Jerry Hoemann --- include/linux/libnvdimm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index 6c80701..f8b8f43 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h @@ -54,6 +54,7 @@ typedef int (*ndctl_fn)(struct nvdimm_bus_descriptor *nd_desc, struct nvdimm_bus_descriptor { const struct attribute_group **attr_groups; + unsigned long bus_dsm_mask; unsigned long cmd_mask; struct module *module; char *provider_name; -- 1.8.5.6