1. 13 Oct, 2020 4 commits
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-avs' and 'powercap' · 16641d81
      Rafael J. Wysocki authored
      * pm-avs:
        MAINTAINERS: drop myself from PM AVS drivers
        PM: AVS: qcom-cpr: simplify the return expression of cpr_disable()
      
      * powercap:
        powercap: include header to fix -Wmissing-prototypes
      16641d81
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-core', 'pm-sleep', 'pm-pci' and 'pm-domains' · 2cf9ba29
      Rafael J. Wysocki authored
      * pm-core:
        PM: runtime: Fix timer_expires data type on 32-bit arches
        PM: runtime: Remove link state checks in rpm_get/put_supplier()
      
      * pm-sleep:
        ACPI: EC: PM: Drop ec_no_wakeup check from acpi_ec_dispatch_gpe()
        ACPI: EC: PM: Flush EC work unconditionally after wakeup
        PM: hibernate: remove the bogus call to get_gendisk() in software_resume()
        PM: hibernate: Batch hibernate and resume IO requests
      
      * pm-pci:
        PCI/ACPI: Whitelist hotplug ports for D3 if power managed by ACPI
      
      * pm-domains:
        PM: domains: Allow to abort power off when no ->power_off() callback
        PM: domains: Rename power state enums for genpd
      2cf9ba29
    • Rafael J. Wysocki's avatar
      Merge branches 'pm-cpuidle' and 'pm-devfreq' · fe5975b1
      Rafael J. Wysocki authored
      * pm-cpuidle:
        cpuidle: record state entry rejection statistics
        cpuidle: psci: Allow PM domain to be initialized even if no OSI mode
        firmware: psci: Extend psci_set_osi_mode() to allow reset to PC mode
        ACPI: processor: Print more information when acpi_processor_evaluate_cst() fails
        cpuidle: tegra: Correctly handle result of arm_cpuidle_simple_enter()
      
      * pm-devfreq:
        PM / devfreq: tegra30: Improve initial hardware resetting
        PM / devfreq: event: Change prototype of devfreq_event_get_edev_by_phandle function
        PM / devfreq: Change prototype of devfreq_get_devfreq_by_phandle function
        PM / devfreq: Add devfreq_get_devfreq_by_node function
      fe5975b1
    • Rafael J. Wysocki's avatar
      Merge branch 'pm-cpufreq' · 9c2ff665
      Rafael J. Wysocki authored
      * pm-cpufreq: (30 commits)
        cpufreq: stats: Fix string format specifier mismatch
        arm: disable frequency invariance for CONFIG_BL_SWITCHER
        cpufreq,arm,arm64: restructure definitions of arch_set_freq_scale()
        cpufreq: stats: Add memory barrier to store_reset()
        cpufreq: schedutil: Simplify sugov_fast_switch()
        cpufreq: Move traces and update to policy->cur to cpufreq core
        cpufreq: stats: Enable stats for fast-switch as well
        cpufreq: stats: Mark few conditionals with unlikely()
        cpufreq: stats: Remove locking
        cpufreq: stats: Defer stats update to cpufreq_stats_record_transition()
        arch_topology, arm, arm64: define arch_scale_freq_invariant()
        arch_topology, cpufreq: constify arch_* cpumasks
        cpufreq: report whether cpufreq supports Frequency Invariance (FI)
        cpufreq: move invariance setter calls in cpufreq core
        arch_topology: validate input frequencies to arch_set_freq_scale()
        cpufreq: qcom: Don't add frequencies without an OPP
        cpufreq: qcom-hw: Add cpufreq support for SM8250 SoC
        cpufreq: qcom-hw: Use of_device_get_match_data for offsets and row size
        cpufreq: qcom-hw: Use devm_platform_ioremap_resource() to simplify code
        dt-bindings: cpufreq: cpufreq-qcom-hw: Document Qcom EPSS compatible
        ...
      9c2ff665
  2. 12 Oct, 2020 1 commit
  3. 08 Oct, 2020 2 commits
    • Ionela Voinescu's avatar
      arm: disable frequency invariance for CONFIG_BL_SWITCHER · 6699e91c
      Ionela Voinescu authored
      big.LITTLE switching complicates the setting of a correct cpufreq-based
      frequency invariance scale factor due to (as observed in
      drivers/cpufreq/vexpress-spc-cpufreq.c):
       - Incorrect current and maximum frequencies as a result of the
         exposure of a virtual frequency table to the cpufreq core,
       - Missed updates as a result of asynchronous frequency adjustments
         caused by frequency changes in other CPU pairs.
      
      Given that its functionality is atypical in regards to frequency
      invariance and this is an old technology, disable frequency
      invariance for when big.LITTLE switching is configured in to prevent
      incorrect scale setting.
      Signed-off-by: default avatarIonela Voinescu <ionela.voinescu@arm.com>
      Suggested-by: default avatarDietmar Eggemann <dietmar.eggemann@arm.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Acked-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      6699e91c
    • Ionela Voinescu's avatar
      cpufreq,arm,arm64: restructure definitions of arch_set_freq_scale() · a20b7053
      Ionela Voinescu authored
      Compared to other arch_* functions, arch_set_freq_scale() has an atypical
      weak definition that can be replaced by a strong architecture specific
      implementation.
      
      The more typical support for architectural functions involves defining
      an empty stub in a header file if the symbol is not already defined in
      architecture code. Some examples involve:
       - #define arch_scale_freq_capacity	topology_get_freq_scale
       - #define arch_scale_freq_invariant	topology_scale_freq_invariant
       - #define arch_scale_cpu_capacity	topology_get_cpu_scale
       - #define arch_update_cpu_topology	topology_update_cpu_topology
       - #define arch_scale_thermal_pressure	topology_get_thermal_pressure
       - #define arch_set_thermal_pressure	topology_set_thermal_pressure
      
      Bring arch_set_freq_scale() in line with these functions by renaming it to
      topology_set_freq_scale() in the arch topology driver, and by defining the
      arch_set_freq_scale symbol to point to the new function for arm and arm64.
      
      While there are other users of the arch_topology driver, this patch defines
      arch_set_freq_scale for arm and arm64 only, due to their existing
      definitions of arch_scale_freq_capacity. This is the getter function of the
      frequency invariance scale factor and without a getter function, the
      setter function - arch_set_freq_scale() has not purpose.
      Signed-off-by: default avatarIonela Voinescu <ionela.voinescu@arm.com>
      Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
      Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      Acked-by: Sudeep Holla <sudeep.holla@arm.com> (BL_SWITCHER and topology parts)
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      a20b7053
  4. 07 Oct, 2020 2 commits
  5. 06 Oct, 2020 4 commits
  6. 05 Oct, 2020 9 commits
  7. 04 Oct, 2020 1 commit
  8. 03 Oct, 2020 10 commits
  9. 02 Oct, 2020 7 commits