]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpufreq: intel_pstate: Add and use hybrid_has_l3()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Oct 2025 13:47:45 +0000 (15:47 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 20 Oct 2025 19:20:49 +0000 (21:20 +0200)
commitc17add73498245bd94cb8a05345c73366606e671
tree6b585d4867b1eda42a7b4b2c81ca98f68b97a1bc
parent528dde6619677ac6dc26d9dda1e3c9014b4a08c8
cpufreq: intel_pstate: Add and use hybrid_has_l3()

Introduce a function for checking whether or not a given CPU has L3
cache, called hybrid_has_l3(), and use it in hybrid_get_cost() for
computing cost coefficients associated with a given perf domain.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/13884343.uLZWGnKmhe@rafael.j.wysocki
drivers/cpufreq/intel_pstate.c