Repository navigation
btcentauri, drm/apple t8132_ext: queue on system_percpu_wq instead of the deprecated system_wq - #1104
Merged
Merged
Conversation
The send path re-arms the poll work with mod_delayed_work(system_wq), while every other caller uses schedule_delayed_work(), which already queues on system_percpu_wq. system_wq is deprecated and logs a warning the first time an item is queued on it. Use system_percpu_wq so the work always runs on the queue the rest of the driver uses, and the kernel log stays clean. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
system_wq is deprecated, and the first item queued on it logs "enqueued on deprecated workqueue" at warning level. Queue the delayed flip event on system_percpu_wq, the per-CPU queue that replaces it; the behaviour is unchanged. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
Contributor
Author
|
Compile: test kernel 7.3.0-aurora-b2t1 (fleet22 recipe, config identical to fleet22, asahi.config 142/0) built rc 0 with both changes. Separately, |
Contributor
Author
|
Neo b2t1 one-shot also ran an rtcwake s2idle cycle: no 'deprecated workqueue' line from any driver afterwards. Ready for the merge train. |
RyanTheTide
added a commit
that referenced
this pull request
Nov 7, 2026
Brings aurora-wip up to fleet25: DT descriptions (#1029, #1030, #1112), the J715 board (#1129), Stockholm NFC (#1042, #1136), the AV1 tile check (#1100), the M4 Max ANE profile and AVD quirk (#1088, #1091), boot-log fixes (#1103, #1104) and the Neo ANE memory floor (#1137). Conflicts: macaudio.c and apple,macaudio.yaml, where aurora-wip's J813 and J873 entries and integration's J715 entries were added at the same spot. Keep all of them. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
system_wqandsystem_unbound_wqare deprecated in this tree: the first work item queued on either logsworkqueue: work func ... enqueued on deprecated workqueue. Use system_{percpu|dfl}_wq instead.at warning level (pr_warn_once, global). After the Thunderbolt DP sleep-gate fix (FLEET4,fix/thunderbolt-dp-pm-dfl-wq), these are the only remaining users in Apple driver paths:drivers/bluetooth/btcentauri.c: the send path re-arms the poll work withmod_delayed_work(system_wq, ...), while every other caller usesschedule_delayed_work(), which already queues onsystem_percpu_wq. Usesystem_percpu_wqso the work always runs on the queue the rest of the driver uses.drivers/gpu/drm/apple/t8132_ext_drm.c: the delayed flip event goes onsystem_percpu_wq; behaviour unchanged.Both are token swaps to the per-CPU queue that replaces
system_wq, with the same semantics.Tests:
DRM_APPLE_DCP_T8132=yis in the fleet config).BT_CENTAURIis not in the fleet config; its object is compiled separately (result added here).🤖 Generated with Claude Code