1. 13 5月, 2015 1 次提交
  2. 14 4月, 2015 1 次提交
  3. 05 2月, 2015 1 次提交
  4. 08 7月, 2014 1 次提交
    • L
      ACPICA: Utilities: Cleanup DEFINE_ACPI_GLOBALS by moving acpi_ut_init_global()... · e8c038a3
      Lv Zheng 提交于
      ACPICA: Utilities: Cleanup DEFINE_ACPI_GLOBALS by moving acpi_ut_init_global() from utglobal.c to utinit.c
      
      The utglobal.c is used to define and initialize global variables.  It makes
      sense if just adding utglobal.o to applications that are using such
      variables. But acpi_ut_init_globals() is preventing us from doing so as
      this initialization function references other components' initializations
      code, which leads to the requirement that many files should also get linked
      if one wants to link utglobal.o.
      
      It is possible to just move acpi_ut_init_global() to utinit.c for
      applications that require this function to link.
      
      By linking utglobal.o, we can stop defining DEFINE_ACPI_GLOBALS for
      applications (currently only acpidump is affected). Lv Zheng.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      e8c038a3
  5. 07 5月, 2014 2 次提交
  6. 18 3月, 2014 1 次提交
  7. 11 2月, 2014 1 次提交
  8. 08 1月, 2014 1 次提交
    • L
      ACPICA: Linuxize: Cleanup spaces after special macro invocations. · ed606944
      Lv Zheng 提交于
      This patch reflects the improvment of a cleanup step which is performed in
      the release process.
      
      There are still spaces in the "linuxized" ACPICA files after special macro
      invocations.  This is because indent treats comments and pre-processor
      directives as spaces, thus we need to skip them.
      
      Before applying this patch, cleanup code will search from keyword back to
      end of line and wipe spaces between them.
      
      After applying this patch, cleanup code will search to the end of the macro
      invocations, skip "empty lines", "comments" and "pre-processor directives",
      then wipe the spaces between the new line and the first non-spaces
      characters.
      
      Following improvements are thus achieved in the release automation by this
      commit which are originally maintained manually:
       - acpi_status acpi_ev_remove_global_lock_handler(void);
       +acpi_status acpi_ev_remove_global_lock_handler(void);
       - acpi_status
       +acpi_status
        acpi_ev_match_gpe_method(acpi_handle obj_handle,
       - acpi_status acpi_subsystem_status(void);
       +acpi_status acpi_subsystem_status(void);
       - acpi_status acpi_install_notify_handler(acpi_handle device, u32 handler_type,
       +acpi_status acpi_install_notify_handler(acpi_handle device, u32 handler_type,
       - acpi_status
       +acpi_status
        acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout);
       - acpi_status
       +acpi_status
        acpi_get_sleep_type_data(u8 sleep_state, u8 *slp_typ_a, u8 *slp_typ_b);
       - acpi_status acpi_leave_sleep_state_prep(u8 sleep_state);
       +acpi_status acpi_leave_sleep_state_prep(u8 sleep_state);
      Some empty lines are restored by this commit due to the change of the
      removal implementation.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      ed606944
  9. 31 10月, 2013 3 次提交
    • L
      ACPICA: Add new statistics interface. · 9187a415
      Lv Zheng 提交于
      This patch ports new counters and statistics interface, already
      implemented in ACPICA upstream, to Linux.  That helps to reduce
      source code differences between Linux and ACPICA upstream.
      
      [rjw: Changelog]
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      9187a415
    • L
      ACPICA: Fix indentation issues for macro invocations. · cd27d79f
      Lv Zheng 提交于
      During the automatic translation of the upstream ACPICA source code
      into Linux kernel source code some extra white spaces are added by
      the "indent" program at the beginning of each line which is an
      invocation of a macro and there is no ";" at the end of the line.
      
      For this reason, a new mode has been added to the translation scripts
      to remove the extra spaces inserted before invoking such macros and add
      an empty line between the invocations of such macros (like the other
      function declarations).  This new mode is executed after executing
      "indent" during the Linux release process.  Consequently, some
      existing ACPICA source code in the Linux kernel tree needs to be
      adjusted to allow the new scripts to work correctly.
      
      The affected macros and files are:
       1. ACPI_HW_DEPENDENT_RETURN (acpixf.h/acdebug.h/acevents.h):
          This macro is used as a wrapper for hardware dependent APIs to offer
          a stub when the reduced hardware is configured during compilation.
       2. ACPI_EXPORT_SYMBOL (utglobal.c):
          This macro is used by Linux to export symbols to be found by Linux
          modules.  All such invocations are well formatted except those
          exported as global variables.
      
      This can help to reduce the source code differences between Linux
      and upstream ACPICA, and also help to automate the release process.
      No functional or binary generation changes should result from it.
      Lv Zheng.
      
      [rjw: Changelog]
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NBob Moore <robert.moore@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      cd27d79f
    • L
      ACPICA: Add EXPORT_ACPI_INTERFACES macro to external interface modules. · 839e928f
      Lv Zheng 提交于
      For Linux, there are no functional changes/binary generation differences
      introduced by this patch.
      
      This change adds a new macro to all files that contain external ACPICA
      interfaces. It can be detected and used by the host (via the host-specific
      header) for any special processing required for such modules. Lv Zheng.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      839e928f
  10. 24 9月, 2013 1 次提交
  11. 13 8月, 2013 1 次提交
  12. 12 3月, 2013 1 次提交
  13. 25 1月, 2013 1 次提交
  14. 10 1月, 2013 4 次提交
    • L
      ACPICA: Update initialization codes. · 75e44460
      Lv Zheng 提交于
      This patch decreases 18 lines of 20121018 divergence.diff.
      
      This patch updates initialization codes as they are already been updated in
      ACPICA. This can also help to reduce source code differences between Linux
      and ACPICA.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      75e44460
    • L
      ACPICA: Cleanup indentation to reduce differences between Linux and ACPICA. · 3e8214e5
      Lv Zheng 提交于
      This is a cosmetic patch only. Comparison of the resulting binary showed
      only line number differences.
      
      This patch does not affect the generation of the Linux binary.
      This patch decreases 210 lines of 20121018 divergence.diff.
      
      The ACPICA source codes uses a totally different indentation style from the
      Linux to be compatible with other users (operating systems or BIOS).
      
      Indentation differences are critical to the release automation. There are
      two causes related to the "indentation" that are affecting the release
      automation:
      1. The ACPICA -> Linux release process is:
           ACPICA source -- acpisrc - hierarchy - indent ->
           linuxized ACPICA source -- diff ->
           linuxized ACPICA patch (x) -- human intervention ->
           linuxized ACPICA patch (o)
           Where
             'x' means "cannot be directly applied to the Linux"
             'o' means "can be directly applied to the Linux"
         Different "indent" version or "indent" options used in the "indent"
         step will lead to different divergences.
         The version of "indent" used for the current release process is:
           GNU indent 2.2.11
         The options of "indent" used for the current release process is:
           -npro -kr -i8 -ts8 -sob -l80 -ss -ncs
      2. Manual indentation prettifying work in the Linux side will also harm the
         automatically generated linuxized ACPICA patches, making them impossible
         to apply directly.
      
      This patch fixes source code differences caused by the two causes so that
      the "human intervention" can be reduced in the future.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      3e8214e5
    • L
      ACPICA: Update codes under disabled build options. · 56324c10
      Lv Zheng 提交于
      This is a cosmetic patch only. Comparison of the resulting binary showed
      only line number differences.
      
      This patch does not affect the generation of the Linux binary.
      This patch decreases 170 lines of 20121018 divergence.diff.
      
      This patch updates ACPICA codes surrounded by some disabled build options
      so that the source code diff between Linux and ACPICA can be reduced.
      
      Some of these build options may never be used in the kernel, so they may
      be deleted entirely in future patches.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      56324c10
    • L
      ACPICA: Cleanup updated comments. · 75c8044f
      Lv Zheng 提交于
      This is a cosmetic patch only. Comparison of the resulting binary showed
      only line number differences.
      
      This patch does not affect the generation of the Linux binary.
      This patch decreases 558 lines of 20121018 divergence.diff.
      
      This patch reduces the source code diff between Linux and ACPICA by
      cleaning the comments that already have been updated in ACPICA.
      
      There is no extra indentation done in this patch. Even the empty line
      deletions and insertions are also splitted into another cleanup patch so
      that this patch can be easily reviewed, and the binary differences can be
      held to a lowest level.
      Signed-off-by: NLv Zheng <lv.zheng@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      75c8044f
  15. 17 7月, 2012 2 次提交
  16. 01 6月, 2012 1 次提交
  17. 22 3月, 2012 1 次提交
  18. 17 1月, 2012 2 次提交
  19. 01 11月, 2011 1 次提交
  20. 03 3月, 2011 2 次提交
  21. 19 1月, 2011 1 次提交
  22. 12 1月, 2011 2 次提交
  23. 18 10月, 2010 1 次提交
  24. 01 10月, 2010 1 次提交
    • L
      ACPICA/ACPI: Add new host interfaces for _OSI support · b0ed7a91
      Lin Ming 提交于
      Adds install/remove interfaces so that the host can dynamically
      alter the global _OSI table. Also adds support for _OSI handlers.
      Additional support: new debugger command (osi), and test support in
      the acpiexec utility. Adds new file, utilities/utosi.c.
      ACPICA bugzilla 836.
      
      The Linux OSL _OSI code is also changed.
      acpi_osi_setup can't call acpi_install/remove_interface because ACPICA
      is not initialized yet at this early time.
      So we just save the osi string in acpi_osi_setup and will handle it
      later in a new function acpi_osi_setup_late.
      
      http://www.acpica.org/bugzilla/show_bug.cgi?id=836Signed-off-by: NLin Ming <ming.m.lin@intel.com>
      Signed-off-by: Bob Moore <robert.moore@intel.com
      Signed-off-by: NLen Brown <len.brown@intel.com>
      b0ed7a91
  25. 25 9月, 2010 1 次提交
    • R
      ACPI / ACPICA: Defer enabling of runtime GPEs (v3) · a2100801
      Rafael J. Wysocki 提交于
      The current ACPI GPEs initialization code has a problem that it
      enables some GPEs pointed to by device _PRW methods, generally
      intended for signaling wakeup events (system or device wakeup).
      These GPEs are then almost immediately disabled by the ACPI namespace
      scanning code with the help of acpi_gpe_can_wake(), but it would be
      better not to enable them at all until really necessary.
      
      Modify the initialization of GPEs so that the ones that have
      associated _Lxx or _Exx methods and are not pointed to by any _PRW
      methods will be enabled after the namespace scan is complete.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      a2100801
  26. 07 7月, 2010 1 次提交
  27. 20 4月, 2010 1 次提交
  28. 23 1月, 2010 2 次提交
  29. 29 8月, 2009 1 次提交