From: Ivan Khoronzhuk <ivan.khoronzhuk@globallogic.com>
To: linux-kernel@vger.kernel.org, matt.fleming@intel.com,
jdelvare@suse.de, ard.biesheuvel@linaro.org,
grant.likely@linaro.org, linux-api@vger.kernel.org,
linux-doc@vger.kernel.org, mikew@google.com
Cc: dmidecode-devel@nongnu.org, leif.lindholm@linaro.org,
msalter@redhat.com, roy.franz@linaro.org,
Ivan Khoronzhuk <ivan.khoronzhuk@globallogic.com>
Subject: [Patch v3 0/3] firmware: dmi_scan: add SBMIOS entry point and DMI tables
Date: Tue, 21 Apr 2015 18:52:37 +0300 [thread overview]
Message-ID: <1429631560-31359-1-git-send-email-ivan.khoronzhuk@globallogic.com> (raw)
This series adds SMBIOS entry point table and DMI table under
/sys/firmware/dmi/tables in order to use as an alternative to utilities
reading them from /dev/mem.
Based on linux next + 2 patches from Jean Delvare.
The patches can be obtained with links:
http://jdelvare.nerim.net/devel/linux-3/jdelvare-dmi/firmware-dmi-03-simplify-displayed-version.patch
http://jdelvare.nerim.net/devel/linux-3/jdelvare-dmi/firmware-dmi-04-fix-product-uuid.patch
Link on V2:
https://lkml.org/lkml/2015/4/20/218
Changes since V2
- use more labels in error path
Changes since V1
- correct error path in dmi-sysfs
- don't use globally dmi_table var
- use "DMI" in attribute name
- correct error path in dmi_init
- leave dmi_kobj even in case of error
- include linux/kobject.h in header
Ivan Khoronzhuk (3):
firmware: dmi_scan: rename dmi_table to dmi_decode_table
firmware: dmi_scan: add SBMIOS entry and DMI tables
Documentation: ABI: sysfs-firmware-dmi: add -entries suffix to file
name
...sfs-firmware-dmi => sysfs-firmware-dmi-entries} | 2 +-
.../ABI/testing/sysfs-firmware-dmi-tables | 22 ++++++
drivers/firmware/dmi-sysfs.c | 17 ++---
drivers/firmware/dmi_scan.c | 88 ++++++++++++++++++++--
include/linux/dmi.h | 2 +
5 files changed, 116 insertions(+), 15 deletions(-)
rename Documentation/ABI/testing/{sysfs-firmware-dmi => sysfs-firmware-dmi-entries} (99%)
create mode 100644 Documentation/ABI/testing/sysfs-firmware-dmi-tables
--
1.9.1
next reply other threads:[~2015-04-21 15:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 15:52 Ivan Khoronzhuk [this message]
[not found] ` <1429631560-31359-1-git-send-email-ivan.khoronzhuk-hExfYMNmJl/Cnp4W7fqMDg@public.gmane.org>
2015-04-21 15:52 ` [Patch v3 1/3] firmware: dmi_scan: rename dmi_table to dmi_decode_table Ivan Khoronzhuk
2015-04-21 15:52 ` [Patch v3 2/3] firmware: dmi_scan: add SBMIOS entry and DMI tables Ivan Khoronzhuk
2015-04-21 15:52 ` [Patch v3 3/3] Documentation: ABI: sysfs-firmware-dmi: add -entries suffix to file name Ivan Khoronzhuk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1429631560-31359-1-git-send-email-ivan.khoronzhuk@globallogic.com \
--to=ivan.khoronzhuk@globallogic.com \
--cc=ard.biesheuvel@linaro.org \
--cc=dmidecode-devel@nongnu.org \
--cc=grant.likely@linaro.org \
--cc=jdelvare@suse.de \
--cc=leif.lindholm@linaro.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matt.fleming@intel.com \
--cc=mikew@google.com \
--cc=msalter@redhat.com \
--cc=roy.franz@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox