)]}'
{
  "commit": "d2d5c129d07ea8eb91cd8a8633b5774116c4d171",
  "tree": "b721c98f78e3dbe77dbabdaebb3fe0b03f05bdaa",
  "parents": [
    "27d80e0f8b8dff97503fc0061754b1d3800cb961"
  ],
  "author": {
    "name": "Rafael J. Wysocki",
    "email": "rafael.j.wysocki@intel.com",
    "time": "Tue Jul 07 19:25:39 2026 +0200"
  },
  "committer": {
    "name": "Rafael J. Wysocki",
    "email": "rafael.j.wysocki@intel.com",
    "time": "Thu Jul 09 20:31:57 2026 +0200"
  },
  "message": "cpufreq: Make cpufreq_update_pressure() fall back to cpuinfo.max_freq\n\nIf arch_scale_freq_ref() is not defined for a given arch (like x86, for\nexample), cpufreq_update_pressure() will always set cpufreq_pressure to\nzero for all CPUs in the system, which is generally problematic on\nsystems with asymmetric capacity [1].\n\nHowever, in the absence of arch_scale_freq_ref(), it is reasonable\nto assume that cpuinfo.max_freq is the maximum sustainable frequency\nfor the given cpufreq policy.  Moreover, there are cases in which\narch_scale_freq_ref() would need to be defined to return essentially\nthe cpuinfo.max_freq value anyway (for example, intel_pstate on\nhybrid platforms).\n\nFor the above reasons, update cpufreq_update_pressure() to fall back to\nusing cpuinfo.max_freq as the reference frequency if zero is returned by\narch_scale_freq_ref().\n\nFixes: 75d659317bb1 (\"cpufreq: Add a cpufreq pressure feedback for the scheduler\")\nLink: https://lore.kernel.org/lkml/CAKfTPtBuRLfYNnR4w--cFZYZy-R8gaPEgVwCcaMmbCcJ2H-muQ@mail.gmail.com/ [1]\nSigned-off-by: Rafael J. Wysocki \u003crafael.j.wysocki@intel.com\u003e\nAcked-by: Viresh Kumar \u003cviresh.kumar@linaro.org\u003e\nReviewed-by: Zhongqiu Han \u003czhongqiu.han@oss.qualcomm.com\u003e\nTested-by: Ricardo Neri \u003cricardo.neri-calderon@linux.intel.com\u003e # cluster scheduling\nAcked-by: Vincent Guittot \u003cvincent.guittot@linaro.org\u003e\nLink: https://patch.msgid.link/5086499.GXAFRqVoOG@rafael.j.wysocki\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "507224c9ecd38e92887c330ad77c502422bbfb63",
      "old_mode": 33188,
      "old_path": "drivers/cpufreq/cpufreq.c",
      "new_id": "b898b6544069f80e7cfb5a805521649db6740eba",
      "new_mode": 33188,
      "new_path": "drivers/cpufreq/cpufreq.c"
    }
  ]
}
