[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150127162331.70F43C41077@trevor.secretlab.ca>
Date: Tue, 27 Jan 2015 16:23:31 +0000
From: Grant Likely <grant.likely@...aro.org>
To: Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>,
linux-kernel@...r.kernel.org, ard.biesheuvel@...aro.org
Cc: dmidecode-devel@...gnu.org, leif.lindholm@...aro.org,
matt.fleming@...el.com,
Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
Subject: Re: [Patch v2 0/2] firmware: dmi-sysfs: add SMBIOS entry point area
raw attribute
On Mon, 26 Jan 2015 15:28:36 +0200
, Ivan Khoronzhuk <ivan.khoronzhuk@...aro.org>
wrote:
> 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
Hi Ivan,
The change looks good to me, but it is an ABI addition, so it needs to
be documented. You'll need to add a description to:
Documentation/ABI/testing/sysfs-testing/sysfs-firmware-dmi
Second, (minor point), there is no reason to split this up into two
patches. It is one feature, and would be better as a single patch.
g.
>
> 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
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists