From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932079AbdDLQ4s (ORCPT ); Wed, 12 Apr 2017 12:56:48 -0400 Received: from bhuna.collabora.co.uk ([46.235.227.227]:40391 "EHLO bhuna.collabora.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752095AbdDLQ4m (ORCPT ); Wed, 12 Apr 2017 12:56:42 -0400 From: Thierry Escande To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] Google VPD sysfs driver Date: Wed, 12 Apr 2017 18:56:17 +0200 Message-Id: <1492016179-31690-1-git-send-email-thierry.escande@collabora.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfert-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset adds support for accessing Google Vital Product Data (VPD) through the sysfs interface under /sys/firmware/vpd. This patchset contains the VPD decoding routines read from coreboot table entries and the driver responsible for creating the sysfs interface. This patchset depends on [1] for coreboot support in the Google memory console. This v2 fixes style issues reported by 'checkpatch --strict', adds the vpd_ prefix to a few function names, and removes the EXPORT_SYMBOL for vpd_decode_string(). Regards, Thierry [1] https://lkml.org/lkml/2017/3/28/902 Wei-Ning Huang (2): firmware: Google Vital Product Data: import lib_vpd source files firmware: Google VPD sysfs driver drivers/firmware/google/Kconfig | 7 + drivers/firmware/google/Makefile | 3 + drivers/firmware/google/vpd.c | 333 +++++++++++++++++++++++++++++++++++ drivers/firmware/google/vpd_decode.c | 102 +++++++++++ drivers/firmware/google/vpd_decode.h | 59 +++++++ 5 files changed, 504 insertions(+) create mode 100644 drivers/firmware/google/vpd.c create mode 100644 drivers/firmware/google/vpd_decode.c create mode 100644 drivers/firmware/google/vpd_decode.h -- 2.7.4