linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Patch 0/3] firmware: dmi_scan: add SBMIOS entry point and DMI tables
@ 2015-04-02 12:57 Ivan Khoronzhuk
       [not found] ` <1427979423-22767-1-git-send-email-ivan.khoronzhuk-hExfYMNmJl/Cnp4W7fqMDg@public.gmane.org>
  0 siblings, 1 reply; 26+ messages in thread
From: Ivan Khoronzhuk @ 2015-04-02 12:57 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	matt.fleming-ral2JQCrhuEAvxtiuMwx3w, jdelvare-l3A5Bk7waGM,
	ard.biesheuvel-QSEj5FYQhm4dnm+yROfE0A,
	grant.likely-QSEj5FYQhm4dnm+yROfE0A,
	linux-api-u79uwXL29TY76Z2rM5mHXA,
	linux-doc-u79uwXL29TY76Z2rM5mHXA, mikew-hpIqsD4AKlfQT0dZR+AlfA
  Cc: dmidecode-devel-qX2TKyscuCcdnm+yROfE0A,
	leif.lindholm-QSEj5FYQhm4dnm+yROfE0A,
	msalter-H+wXaHxf7aLQT0dZR+AlfA, roy.franz-QSEj5FYQhm4dnm+yROfE0A,
	Ivan Khoronzhuk

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.

This is logical continuation of
"[Patch] firmware: dmi_scan: split dmisubsystem from dmi-sysfs"
https://lkml.org/lkml/2015/3/16/1070

Based on efi/next

Last changes:
	- renamed dmi_table to dmi_decode_table
	- moved tables under /sys/firmware/dmi/tables/
	- avoid "subsystem" word
	- split in separate patch correction of dmi-sysfs documentation
	- using -ENOSYS instead of -EINVAL
	- use user read only rights for table attributes
	- use "static" for attributes
	- check only dmi_available for table presents
	- don't correct dmi_walk to constantly map dmi_table
	- explicitly delete binary attributes
	- assign dmi_kobj = NULL in case of error
	- don't export dmi_kobj if CONFIG_DMI is not set
	- improve read callback for table attributes

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                       | 11 +--
 drivers/firmware/dmi_scan.c                        | 90 ++++++++++++++++++++--
 include/linux/dmi.h                                |  1 +
 5 files changed, 113 insertions(+), 13 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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2015-04-17 14:12 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-02 12:57 [Patch 0/3] firmware: dmi_scan: add SBMIOS entry point and DMI tables Ivan Khoronzhuk
     [not found] ` <1427979423-22767-1-git-send-email-ivan.khoronzhuk-hExfYMNmJl/Cnp4W7fqMDg@public.gmane.org>
2015-04-02 12:57   ` [Patch 1/3] firmware: dmi_scan: rename dmi_table to dmi_decode_table Ivan Khoronzhuk
2015-04-15 11:51     ` Jean Delvare
     [not found]     ` <1427979423-22767-2-git-send-email-ivan.khoronzhuk-hExfYMNmJl/Cnp4W7fqMDg@public.gmane.org>
2015-04-15 14:35       ` Matt Fleming
     [not found]         ` <20150415143530.GF4804-mF/unelCI9GS6iBeEJttW/XRex20P6io@public.gmane.org>
2015-04-16  8:35           ` Jean Delvare
2015-04-16 20:16             ` Ivan.khoronzhuk
2015-04-17  8:54               ` Jean Delvare
2015-04-17 10:11                 ` Ivan.khoronzhuk
2015-04-17 12:04                   ` Ivan.khoronzhuk
     [not found]                     ` <5530F6C7.6060306-hExfYMNmJl/Cnp4W7fqMDg@public.gmane.org>
2015-04-17 12:50                       ` Jean Delvare
2015-04-17 13:40             ` Matt Fleming
2015-04-17 14:12               ` [dmidecode] " Jean Delvare
2015-04-02 12:57   ` [Patch 2/3] firmware: dmi_scan: add SBMIOS entry and DMI tables Ivan Khoronzhuk
2015-04-03  9:36     ` Ivan.khoronzhuk
     [not found]       ` <551E5F0B.6050709-hExfYMNmJl/Cnp4W7fqMDg@public.gmane.org>
2015-04-15  4:19         ` Roy Franz
     [not found]           ` <CAFECyb_BGU82vCi0jOz+MbdsxRS-jFoHNsZe5KdOCgpt0K7y+A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-16  0:54             ` Roy Franz
     [not found]               ` <CAFECyb9RFAEWMOFCDcKKYBgQk85HoDiG2yfyou6X9qm=Wq5+Pg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-16  6:48                 ` Jean Delvare
2015-04-16 17:08                   ` Roy Franz
2015-04-16  9:52     ` Jean Delvare
     [not found]       ` <20150416115252.7dc964a3-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2015-04-16 12:56         ` Ivan.khoronzhuk
2015-04-16 15:44           ` [dmidecode] " Jean Delvare
2015-04-16 17:27             ` subscivan
     [not found]               ` <552FF0E4.709-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2015-04-16 17:32                 ` Ivan.khoronzhuk
2015-04-17 13:02                 ` Jean Delvare
2015-04-02 12:57   ` [Patch 3/3] Documentation: ABI: sysfs-firmware-dmi: add -entries suffix to file name Ivan Khoronzhuk
2015-04-15 11:52     ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).