Linux ACPI
 help / color / mirror / Atom feed
* [PATCH v1 0/2] cpufreq: Fix issues related to cached resolved frequency and index
@ 2026-11-06 14:59 Rafael J. Wysocki
  2026-11-06 15:04 ` [PATCH v1 1/2] cpufreq: Cache post-resolution target frequency in __resolve_freq() Rafael J. Wysocki
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2026-11-06 14:59 UTC (permalink / raw)
  To: Linux PM
  Cc: Viresh Kumar, Christian Loehle, Zhongqiu Han, Linux ACPI,
	Vincent Donnefort

Hi All,

This series addresses two issues related to the caching of the
resolved frequency and index in __resolve_freq().

The first one is that the cached resolved frequency value should be
the post-resolution one, not the pre-resolution one (which is the
case now).  Patch [1/2] fixes this.

The other issue is that __resolve_freq() is now called in multiple
places, some of which may race with the cached frequency and index
updates in the schedutil governor path and that may cause the cached
values to become invalid.  This is fixed by patch [2/2].

Please see the individual patch changelogs for details.

Thanks!




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-11-06 17:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-06 14:59 [PATCH v1 0/2] cpufreq: Fix issues related to cached resolved frequency and index Rafael J. Wysocki
2026-11-06 15:04 ` [PATCH v1 1/2] cpufreq: Cache post-resolution target frequency in __resolve_freq() Rafael J. Wysocki
2026-11-06 17:02   ` Christian Loehle
2026-11-06 15:05 ` [PATCH v1 2/2] cpufreq: Fix updates of cached resolved frequency and index Rafael J. Wysocki
2026-11-06 17:32   ` Christian Loehle
2026-11-06 17:02 ` [PATCH v1 0/2] cpufreq: Fix issues related to " Christian Loehle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox