1. 07 10月, 2014 1 次提交
  2. 01 10月, 2014 4 次提交
    • R
      ACPI / sleep: Rework the handling of ACPI GPE wakeup from suspend-to-idle · a8d46b9e
      Rafael J. Wysocki 提交于
      The ACPI GPE wakeup from suspend-to-idle is currently based on using
      the IRQF_NO_SUSPEND flag for the ACPI SCI, but that is problematic
      for a couple of reasons.  First, in principle the ACPI SCI may be
      shared and IRQF_NO_SUSPEND does not really work well with shared
      interrupts.  Second, it may require the ACPI subsystem to special-case
      the handling of device notifications depending on whether or not
      they are received during suspend-to-idle in some places which would
      lead to fragile code.  Finally, it's better the handle ACPI wakeup
      interrupts consistently with wakeup interrupts from other sources.
      
      For this reason, remove the IRQF_NO_SUSPEND flag from the ACPI SCI
      and use enable_irq_wake()/disable_irq_wake() with it instead, which
      requires two additional platform hooks to be added to struct
      platform_freeze_ops.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a8d46b9e
    • R
      ACPICA: Introduce acpi_enable_all_wakeup_gpes() · e0fa975d
      Rafael J. Wysocki 提交于
      Add a routine for host OSes to enable all wakeup GPEs and disable
      all of the non-wakeup ones at the same time.
      
      It will be used for the handling of GPE wakeup from suspend-to-idle
      in Linux.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      e0fa975d
    • R
      ACPICA: Clear all non-wakeup GPEs in acpi_hw_enable_wakeup_gpe_block() · 5a0b8dee
      Rafael J. Wysocki 提交于
      Since acpi_hw_enable_wakeup_gpe_block() is currently always called
      after disabling all GPEs, it can actually write zeros to all
      non-wakeup enable bits unconditionally.
      
      That will be useful going forward for disabling runtime GPEs and
      enabling wakeup GPEs in one go instead of doing that in two steps
      (disable runtime and enable wakeup) which in theory may lead to a
      loss of a wakeup event.
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      5a0b8dee
    • A
      ACPI / video: check _DOD list when creating backlight devices · 0b8db271
      Aaron Lu 提交于
      The _DOD method lists which video output device is currently attached so
      we should only care about them and ignore others. An user recently
      reported that there are two acpi_video interfaces appeared on his system
      and one of them doesn't work. From the acpidump, it is found that there
      are more than one video output devices that have _BCM control method but
      the _DOD lists only one of them. So this patch checks if the video output
      device is in the _DOD list and will not create backlight device if it is
      not in the list. Also, we consider the broken _DOD case(reflected by the
      video->attached_count is 0) and do not change behaviour for those broken
      _DOD systems.
      
      Link: https://bugzilla.kernel.org/show_bug.cgi?id=84111
      Reported-and-tested-by: ntrrgc@gmail.com
      Signed-off-by: NAaron Lu <aaron.lu@intel.com>
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      0b8db271
  3. 28 9月, 2014 1 次提交
  4. 25 9月, 2014 12 次提交
  5. 22 9月, 2014 4 次提交
  6. 21 9月, 2014 1 次提交
    • R
      ACPI / hotplug: Generate online uevents for ACPI containers · 8ab17fc9
      Rafael J. Wysocki 提交于
      Commit 46394fd0 (ACPI / hotplug: Move container-specific code out of
      the core) removed the generation of "online" uevents for containers,
      because "add" uevents are now generated for them automatically when
      container system devices are registered.  However, there are user
      space tools that need to be notified when the container and all of
      its children have been enumerated, which doesn't happen any more.
      
      For this reason, add a mechanism allowing "online" uevents to be
      generated for ACPI containers after enumerating the container along
      with all of its children.
      
      Fixes: 46394fd0 (ACPI / hotplug: Move container-specific code out of the core)
      Reported-and-tested-by: NYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
      Cc: 3.14+ <stable@vger.kernel.org> # 3.14+
      Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
      8ab17fc9
  7. 16 9月, 2014 1 次提交
  8. 09 9月, 2014 4 次提交
  9. 08 9月, 2014 1 次提交
  10. 04 9月, 2014 3 次提交
  11. 03 9月, 2014 5 次提交
  12. 02 9月, 2014 3 次提交