From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) (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 DE8E821962338 for ; Tue, 20 Jun 2017 09:50:30 -0700 (PDT) From: Jerry Hoemann Subject: [PATCH v2 0/7] Enable DSM pass thru for root functions Date: Tue, 20 Jun 2017 10:51:19 -0600 Message-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: dan.j.williams@intel.com Cc: linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org List-ID: The new ACPI 6.2 spec has added new NVDIMM root DSM functions that managibility and test software needs to call. This patch set enables the calling root functions DSM via the pass thru mechanism. Changes v2 ---------- 1. Add bus_dsm_mask to filter root pass thru calls. 2. Add bus_dsm_mask_show to display bus_dsm_mask in sysfs 3. Extend override_dsm_mask to be used for bus_dms_mask also. Details v1 ---------- __nd_ioctl: Check pass thru functions against nd_cmd_clear_to_send. acpi_nfit_init_dsms: Set additional bits in cmd_mask for new functions. ndctl.h: Define data structure for the new 6.2 functions. Add new function names to nvdimm_bus_cmd_name. Jerry Hoemann (7): libnvdimm: passthru functions clear to send acpi, nfit: Enable DSM pass thru for root functions. libnvdimm: Add bus level dsm mask. acpi, nfit: Use bus_dsm_mask for passthru acpi, nfit: Show bus_dsm_mask libnvdimm: New ACPI 6.2 DSM functions acpi, nfit: override mask drivers/acpi/nfit/core.c | 20 ++++++++++++++++++++ drivers/nvdimm/bus.c | 4 +++- include/linux/libnvdimm.h | 1 + include/uapi/linux/ndctl.h | 41 ++++++++++++++++++++++++++++++++++++++++- 4 files changed, 64 insertions(+), 2 deletions(-) -- 1.8.5.6 _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751689AbdFTQv4 (ORCPT ); Tue, 20 Jun 2017 12:51:56 -0400 Received: from g2t1383g.austin.hpe.com ([15.233.16.89]:13589 "EHLO g2t1383g.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750927AbdFTQvz (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 0/7] Enable DSM pass thru for root functions Date: Tue, 20 Jun 2017 10:51:19 -0600 Message-Id: X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The new ACPI 6.2 spec has added new NVDIMM root DSM functions that managibility and test software needs to call. This patch set enables the calling root functions DSM via the pass thru mechanism. Changes v2 ---------- 1. Add bus_dsm_mask to filter root pass thru calls. 2. Add bus_dsm_mask_show to display bus_dsm_mask in sysfs 3. Extend override_dsm_mask to be used for bus_dms_mask also. Details v1 ---------- __nd_ioctl: Check pass thru functions against nd_cmd_clear_to_send. acpi_nfit_init_dsms: Set additional bits in cmd_mask for new functions. ndctl.h: Define data structure for the new 6.2 functions. Add new function names to nvdimm_bus_cmd_name. Jerry Hoemann (7): libnvdimm: passthru functions clear to send acpi, nfit: Enable DSM pass thru for root functions. libnvdimm: Add bus level dsm mask. acpi, nfit: Use bus_dsm_mask for passthru acpi, nfit: Show bus_dsm_mask libnvdimm: New ACPI 6.2 DSM functions acpi, nfit: override mask drivers/acpi/nfit/core.c | 20 ++++++++++++++++++++ drivers/nvdimm/bus.c | 4 +++- include/linux/libnvdimm.h | 1 + include/uapi/linux/ndctl.h | 41 ++++++++++++++++++++++++++++++++++++++++- 4 files changed, 64 insertions(+), 2 deletions(-) -- 1.8.5.6