~/talk

Make sync_state()/handoff work for the common clk framework

Talkat Linux Plumbers Conference 2023 · 2023-11-13..11-15
links:none on file
slides:none on file

Problem: clock_disable_unused runs at lateinit but actually races with deferred probe, so hardware-enabled clocks get turned off unpredictably. Attempts include Sana/Abel proposals to use sync_state()/handoff (enable-on-register or deferred sync) and Mike’s 2013 software-refcount flag; all fail on edge cases like cross-controller parent–child clocks, incorrect hardware reads, unintended hardware writes, and long unbounded hold times. Proposed path is a combined approach: record hardware state at register, add a handoff flag to avoid re-enabling hardware, and expose a configurable timeout for sync_state so boots and power savings both work.

AI-written summary · about

  1. 0:00Introduction to clock framework issue
  2. 3:32Proposed solutions overview
  3. 8:52Historical approaches and rejection
  4. 10:39Brainstorming and patch improvements
  5. 12:00Alternative frameworks and trade-offs
  6. 14:06Final discussion and next steps
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.