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
This commit is contained in:
Rafael J. Wysocki 2025-10-15 15:47:45 +02:00
commit c17add7349