1. 13 Oct, 2020 2 commits
    • 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 1 commit
    • Rafael J. Wysocki's avatar
      Merge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm · a17a733e
      Rafael J. Wysocki authored
      Pull ARM cpufreq updates for 5.10-rc1 from Viresh Kumar:
      
      "- STI cpufreq driver updates to allow new hardware (Alain Volmat).
      
       - Minor tegra driver fixes around initial frequency mismatch warnings (Jon
         Hunter).
      
       - dev_err simplification for s5pv210 driver (Krzysztof Kozlowski).
      
       - Qcom driver updates to allow new hardware and minor cleanup (Manivannan
         Sadhasivam and Matthias Kaehlcke).
      
       - Add missing MODULE_DEVICE_TABLE for armada driver (Pali Rohár).
      
       - Improved defer-probe handling in cpufreq-dt driver (Stephan Gerhold).
      
       - Call dev_pm_opp_of_remove_table() unconditionally for imx driver (Viresh
         Kumar)."
      
      * 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm:
        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
        cpufreq: qcom-hw: Make use of cpufreq driver_data for passing pdev
        cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE
        cpufreq: arm: Kconfig: add CPUFREQ_DT depend for STI CPUFREQ
        cpufreq: dt-platdev: Blacklist st,stih418 SoC
        cpufreq: sti-cpufreq: add stih418 support
        cpufreq: s5pv210: Use dev_err instead of pr_err in probe
        cpufreq: s5pv210: Simplify with dev_err_probe()
        cpufreq: tegra186: Fix initial frequency
        cpufreq: dt: Refactor initialization to handle probe deferral properly
        opp: Handle multiple calls for same OPP table in _of_add_opp_table_v1()
        cpufreq: imx6q: Unconditionally call dev_pm_opp_of_remove_table()
        opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER
      a17a733e
  6. 05 Oct, 2020 8 commits
  7. 04 Oct, 2020 1 commit
  8. 03 Oct, 2020 10 commits
  9. 02 Oct, 2020 13 commits