public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch v2 0/2] firmware: dmi-sysfs: add SMBIOS entry point area raw attribute
@ 2015-01-26 13:28 Ivan Khoronzhuk
  2015-01-26 13:28 ` [Patch v2 1/2] firmware: dmi_scan: add symbol to get SMBIOS entry area Ivan Khoronzhuk
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Ivan Khoronzhuk @ 2015-01-26 13:28 UTC (permalink / raw)
  To: linux-kernel, ard.biesheuvel
  Cc: dmidecode-devel, grant.likely, leif.lindholm, matt.fleming,
	Ivan Khoronzhuk

Some utils, like dmidecode and smbios, needs to access SMBIOS entry
table area in order to get information like SMBIOS version, size, etc.
Currently it's done via /dev/mem. But for situation when /dev/mem
usage is disabled, the utils have to use dmi sysfs instead, which
doesn't represent SMBIOS entry. So this patch series adds SMBIOS
area to dmi sysfs in order to allow utils in question to work
correctly with dmi sysfs.

v1: https://lkml.org/lkml/2015/1/23/643

v2..v1:
  firmware: dmi_scan: add symbol to get SMBIOS entry area
	- used additional static var to hold SMBIOS raw table size
	- changed format of get_smbios_entry_area symbol
	  returned pointer on const smbios table

  firmware: dmi-sysfs: add SMBIOS entry point area attribute
	- adopted to updated get_smbios_entry_area symbol
  	- removed redundant array to save smbios table

Ivan Khoronzhuk (2):
  firmware: dmi_scan: add symbol to get SMBIOS entry area
  firmware: dmi-sysfs: add SMBIOS entry point area attribute

 drivers/firmware/dmi-sysfs.c | 42 ++++++++++++++++++++++++++++++++++++++++++
 drivers/firmware/dmi_scan.c  | 26 ++++++++++++++++++++++++++
 include/linux/dmi.h          |  3 +++
 3 files changed, 71 insertions(+)

-- 
1.9.1


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

end of thread, other threads:[~2015-01-27 18:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-26 13:28 [Patch v2 0/2] firmware: dmi-sysfs: add SMBIOS entry point area raw attribute Ivan Khoronzhuk
2015-01-26 13:28 ` [Patch v2 1/2] firmware: dmi_scan: add symbol to get SMBIOS entry area Ivan Khoronzhuk
2015-01-26 13:32   ` Ard Biesheuvel
2015-01-26 13:28 ` [Patch v2 2/2] firmware: dmi-sysfs: add SMBIOS entry point area attribute Ivan Khoronzhuk
2015-01-26 13:34   ` Ard Biesheuvel
2015-01-27 11:35 ` [Patch v2 0/2] firmware: dmi-sysfs: add SMBIOS entry point area raw attribute Matt Fleming
2015-01-27 16:23 ` Grant Likely
2015-01-27 18:13   ` Ivan Khoronzhuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox