1. 08 Jul, 2019 2 commits
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-sleep' · 3dbeb448
      Rafael J. Wysocki authored
      * pm-sleep:
        PM: sleep: Drop dev_pm_skip_next_resume_phases()
        ACPI: PM: Drop unused function and function header
        ACPI: PM: Introduce "poweroff" callbacks for ACPI PM domain and LPSS
        ACPI: PM: Simplify and fix PM domain hibernation callbacks
        PCI: PM: Simplify bus-level hibernation callbacks
        PM: ACPI/PCI: Resume all devices during hibernation
        kernel: power: swap: use kzalloc() instead of kmalloc() followed by memset()
        PM: sleep: Update struct wakeup_source documentation
        drivers: base: power: remove wakeup_sources_stats_dentry variable
        PM: suspend: Rename pm_suspend_via_s2idle()
        PM: sleep: Show how long dpm_suspend_start() and dpm_suspend_end() take
        PM: hibernate: powerpc: Expose pfn_is_nosave() prototype
      3dbeb448
    • Rafael J. Wysocki's avatar
      Merge branches 'acpi-pm' and 'pm-pci' · 50e163d4
      Rafael J. Wysocki authored
      * acpi-pm:
        ACPI: PM: Make acpi_sleep_state_supported() non-static
        ACPI: PM: Allow transitions to D0 to occur in special cases
        ACPI: PM: Avoid evaluating _PS3 on transitions from D3hot to D3cold
        ACPI / sleep: Switch to use acpi_dev_get_first_match_dev()
        ACPI / LPIT: Correct LPIT end address for lpit_process()
      
      * pm-pci:
        ACPI: PM: Unexport acpi_device_get_power()
        PCI: PM/ACPI: Refresh all stale power state data in pci_pm_complete()
        PCI / ACPI: Add _PR0 dependent devices
        ACPI / PM: Introduce concept of a _PR0 dependent device
        PCI / ACPI: Use cached ACPI device state to get PCI device power state
        PCI: Do not poll for PME if the device is in D3cold
        PCI: Add missing link delays required by the PCIe spec
        PCI: PM: Replace pci_dev_keep_suspended() with two functions
        PCI: PM: Avoid resuming devices in D3hot during system suspend
      50e163d4
  2. 06 Jul, 2019 1 commit
    • Dexuan Cui's avatar
      ACPI: PM: Make acpi_sleep_state_supported() non-static · ad5a449b
      Dexuan Cui authored
      With some upcoming patches to save/restore the Hyper-V drivers related
      states, a Linux VM running on Hyper-V will be able to hibernate. When
      a Linux VM hibernates, unluckily we must disable the memory hot-add/remove
      and balloon up/down capabilities in the hv_balloon driver
      (drivers/hv/hv_balloon.c), because these can not really work according to
      the design of the related back-end driver on the host.
      
      By default, Hyper-V does not enable the virtual ACPI S4 state for a VM;
      on recent Hyper-V hosts, the administrator is able to enable the virtual
      ACPI S4 state for a VM, so we hope to use the presence of the virtual ACPI
      S4 state as a hint for hv_balloon to disable the aforementioned
      capabilities. In this way, hibernation will work more reliably, from the
      user's perspective.
      
      By marking acpi_sleep_state_supported() non-static, we'll be able to
      implement a hv_is_hibernation_supported() API in the always-built-in
      module arch/x86/hyperv/hv_init.c, and the API will be called by hv_balloon.
      Signed-off-by: default avatarDexuan Cui <decui@microsoft.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      ad5a449b
  3. 04 Jul, 2019 2 commits
  4. 03 Jul, 2019 1 commit
  5. 02 Jul, 2019 5 commits
  6. 30 Jun, 2019 4 commits
  7. 29 Jun, 2019 25 commits