]> Git Repo - linux.git/commitdiff
Merge tag 'pm-6.14-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
authorLinus Torvalds <[email protected]>
Thu, 30 Jan 2025 23:10:34 +0000 (15:10 -0800)
committerLinus Torvalds <[email protected]>
Thu, 30 Jan 2025 23:10:34 +0000 (15:10 -0800)
Pull more power management updates from Rafael Wysocki:
 "These are mostly fixes on top of the previously merged power
  management material with the addition of some teo cpuidle governor
  updates, some of which may also be regarded as fixes:

   - Add missing error handling for syscore_suspend() to the hibernation
     core code (Wentao Liang)

   - Revert a commit that added unused macros (Andy Shevchenko)

   - Synchronize the runtime PM status of devices that were runtime-
     suspended before a system-wide suspend and need to be resumed
     during the subsequent system-wide resume transition (Rafael
     Wysocki)

   - Clean up the teo cpuidle governor and make the handling of short
     idle intervals in it consistent regardless of the properties of
     idle states supplied by the cpuidle driver (Rafael Wysocki)

   - Fix some boost-related issues in cpufreq (Lifeng Zheng)

   - Fix build issues in the s3c64xx and airoha cpufreq drivers (Viresh
     Kumar)

   - Remove unconditional binding of schedutil governor kthreads to the
     affected CPUs if the cpufreq driver indicates that updates can
     happen from any CPU (Christian Loehle)"

* tag 'pm-6.14-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
  PM: sleep: core: Synchronize runtime PM status of parents and children
  cpufreq: airoha: Depends on OF
  PM: Revert "Add EXPORT macros for exporting PM functions"
  PM: hibernate: Add error handling for syscore_suspend()
  cpufreq/schedutil: Only bind threads if needed
  cpufreq: ACPI: Remove set_boost in acpi_cpufreq_cpu_init()
  cpufreq: CPPC: Fix wrong max_freq in policy initialization
  cpufreq: Introduce a more generic way to set default per-policy boost flag
  cpufreq: Fix re-boost issue after hotplugging a CPU
  cpufreq: s3c64xx: Fix compilation warning
  cpuidle: teo: Skip sleep length computation for low latency constraints
  cpuidle: teo: Replace time_span_ns with a flag
  cpuidle: teo: Simplify handling of total events count
  cpuidle: teo: Skip getting the sleep length if wakeups are very frequent
  cpuidle: teo: Simplify counting events used for tick management
  cpuidle: teo: Clarify two code comments
  cpuidle: teo: Drop local variable prev_intercept_idx
  cpuidle: teo: Combine candidate state index checks against 0
  cpuidle: teo: Reorder candidate state index checks
  cpuidle: teo: Rearrange idle state lookup code

1  2 
include/linux/pm.h

diff --combined include/linux/pm.h
index 08c37b83fea88e992136fa3b5ccc1910309ec6d4,0d2597a76dfcc922faf47c83b1390fda53e0eed8..78855d794342d21bda124eb038c779875ff491b1
@@@ -384,12 -384,8 +384,8 @@@ const struct dev_pm_ops name = { 
  
  #ifdef CONFIG_PM
  #define _EXPORT_DEV_PM_OPS(name, license, ns)         _EXPORT_PM_OPS(name, license, ns)
- #define EXPORT_PM_FN_GPL(name)                                EXPORT_SYMBOL_GPL(name)
- #define EXPORT_PM_FN_NS_GPL(name, ns)                 EXPORT_SYMBOL_NS_GPL(name, "ns")
  #else
  #define _EXPORT_DEV_PM_OPS(name, license, ns)         _DISCARD_PM_OPS(name, license, ns)
- #define EXPORT_PM_FN_GPL(name)
- #define EXPORT_PM_FN_NS_GPL(name, ns)
  #endif
  
  #ifdef CONFIG_PM_SLEEP
@@@ -570,8 -566,7 +566,8 @@@ const struct dev_pm_ops name = { 
                                        { .event = PM_EVENT_AUTO_RESUME, })
  
  #define PMSG_IS_AUTO(msg)     (((msg).event & PM_EVENT_AUTO) != 0)
 -
 +#define PMSG_NO_WAKEUP(msg)   (((msg).event & \
 +                              (PM_EVENT_FREEZE | PM_EVENT_QUIESCE)) != 0)
  /*
   * Device run-time power management status.
   *
@@@ -684,6 -679,7 +680,7 @@@ struct dev_pm_info 
        bool                    no_pm_callbacks:1;      /* Owned by the PM core */
        bool                    async_in_progress:1;    /* Owned by the PM core */
        bool                    must_resume:1;          /* Owned by the PM core */
+       bool                    set_active:1;           /* Owned by the PM core */
        bool                    may_skip_resume:1;      /* Set by subsystems */
  #else
        bool                    should_wakeup:1;
This page took 0.066539 seconds and 4 git commands to generate.