Skip to content
Snippets Groups Projects
  1. Mar 19, 2025
  2. Mar 13, 2025
  3. Mar 11, 2025
  4. Mar 10, 2025
  5. Mar 07, 2025
  6. Mar 06, 2025
  7. Mar 05, 2025
  8. Mar 04, 2025
  9. Mar 01, 2025
  10. Feb 28, 2025
  11. Feb 27, 2025
    • Rafael J. Wysocki's avatar
      UPSTREAM: cpufreq: intel_pstate: Use CPPC to get scaling factors · 4d8ce1cb
      Rafael J. Wysocki authored
      
      The perf-to-frequency scaling factors are used by intel_pstate on hybrid
      platforms to cast performance levels to frequency on different types of
      CPUs which is needed because the generic cpufreq sysfs interface works
      in the frequency domain.
      
      For some hybrid platforms already in the field, the scaling factors are
      known, but for others (including some upcoming ones) they most likely
      will be different and the only way to get them that scales is to use
      information provided by the platform firmware.  In this particular case,
      the requisite information can be obtained via CPPC.
      
      If the P-core hybrid scaling factor for the given processor model is not
      known, use CPPC to compute hybrid scaling factors for all CPUs.
      
      Since the current default hybrid scaling factor is only suitable for a
      few early hybrid platforms, add intel_hybrid_scaling_factor[] entries
      for them and initialize the scaling factor to zero ("unknown") by
      default.
      
      Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
      Link: https://patch.msgid.link/8476313.T7Z3S40VBb@rjwysocki.net
      
      
      (cherry picked from commit 9b18d536b124357fee56d82b1462c02f78d219e5)
      
      BUG=None
      TEST=CQ
      
      Change-Id: I0bb03326fef2b9142b8a32c155f09920cd45931e
      Signed-off-by: default avatarTim Van Patten <timvp@google.com>
      4d8ce1cb
  12. Feb 26, 2025
  13. Feb 25, 2025
  14. Feb 24, 2025
  15. Feb 22, 2025
Loading