Repository navigation
[26.04_linux-nvidia] NVIDIA: SAUCE: watchdog: sbsa_gwdt: stop ping worker during system sleep - #632
Conversation
BaseOS Kernel ReviewTip ✅ Review passedNo issues found across the reviewed commits. Findings: none 🔍 Review artifacts
📦 Build checks — 🟢 4/4 passed
Note Build reports and debs are retained for 10 days after the PR closes.
Review metadata
This comment is maintained by BaseOS Reviewer and updated when the GitHub watcher publishes a newer review. |
PR Validation ReportPatchscan ✅ No Missing FixesAll cherry-picked commits checked — no missing upstream fixes found. PR Lint ✅ All checks passedDetailsChecking 1 commits... Cherry-pick digest: ┌──────────────┬──────────────────────────────────────────────────────────────────┬────────────┬─────────┬───────────────────────────┐ │ Local │ Referenced upstream / Patch subject │ Patch-ID │ Subject │ SoB chain │ ├──────────────┼──────────────────────────────────────────────────────────────────┼────────────┼─────────┼───────────────────────────┤ │ 0fa2e333e898 │ [SAUCE] watchdog: sbsa_gwdt: stop mt8901 ping worker during susp │ N/A │ N/A │ bdintaku │ └──────────────┴──────────────────────────────────────────────────────────────────┴────────────┴─────────┴───────────────────────────┘ Lint: all checks passed. |
|
No issues from me for this specific commit, however I did have a review finding that I shared in sibling PR 633 that should be addressed in a follow-on fix/series (acknowledged by Bharat in that PR).
|
38ebfd6 to
a0966b5
Compare
|
Please add the following Please also wrap the commit-message body at 72 columns, keeping the Otherwise, this change looks fine to me. |
…spend On MediaTek SBSA watchdogs in action=1 mode, the sleep notifier parks the hardware watchdog, but the watchdog-core keepalive timer remains armed. Its SYS_TIMER interrupt can wake MT8901 from S3 even though the hardware watchdog is parked. Use the existing watchdog-core PM hook in this mode to cancel the ping worker during system sleep and restore it on resume. Leave action=0 unchanged: its WS0 heartbeat workaround needs separate resume-time accounting before its core worker can be quiesced. Fixes: 280db0e ("NVIDIA: SAUCE: watchdog: sbsa_gwdt: park the watchdog around system sleep on MediaTek implementations") Signed-off-by: Bharat Dintakurti <bdintakurti@nvidia.com>
a0966b5 to
0fa2e33
Compare
|
|
|
|
|
Merged, closing PR. |
On MediaTek SBSA watchdogs in action=1 mode, the sleep notifier parks the hardware during system sleep, but the watchdog-core keepalive timer can remain armed. Its SYS_TIMER interrupt can wake MT8901 from S3 even though the hardware watchdog is parked.
This change opts only that mode into the existing watchdog-core suspend hook, canceling the ping timer and work at PM prepare and restoring the worker on resume. action=0 remains unchanged because its WS0 heartbeat workaround needs separate resume-time accounting. The watchdog core's existing prepare-to-freeze rearm window is outside this PR's scope.
Validation: On MT8901 with action=1, early_enable=1, and a 10-second timeout, three 60-second deep S3 cycles with TAD wake resumed without an early SYS_TIMER wake or watchdog reset. The boot ID was unchanged.
Follow-up to #627.
BugLink: https://bugs.launchpad.net/bugs/2169002