1. 15 11月, 2012 4 次提交
    • L
      ACPICA: Fix divergences of definition conflicts. · 78e25fef
      Lv Zheng 提交于
      There are conflicts in the "acpi_device_id*" definitions between the
      Linux and the ACPICA.  The definitions of acpi_device_id* in ACPICA
      have been changed to the "acpi_pnp_device_id*".  This patch changes
      the corresponding "acpica_device_id*" definitiions in the Linux.
      
      This patch will not affect the generated vmlinx binary.
      This will decrease 298 lines of 20120913 divergence.diff.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      78e25fef
    • L
      ACPICA: Fix unmerged debugger divergences. · f540fadf
      Lv Zheng 提交于
      Debugger improvements in ACPICA are always ignored by ACPICA Linux
      release.  This will lead to divergences between Linux and ACPICA.
      This patch fixes such unmerged debugger updates.
      
      Following patches are included:
      1. Fixed a couple compiler warnings for extra extern
         Wed, 14 Mar 2007 21:12:19 +0000
      2. Cleanup for internal Reference Object.
         Wed, 27 Aug 2008 10:11:30 -0700
      3. Debugger: Lock method args for multithread command.
         Fri, 24 Apr 2009 12:28:49 -0700
      4. Debugger: Add max count argument for Batch command.
         Tue, 29 Sep 2009 12:31:58 -0700
      5. Add new host interfaces for _OSI support.
         Thu, 5 Aug 2010 14:18:28 -0700
      6. Increase debugger buffer size for method return objects.
         Wed, 17 Nov 2010 13:48:30 -0800
      7. Debugger: Add command to display status of global handlers.
         Tue, 25 Jan 2011 13:47:58 -0800
      8. Debugger: Split large dbcmds.c file.
         Wed, 26 Jan 2011 13:03:41 -0800
      9. Debugger/AcpiExec: Add support to pass complex args to methods.
         Tue, 17 May 2011 13:33:39 -0700
      10.Debugger: Add Template command to dump resource templates.
         Fri, 28 Oct 2011 14:18:51 -0700
      11.Support for custom ACPICA build for ACPI 5.0 reduced hardware.
         Wed, 1 Feb 2012 13:18:17 -0800
      12.Debugger: Improve command help support.
         Wed, 15 Feb 2012 07:59:26 -0800
      13.Update ACPI_HW_DEPENDENT* macro invocations.
         Wed, 15 Feb 2012 08:14:08 -0800
      14.Debugger: Rename function to simplify source code conversion.
         Wed, 13 Jun 2012 14:23:06 -0700
      15.Debugger: Enhance "Tables" and "Unload" commands.
         Fri, 29 Jun 2012 13:10:58 -0700
      16.Debugger: update prototype for AcpiDbSleep function.
         Fri, 17 Aug 2012 13:43:02 -0700
      
      This patch will not affect the generated vmlinx binary.
      This will decrease 264 lines of 20120913 divergence.diff.
      Signed-off-by: NRobert Moore <robert.moore@intel.com>
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      f540fadf
    • L
      ACPICA: Fix unmerged utility divergences. · 6d33b6be
      Lv Zheng 提交于
      Utility improvements in ACPICA are partial ignored by ACPICA Linux
      release.  This will lead to divergences between Linux and ACPICA.
      This patch ports the entire "utility" into Linux and makes them
      igored in the compilation stage by "ACPI_FUTURE_USAGE".
      The following "Utility" files have been ported into the Linux:
        drivers/acpi/uttrack.c
        drivers/acpi/utcache.c
        drivers/acpi/utids.c
      
      This patch will not affect the generated vmlinx binary.
      This will decrease 274 lines of 20120913 divergence.diff.
      Signed-off-by: NRobert Moore <robert.moore@intel.com>
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      6d33b6be
    • B
      Cleanup of invalid ACPI name handling and repair · 45dcd315
      Bob Moore 提交于
       Implemented a change/cleanup for the handling of invalid ACPI names.
       Names are now validated and repaired only when
       1) entering a new name into the namespace and
       2) disassembling a named AML opcode. A warning is only displayed in
          debug mode or when the interpreter is in "strict" mode, since some
          working machines do in fact contain invalid ACPI names.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      45dcd315
  2. 03 11月, 2012 1 次提交
  3. 26 10月, 2012 1 次提交
  4. 23 10月, 2012 1 次提交
  5. 17 10月, 2012 1 次提交
  6. 09 10月, 2012 1 次提交
  7. 07 10月, 2012 4 次提交
    • L
      ACPI: Add new sysfs interface to export device description · d1efe3c3
      Lance Ortiz 提交于
      Add support to export the device description obtained from the ACPI _STR
      method, if one exists for a device, to user-space via a sysfs interface.
      This new interface provides a standard and platform neutral way for users
      to obtain the description text stored in the ACPI _STR method.  If no
      _STR method exists for the device, no sysfs 'description' file will be
      created.  The 'description' file will be located in the /sys/devices/
      directory using the device's path.
      
      /sys/device/<bus>/<bridge path>/<device path>.../firmware_node/description
      
      Example:
      
      /sys/devices/pci0000:00/0000:00.07.0/0000:0e:00.0/firmware_node/description
      
      It can also be located using the ACPI device path, for example:
      
      /sys/devices/LNXSYSTM:00/device:00/ACPI0004:00/PNP0A08:00/device:13/device:15/description
      /sys/devices/LNXSYSTM:00/device:00/ACPI0004:00/ACPI0004:01/ACPI0007:02/description
      
      Execute the 'cat' command on the 'description' file to obtain the
      description string for that device.
      
      This patch also includes documentation describing how the new sysfs
      interface works
      
      Changes from v1-v2 based on comments by Len Brown and Fengguang Wu
      * Removed output "No Description" and leaving a NULL attribute if the
      _STR method failed to evaluate.
      
      * In acpi_device_remove_files() removed the redundent check of
      dev->pnp.str_obj before calling free.  This check triggered a message
      from smatch.
      Signed-off-by: NLance Ortiz <lance.ortiz@hp.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      d1efe3c3
    • F
      ACPI: Harden acpi_table_parse_entries() against BIOS bug · 369d913b
      Fenghua Yu 提交于
      Parsing acpi table entries may fall into an infinite loop on a buggy BIOS
      which has entry length=0 in acpi table.
      
      Instead of kernel hang with few failure clue which leads to heavy lifting debug
      effort, this patch hardens kernel boot by booting into non NUMA mode. The debug
      info left in log buffer helps people identify the issue.
      Signed-off-by: NFenghua Yu <fenghua.yu@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      369d913b
    • F
      ACPI: EC: Add a quirk for CLEVO M720T/M730T laptop · 67bfa9b6
      Feng Tang 提交于
      By enlarging the GPE storm threshold back to 20, that laptop's
      EC works fine with interrupt mode instead of polling mode.
      
      https://bugzilla.kernel.org/show_bug.cgi?id=45151Reported-and-Tested-by: NFrancesco <trentini@dei.unipd.it>
      Signed-off-by: NFeng Tang <feng.tang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      cc: stable@vger.kernel.org
      67bfa9b6
    • F
      ACPI: EC: Make the GPE storm threshold a module parameter · a520d52e
      Feng Tang 提交于
      The Linux EC driver includes a mechanism to detect GPE storms,
      and switch from interrupt-mode to polling mode.  However, polling
      mode sometimes doesn't work, so the workaround is problematic.
      Also, different systems seem to need the threshold for detecting
      the GPE storm at different levels.
      
      ACPI_EC_STORM_THRESHOLD was initially 20 when it's created, and
      was changed to 8 in 2.6.28 commit 06cf7d3c "ACPI: EC: lower interrupt storm
      threshold" to fix kernel bug 11892 by forcing the laptop in that bug to
      work in polling mode. However in bug 45151, it works fine in interrupt
      mode if we lift the threshold back to 20.
      
      This patch makes the threshold a module parameter so that user has a
      flexible option to debug/workaround this issue.
      
      The default is unchanged.
      
      This is also a preparation patch to fix specific systems:
      	https://bugzilla.kernel.org/show_bug.cgi?id=45151Signed-off-by: NFeng Tang <feng.tang@intel.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      cc: stable@vger.kernel.org
      a520d52e
  8. 30 9月, 2012 1 次提交
  9. 25 9月, 2012 8 次提交
  10. 24 9月, 2012 4 次提交
  11. 22 9月, 2012 5 次提交
  12. 21 9月, 2012 9 次提交