Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752153AbdF3QJ7 (ORCPT ); Fri, 30 Jun 2017 12:09:59 -0400 Received: from g2t2354.austin.hpe.com ([15.233.44.27]:20037 "EHLO g2t2354.austin.hpe.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751560AbdF3QJ5 (ORCPT ); Fri, 30 Jun 2017 12:09:57 -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 v3 0/7] Enable DSM pass thru for root functions Date: Fri, 30 Jun 2017 10:09:33 -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 Content-Length: 1398 Lines: 57 The ACPI 6.2 spec added NVDIMM root DSM functions that managibility and test software need to call. This patch set enables the calling of root functions DSMs via the pass thru mechanism. Changes v4 ---------- 1. Minor refactoring of patch sequence. Changes v3 ---------- 1. Fix checkpatch warnings 2. modify bus_dsm_mask_show to display name "dsm_mask" in sysfs. 3. modified submittal comments. 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. Jerry Hoemann (6): libnvdimm: passthru functions clear to send acpi, nfit: Enable DSM pass thru for root functions. libnvdimm, acpi, nfit: Add bus level dsm mask for pass thru. acpi, nfit: Show bus_dsm_mask in sysfs libnvdimm: New ACPI 6.2 DSM functions nfit allow override of root dsm mask drivers/acpi/nfit/core.c | 23 +++++++++++++++++++++++ drivers/nvdimm/bus.c | 4 +++- include/linux/libnvdimm.h | 1 + include/uapi/linux/ndctl.h | 41 ++++++++++++++++++++++++++++++++++++++++- 4 files changed, 67 insertions(+), 2 deletions(-) -- 1.8.5.6