From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755545AbcBVVCm (ORCPT ); Mon, 22 Feb 2016 16:02:42 -0500 Received: from g9t5009.houston.hp.com ([15.240.92.67]:34967 "EHLO g9t5009.houston.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753218AbcBVVCk (ORCPT ); Mon, 22 Feb 2016 16:02:40 -0500 From: Toshi Kani To: rjw@rjwysocki.net, dan.j.williams@intel.com Cc: robert.moore@intel.com, lv.zheng@intel.com, elliott@hpe.com, linux-nvdimm@ml01.01.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, devel@acpica.org Subject: [PATCH v2 0/3] ACPI 6.1 update for NFIT Control Region Structure Date: Mon, 22 Feb 2016 14:55:27 -0700 Message-Id: <1456178130-26468-1-git-send-email-toshi.kani@hpe.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ACPI 6.1, Table 5-133, updates NVDIMM Control Region Structure as follows. - Valid Fields, Manufacturing Location, and Manufacturing Date are added from reserved range. No change in the structure size. - IDs defined as SPD values are arrays of bytes. The spec clarified that they need to be represented as arrays of bytes as well. Patch 1 changes 'struct acpi_nfit_control_region' and the NFIT driver to comply ACPI 6.1. Patch 2 adds a new sysfs file "id" to show NVDIMM ID defined in ACPI 6.1. Patch 3 changes the nfit test driver. link: http://www.uefi.org/sites/default/files/resources/ACPI_6_1.pdf --- v2: - Remove 'mfg_location' and 'mfg_date'. (Dan Williams) - Rename 'unique_id' to 'id' and make this change as a separate patch. (Dan Williams) --- Toshi Kani (3): 1/3 ACPI/NFIT: Update Control Region Structure to comply ACPI 6.1 2/3 ACPI/NFIT: Add NVDIMM ID "id" under sysfs 3/3 nfit_test: Update SPD ID init handlings --- drivers/acpi/nfit.c | 41 ++++++++++++++++++++----- include/acpi/actbl1.h | 24 +++++++++------ tools/testing/nvdimm/test/nfit.c | 64 ++++++++++++++++++++++++---------------- 3 files changed, 88 insertions(+), 41 deletions(-)