<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in dmi-sysfs.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>1c83b02c - firmware: dmi: Constify &apos;struct bin_attribute&apos;</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#1c83b02c</link>
        <description>firmware: dmi: Constify &apos;struct bin_attribute&apos;The sysfs core now allows instances of &apos;struct bin_attribute&apos; to bemoved into read-only memory. Make use of that to protect them againstaccidental or malicious modifications.Signed-off-by: Thomas Wei&#223;schuh &lt;linux@weissschuh.net&gt;Link: https://lore.kernel.org/r/20250125-sysfs-const-bin_attr-dmi-v2-3-ece1895936f4@weissschuh.netSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Sat, 25 Jan 2025 10:12:16 +0000</pubDate>
        <dc:creator>Thomas Wei&#223;schuh &lt;linux@weissschuh.net&gt;</dc:creator>
    </item>
<item>
        <title>80d3989b - firmware: dmi: Define bin_attributes through macro</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#80d3989b</link>
        <description>firmware: dmi: Define bin_attributes through macroThe macro makes the code shorter and simplifies constification of thecallback arguments.Signed-off-by: Thomas Wei&#223;schuh &lt;linux@weissschuh.net&gt;Link: https://lore.kernel.org/r/20250125-sysfs-const-bin_attr-dmi-v2-2-ece1895936f4@weissschuh.netSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Sat, 25 Jan 2025 10:12:15 +0000</pubDate>
        <dc:creator>Thomas Wei&#223;schuh &lt;linux@weissschuh.net&gt;</dc:creator>
    </item>
<item>
        <title>e7f3dd80 - firmware: dmi-sysfs: handle HAS_IOPORT=n</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#e7f3dd80</link>
        <description>firmware: dmi-sysfs: handle HAS_IOPORT=nIn a future patch HAS_IOPORT=n will result in inb()/outb() and friendsnot being declared. We thus need to guard sections of code calling themas alternative access methods.Co-developed-by: Arnd Bergmann &lt;arnd@kernel.org&gt;Signed-off-by: Arnd Bergmann &lt;arnd@kernel.org&gt;Signed-off-by: Niklas Schnelle &lt;schnelle@linux.ibm.com&gt;Link: https://lore.kernel.org/r/20230522105049.1467313-11-schnelle@linux.ibm.comSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Mon, 22 May 2023 10:50:15 +0000</pubDate>
        <dc:creator>Niklas Schnelle &lt;schnelle@linux.ibm.com&gt;</dc:creator>
    </item>
<item>
        <title>81773c98 - firmware: dmi-sysfs: make kobj_type structures constant</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#81773c98</link>
        <description>firmware: dmi-sysfs: make kobj_type structures constantSince commit ee6d3dd4ed48 (&quot;driver core: make kobj_type constant.&quot;)the driver core allows the usage of const struct kobj_type.Take advantage of this to constify the structure definitions to preventmodification at runtime.Signed-off-by: Thomas Wei&#223;schuh &lt;linux@weissschuh.net&gt;Link: https://lore.kernel.org/r/20230227-kobj_type-firmware-dmi-v1-1-d1131d4e7a2b@weissschuh.netSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Mon, 27 Feb 2023 03:17:37 +0000</pubDate>
        <dc:creator>Thomas Wei&#223;schuh &lt;linux@weissschuh.net&gt;</dc:creator>
    </item>
<item>
        <title>18e126e9 - firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handle</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#18e126e9</link>
        <description>firmware: dmi-sysfs: Fix null-ptr-deref in dmi_sysfs_register_handleKASAN reported a null-ptr-deref error:KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]CPU: 0 PID: 1373 Comm: modprobeHardware name: QEMU Standard PC (i440FX + PIIX, 1996)RIP: 0010:dmi_sysfs_entry_release...Call Trace: &lt;TASK&gt; kobject_put dmi_sysfs_register_handle (drivers/firmware/dmi-sysfs.c:540) dmi_sysfs dmi_decode_table (drivers/firmware/dmi_scan.c:133) dmi_walk (drivers/firmware/dmi_scan.c:1115) dmi_sysfs_init (drivers/firmware/dmi-sysfs.c:149) dmi_sysfs do_one_initcall (init/main.c:1296) ...Kernel panic - not syncing: Fatal exceptionKernel Offset: 0x4000000 from 0xffffffff81000000---[ end Kernel panic - not syncing: Fatal exception ]---It is because previous patch added kobject_put() to release the memorywhich will call  dmi_sysfs_entry_release() and list_del().However, list_add_tail(entry-&gt;list) is called after the error block,so the list_head is uninitialized and cannot be deleted.Move error handling to after list_add_tail to fix this.Fixes: 660ba678f999 (&quot;firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle&quot;)Signed-off-by: Chen Zhongjin &lt;chenzhongjin@huawei.com&gt;Link: https://lore.kernel.org/r/20221111015326.251650-2-chenzhongjin@huawei.comSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Fri, 11 Nov 2022 01:53:26 +0000</pubDate>
        <dc:creator>Chen Zhongjin &lt;chenzhongjin@huawei.com&gt;</dc:creator>
    </item>
<item>
        <title>7d12970f - firmware: dmi-sysfs: make pr_info messages rate limited</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#7d12970f</link>
        <description>firmware: dmi-sysfs: make pr_info messages rate limitedCurrently if a process repeat repeatedly reads the dmi sysfs raw event log/sys/firmware/dmi/entries/15-0/system_event_log/raw_event_log when GPNVsupport is missing or using an unknown access method the kernel log getsspammed with info messages. Make the messages rate limited to reduce themessage spamming. Triggered when running sudo stress-ng --sysfs -t 5m.Signed-off-by: Colin Ian King &lt;colin.i.king@gmail.com&gt;Link: https://lore.kernel.org/r/20221129223855.1005674-1-colin.i.king@gmail.comSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Tue, 29 Nov 2022 22:38:55 +0000</pubDate>
        <dc:creator>Colin Ian King &lt;colin.i.king@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>660ba678 - firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handle</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#660ba678</link>
        <description>firmware: dmi-sysfs: Fix memory leak in dmi_sysfs_register_handlekobject_init_and_add() takes reference even when it fails.According to the doc of kobject_init_and_add()   If this function returns an error, kobject_put() must be called to   properly clean up the memory associated with the object.Fix this issue by calling kobject_put().Fixes: 948af1f0bbc8 (&quot;firmware: Basic dmi-sysfs support&quot;)Signed-off-by: Miaoqian Lin &lt;linmq006@gmail.com&gt;Link: https://lore.kernel.org/r/20220511071421.9769-1-linmq006@gmail.comSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Wed, 11 May 2022 07:14:19 +0000</pubDate>
        <dc:creator>Miaoqian Lin &lt;linmq006@gmail.com&gt;</dc:creator>
    </item>
<item>
        <title>ab6d0f57 - firmware: dmi-sysfs: use default_groups in kobj_type</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#ab6d0f57</link>
        <description>firmware: dmi-sysfs: use default_groups in kobj_typeThere are currently 2 ways to create a set of sysfs files for akobj_type, through the default_attrs field, and the default_groupsfield.  Move the firmware dmi-sysfs sysfs code to use default_groupsfield which has been the preferred way since aa30f47cf666 (&quot;kobject: Addsupport for default attribute groups to kobj_type&quot;) so that we can soonget rid of the obsolete default_attrs field.Link: https://lore.kernel.org/r/20220105181719.2737782-1-gregkh@linuxfoundation.orgSigned-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Wed, 05 Jan 2022 18:17:19 +0000</pubDate>
        <dc:creator>Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;</dc:creator>
    </item>
<item>
        <title>8e849a41 - firmware: dmi-sysfs: Replace zero-length array with flexible-array member</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#8e849a41</link>
        <description>firmware: dmi-sysfs: Replace zero-length array with flexible-array memberThere is a regular need in the kernel to provide a way to declare having adynamically sized set of trailing elements in a structure. Kernel code shouldalways use &#8220;flexible array members&#8221;[1] for these cases. The older style ofone-element or zero-length arrays should no longer be used[2].[1] https://en.wikipedia.org/wiki/Flexible_array_member[2] https://github.com/KSPP/linux/issues/21Signed-off-by: Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Fri, 21 Feb 2020 15:15:44 +0000</pubDate>
        <dc:creator>Gustavo A. R. Silva &lt;gustavo@embeddedor.com&gt;</dc:creator>
    </item>
<item>
        <title>09c434b8 - treewide: Add SPDX license identifier for more missed files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#09c434b8</link>
        <description>treewide: Add SPDX license identifier for more missed filesAdd SPDX license identifiers to all files which: - Have no license information of any form - Have MODULE_LICENCE(&quot;GPL*&quot;) inside which was used in the initial   scan/conversion to ignore the fileThese files fall under the project license, GPL v2 only. The resulting SPDXlicense identifier is:  GPL-2.0-onlySigned-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Sun, 19 May 2019 12:08:20 +0000</pubDate>
        <dc:creator>Thomas Gleixner &lt;tglx@linutronix.de&gt;</dc:creator>
    </item>
<item>
        <title>a81114d0 - firmware: dmi: handle missing DMI data gracefully</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#a81114d0</link>
        <description>firmware: dmi: handle missing DMI data gracefullyCurrently, when booting a kernel with DMI support on a platform that hasno DMI tables, the following output is emitted into the kernel log:  [    0.128818] DMI not present or invalid.  ...  [    1.306659] dmi: Firmware registration failed.  ...  [    2.908681] dmi-sysfs: dmi entry is absent.The first one is a pr_info(), but the subsequent ones are pr_err()s thatcomplain about a condition that is not really an error to begin with.So let&apos;s clean this up, and give up silently if dma_available is not set.Signed-off-by: Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;Acked-by: Martin Hundeb&#248;ll &lt;mnhu@prevas.dk&gt;Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Sat, 03 Feb 2018 10:25:20 +0000</pubDate>
        <dc:creator>Ard Biesheuvel &lt;ard.biesheuvel@linaro.org&gt;</dc:creator>
    </item>
<item>
        <title>f7750a79 - x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap() for RAM mappings</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#f7750a79</link>
        <description>x86, mpparse, x86/acpi, x86/PCI, x86/dmi, SFI: Use memremap() for RAM mappingsThe ioremap() function is intended for mapping MMIO. For RAM, thememremap() function should be used. Convert calls from ioremap() tomemremap() when re-mapping RAM.This will be used later by SME to control how the encryption mask isapplied to memory mappings, with certain memory locations being mappeddecrypted vs encrypted.Signed-off-by: Tom Lendacky &lt;thomas.lendacky@amd.com&gt;Reviewed-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;Reviewed-by: Borislav Petkov &lt;bp@suse.de&gt;Cc: Alexander Potapenko &lt;glider@google.com&gt;Cc: Andrey Ryabinin &lt;aryabinin@virtuozzo.com&gt;Cc: Andy Lutomirski &lt;luto@kernel.org&gt;Cc: Arnd Bergmann &lt;arnd@arndb.de&gt;Cc: Borislav Petkov &lt;bp@alien8.de&gt;Cc: Brijesh Singh &lt;brijesh.singh@amd.com&gt;Cc: Dave Young &lt;dyoung@redhat.com&gt;Cc: Dmitry Vyukov &lt;dvyukov@google.com&gt;Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;Cc: Konrad Rzeszutek Wilk &lt;konrad.wilk@oracle.com&gt;Cc: Larry Woodman &lt;lwoodman@redhat.com&gt;Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;Cc: Matt Fleming &lt;matt@codeblueprint.co.uk&gt;Cc: Michael S. Tsirkin &lt;mst@redhat.com&gt;Cc: Paolo Bonzini &lt;pbonzini@redhat.com&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Radim Kr&#269;m&#225;&#345; &lt;rkrcmar@redhat.com&gt;Cc: Rik van Riel &lt;riel@redhat.com&gt;Cc: Toshimitsu Kani &lt;toshi.kani@hpe.com&gt;Cc: kasan-dev@googlegroups.comCc: kvm@vger.kernel.orgCc: linux-arch@vger.kernel.orgCc: linux-doc@vger.kernel.orgCc: linux-efi@vger.kernel.orgCc: linux-mm@kvack.orgLink: http://lkml.kernel.org/r/b13fccb9abbd547a7eef7b1fdfc223431b211c88.1500319216.git.thomas.lendacky@amd.comSigned-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Mon, 17 Jul 2017 21:10:00 +0000</pubDate>
        <dc:creator>Tom Lendacky &lt;thomas.lendacky@amd.com&gt;</dc:creator>
    </item>
<item>
        <title>d7f96f97 - firmware: dmi_scan: add SBMIOS entry and DMI tables</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#d7f96f97</link>
        <description>firmware: dmi_scan: add SBMIOS entry and DMI tablesSome utils, like dmidecode and smbios, need to access SMBIOS entrytable area in order to get information like SMBIOS version, size, etc.Currently it&apos;s done via /dev/mem. But for situation when /dev/memusage is disabled, the utils have to use dmi sysfs instead, whichdoesn&apos;t represent SMBIOS entry and adds code/delay redundancy when directaccess for table is needed.So this patch creates dmi/tables and adds SMBIOS entry point to allowutils in question to work correctly without /dev/mem. Also patch addsraw dmi table to simplify dmi table processing in user space, asproposed by Jean Delvare.Tested-by: Roy Franz &lt;roy.franz@linaro.org&gt;Signed-off-by: Ivan Khoronzhuk &lt;ivan.khoronzhuk@globallogic.com&gt;Signed-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Thu, 25 Jun 2015 07:06:56 +0000</pubDate>
        <dc:creator>Ivan Khoronzhuk &lt;ivan.khoronzhuk@globallogic.com&gt;</dc:creator>
    </item>
<item>
        <title>d0f80f9a - firmware: dmi-sysfs: Remove &quot;dmi&quot; directory on module exit</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#d0f80f9a</link>
        <description>firmware: dmi-sysfs: Remove &quot;dmi&quot; directory on module exitWith CONFIG_DEBUG_KOBJECT_RELEASE=y, removing and immediately reloading thedmi-sysfs module causes the following warning:  sysfs: cannot create duplicate filename &apos;/firmware/dmi&apos;  kobject_add_internal failed for dmi with -EEXIST, don&apos;t try to register things with the same name in the same directory.The &quot;dmi&quot; directory stays in sysfs until the dmi_kobj is released, andDEBUG_KOBJECT_RELEASE delays that.I don&apos;t think we can hit this problem in normal usage because dmi_kobj isstatic and nothing outside dmi-sysfs can get a reference to it, so theonly way to delay the &quot;dmi&quot; release is with DEBUG_KOBJECT_RELEASE.Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Thu, 05 Dec 2013 23:46:35 +0000</pubDate>
        <dc:creator>Bjorn Helgaas &lt;bhelgaas@google.com&gt;</dc:creator>
    </item>
<item>
        <title>a61aca28 - firmware: dmi-sysfs: Don&apos;t remove dmi-sysfs &quot;raw&quot; file explicitly</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#a61aca28</link>
        <description>firmware: dmi-sysfs: Don&apos;t remove dmi-sysfs &quot;raw&quot; file explicitlyRemoving the dmi-sysfs module causes the following warning:  # modprobe -r dmi_sysfs  WARNING: CPU: 11 PID: 6785 at fs/sysfs/inode.c:325 sysfs_hash_and_remove+0xa9/0xb0()  sysfs: can not remove &apos;raw&apos;, no directoryThis is because putting the entry kobject, e.g., for&quot;/sys/firmware/dmi/entries/19-0&quot;, removes the directory and all itscontents.  By the time dmi_sysfs_entry_release() runs, the &quot;raw&quot; fileinside &quot;.../19-0/&quot; has already been removed.Therefore, we don&apos;t need to remove the &quot;raw&quot; bin file at all indmi_sysfs_entry_release().Signed-off-by: Bjorn Helgaas &lt;bhelgaas@google.com&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Thu, 05 Dec 2013 23:46:28 +0000</pubDate>
        <dc:creator>Bjorn Helgaas &lt;bhelgaas@google.com&gt;</dc:creator>
    </item>
<item>
        <title>66245ad0 - firmware: Fix unaligned memory accesses in dmi-sysfs</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#66245ad0</link>
        <description>firmware: Fix unaligned memory accesses in dmi-sysfsDMI entries are arranged in memory back to back with no alignmentguarantees. This means that the struct dmi_header passed to callbacksfrom dmi_walk() itself isn&apos;t byte aligned.  This causes problems onarchitectures that expect aligned data, such as IA64.The dmi-sysfs patchset introduced structure member accesses through thispassed in dmi_header.  Fix this by memcpy()ing the structures totemporary locations on stack when inspecting/copying them.Signed-off-by: Mike Waychison &lt;mikew@google.com&gt;Tested-by: Tony Luck &lt;tony.luck@intel.com&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Fri, 25 Feb 2011 23:41:49 +0000</pubDate>
        <dc:creator>Mike Waychison &lt;mikew@google.com&gt;</dc:creator>
    </item>
<item>
        <title>a3857a5c - firmware: Expose DMI type 15 System Event Log</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#a3857a5c</link>
        <description>firmware: Expose DMI type 15 System Event LogThe System Event Log described by DMI entry type 15 may be backed byeither memory or may be indirectly accessed via an IO index/dataregister pair.In order to get read access to this log, expose it in the&quot;system_event_log&quot; sub-directory of type 15 DMI entries, ie:/sys/firmware/dmi/entries/15-0/system_event_log/raw_event_log.This commit handles both IO accessed and memory access system eventlogs.  OEM specific access and GPNV support is explicitly not handledand we error out in the logs when we do not recognize the access method.Signed-off-by: Mike Waychison &lt;mikew@google.com&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Wed, 23 Feb 2011 01:53:31 +0000</pubDate>
        <dc:creator>Mike Waychison &lt;mikew@google.com&gt;</dc:creator>
    </item>
<item>
        <title>925a1da7 - firmware: Break out system_event_log in dmi-sysfs</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#925a1da7</link>
        <description>firmware: Break out system_event_log in dmi-sysfsThe optional type 15 entry of the DMI table describes a non-volatilestorage-backed system event log.In preparation for the next commit which exposes the raw bits of theevent log to userland, create a new sub-directory within the dmi entrycalled &quot;system_event_log&quot; and expose attribute files that describe theevent log itself.Currently, only a single child object is permitted within admi_sysfs_entry.  We simply point at this child from the dmi_sysfs_entryif it exists.Signed-off-by: Mike Waychison &lt;mikew@google.com&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Wed, 23 Feb 2011 01:53:26 +0000</pubDate>
        <dc:creator>Mike Waychison &lt;mikew@google.com&gt;</dc:creator>
    </item>
<item>
        <title>948af1f0 - firmware: Basic dmi-sysfs support</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/drivers/firmware/dmi-sysfs.c#948af1f0</link>
        <description>firmware: Basic dmi-sysfs supportIntroduce a new module &quot;dmi-sysfs&quot; that exports the broken out entriesof the DMI table through sysfs.Entries are enumerated via dmi_walk() on module load, and are populatedas kobjects rooted at /sys/firmware/dmi/entries.Entries are named &quot;&lt;type&gt;-&lt;instance&gt;&quot;, where:   &lt;type&gt;	: is the type of the entry, and   &lt;instance&gt;	: is the ordinal count within the DMI table of that		  entry type.  This instance is used in lieu the DMI		  entry&apos;s handle as no assurances are made by the kernel		  that handles are unique.All entries export the following attributes:   length	: The length of the formatted portion of the entry   handle	: The handle given to this entry by the firmware   raw		: The raw bytes of the entire entry, including the		  formatted portion, the unformatted (strings) portion,		  and the two terminating nul characters.   type		: The DMI entry type   instance	: The ordinal instance of this entry given its type.   position	: The position ordinal of the entry within the table in		  its entirety.Entries in dmi-sysfs are kobject backed members called &quot;structdmi_sysfs_entry&quot; and belong to dmi_kset.  They are threaded throughentry_list (protected by entry_list_lock) so that we can find them atcleanup time.Signed-off-by: Mike Waychison &lt;mikew@google.com&gt;Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

            List of files:
            /linux-6.15/drivers/firmware/dmi-sysfs.c</description>
        <pubDate>Wed, 23 Feb 2011 01:53:21 +0000</pubDate>
        <dc:creator>Mike Waychison &lt;mikew@google.com&gt;</dc:creator>
    </item>
</channel>
</rss>
