Repository navigation
Fix SEP diagnostics source checks and KUnit compilation - #1438
Merged
DjDeveloperr merged 2 commits intoNov 10, 2026
Merged
Conversation
The passive diagnostics state now carries timing and endpoint discovery fields. Supply their types in the policy extraction and their kernel primitives in the full-source sensor harness, so both still compile the real diagnostics code. Signed-off-by: Diljit Singh <[email protected]>
arm64_nmi_cpu_stop calls arm64_crash_handoff_wait even when kexec is disabled. linux/kexec.h only includes the architecture header with CONFIG_KEXEC_CORE, so the SEP KUnit configuration fails with an undeclared function. Include asm/kexec.h directly to expose its existing no-op stub in that configuration. Signed-off-by: Diljit Singh <[email protected]>
DjDeveloperr
marked this pull request as ready for review
November 10, 2026 09:19
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.
The SEP diagnostics source tests have fallen behind
diag_shim.c: the policy test extracts timing and endpoint fields without their types, and the sensor test compiles the full file without its bitmap, clock and atomic helpers. Supply those mocks while continuing to compile the real diagnostics code.The first CI run passed source, Rust-build and host-tests, then exposed a separate existing KUnit compile failure:
arm64_nmi_cpu_stop()callsarm64_crash_handoff_wait()without seeing its already-defined no-op stub when CONFIG_KEXEC_CORE is off. Includeasm/kexec.hdirectly so both configurations see the declaration.No test suite was run on the owner's desktop. Draft pending CI on the final head and execution of the diagnostics source tests on M5 under the hardware lock. This small prerequisite remains separate from the #1012 GPU stack.