Repository navigation
M3.E fix SV STOP→START losing PTP sample-clock certification #296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
masarray
wants to merge
20
commits into
fix/m3d-preserve-fresh-bench-gm-seed-20261024
from
fix/m3e-continuous-sv-clock-authority-20261024
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
fc679dd
fix(sv): retain certified PTP sample-clock authority across SV-only S…
masarray f5a291e
test(sv): 100 stop/start cycles preserve clock proof and reject false…
masarray 29a3630
test(studio): guard clock certification against SV-only STOP regressions
masarray 3ee4e25
fix(ptp): source generation tracks actual EMAC timebase starts, not t…
masarray c917739
test(ptp): prohibit fake GM generation changes on readiness reacquisi…
masarray fab12b3
fix(m3e): keep sample phase observer on owned GPTimer during asynchro…
masarray 2d27ea1
feat(timebase): pure continuous GPTimer ownership policy independent …
masarray 26070b4
test(sv): 100 STOP/PARK/START flag races cannot invalidate continuous…
masarray c192b7b
test(studio): prohibit transient STOP/PARK flags revoking PTP phase c…
masarray 2a2931d
feat(sv): qualify active transmission from physical ISR publication gate
masarray 3283b26
fix(sv): do not requalify live MAC before PTP-second ISR actually ena…
masarray bbdf30e
test(sv): no premature MAC evidence loss before actual PTP boundary l…
masarray ffc2668
test(studio): forbid premature live MAC admission before real ISR PTP…
masarray c599be1
ci(fat): compile-time gate for simulated Global GM, PTP boot and meas…
masarray 4412e19
ci(studio): refuse matched Windows installer unless ESP32 firmware bo…
masarray a14dea1
fix(ptp): default to INTERNAL_GM_ONLY; compiled external GM capabilit…
masarray 01b49ce
test(ptp): block implicit AUTO external-GM handover in internal SOURC…
masarray 455be59
ci(fat): make implicit AUTO GM handover a release-blocker, record INT…
masarray 52ee5d7
ci(windows): installer rejects implicit external-GM AUTO defaults; re…
masarray 34b2614
test(studio): update preflight guard to verified continuously owned G…
masarray File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a certified clock is parked and
PROFILE SMPSYNCH 1followed byPROFILE SMPSYNCH AUTOarrives before the publisher's next 200-ms idle check,smp_synch_lab_set_mode()clears the existing SOURCE qualification but never clears this new latch. The timer and PTP lease remain unchanged, so START accepts the cached certificate and restores qualification without fresh MAC evidence, defeating the existing fail-closed mode-change behavior tested intest_smp_synch_policy.cpp. Checking only the current AUTO mode cannot detect this intervening invalidation. Tie parked certification to the shared qualification invalidation path or a policy generation so a revoked certificate cannot be resurrected.AGENTS.md reference: AGENTS.md:L30-L30
Useful? React with 👍 / 👎.