1. 26 2月, 2011 5 次提交
    • M
      firmware: Add documentation for /sys/firmware/dmi · 9effd822
      Mike Waychison 提交于
      Document the new ABI added by the dmi-sysfs module.
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9effd822
    • M
      firmware: Expose DMI type 15 System Event Log · a3857a5c
      Mike Waychison 提交于
      The System Event Log described by DMI entry type 15 may be backed by
      either memory or may be indirectly accessed via an IO index/data
      register pair.
      
      In order to get read access to this log, expose it in the
      "system_event_log" 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 event
      logs.  OEM specific access and GPNV support is explicitly not handled
      and we error out in the logs when we do not recognize the access method.
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      a3857a5c
    • M
      firmware: Break out system_event_log in dmi-sysfs · 925a1da7
      Mike Waychison 提交于
      The optional type 15 entry of the DMI table describes a non-volatile
      storage-backed system event log.
      
      In preparation for the next commit which exposes the raw bits of the
      event log to userland, create a new sub-directory within the dmi entry
      called "system_event_log" and expose attribute files that describe the
      event log itself.
      
      Currently, only a single child object is permitted within a
      dmi_sysfs_entry.  We simply point at this child from the dmi_sysfs_entry
      if it exists.
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      925a1da7
    • M
      firmware: Basic dmi-sysfs support · 948af1f0
      Mike Waychison 提交于
      Introduce a new module "dmi-sysfs" that exports the broken out entries
      of the DMI table through sysfs.
      
      Entries are enumerated via dmi_walk() on module load, and are populated
      as kobjects rooted at /sys/firmware/dmi/entries.
      
      Entries are named "<type>-<instance>", where:
         <type>	: is the type of the entry, and
         <instance>	: is the ordinal count within the DMI table of that
      		  entry type.  This instance is used in lieu the DMI
      		  entry'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 "struct
      dmi_sysfs_entry" and belong to dmi_kset.  They are threaded through
      entry_list (protected by entry_list_lock) so that we can find them at
      cleanup time.
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      948af1f0
    • M
      firmware: Add DMI entry types to the headers · 93c890db
      Mike Waychison 提交于
      In preparation for the upcoming commits, introduce the DMI entry types to
      the headers.  These type names are based on those specified in the DMTF
      SMBIOS specification version 2.7.1.
      Signed-off-by: NMike Waychison <mikew@google.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      93c890db
  2. 19 2月, 2011 5 次提交
  3. 05 2月, 2011 8 次提交
  4. 04 2月, 2011 19 次提交
  5. 01 2月, 2011 3 次提交
    • L
      Linux 2.6.38-rc3 · ebf53826
      Linus Torvalds 提交于
      ebf53826
    • L
      Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 · 0fd08c55
      Linus Torvalds 提交于
      * 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
        NFS: NFSv4 readdir loses entries
        NFS: Micro-optimize nfs4_decode_dirent()
        NFS: Fix an NFS client lockdep issue
        NFS construct consistent co_ownerid for v4.1
        NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount
        NFS improve pnfs_put_deviceid_cache debug print
        NFS fix cb_sequence error processing
        NFS do not find client in NFSv4 pg_authenticate
        NLM: Fix "kernel BUG at fs/lockd/host.c:417!" or ".../host.c:283!"
        NFS: Prevent memory allocation failure in nfsacl_encode()
        NFS: nfsacl_{encode,decode} should return signed integer
        NFS: Fix "kernel BUG at fs/nfs/nfs3xdr.c:1338!"
        NFS: Fix "kernel BUG at fs/aio.c:554!"
        NFS4: Avoid potential NULL pointer dereference in decode_and_add_ds().
        NFS: fix handling of malloc failure during nfs_flush_multi()
      0fd08c55
    • L
      Merge branch 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm · 7921127e
      Linus Torvalds 提交于
      * 'fixes' of master.kernel.org:/home/rmk/linux-2.6-arm:
        ARM: smp_on_up: allow non-ARM SMP processors
        ARM: io: ensure inb/outb() et.al. are properly ordered on ARMv6+
        ARM: initrd: disable initrd if passed address overlaps reserved region
        ARM: footbridge: fix debug macros
        ARM: mmci: round down the bytes transferred on error
        ARM: mmci: complete the transaction on error
        ARM: 6642/1: mmci: calculate remaining bytes at error correctly
      7921127e