Skip to content

Fix SEP diagnostics source checks and KUnit compilation - #1438

Merged
DjDeveloperr merged 2 commits into
integration/aurorafrom
fix/sep-diag-source-harness-20261110
Nov 10, 2026
Merged

DjDeveloperr merged 2 commits into
integration/aurorafrom
fix/sep-diag-source-harness-20261110

Conversation

@DjDeveloperr

@DjDeveloperr DjDeveloperr commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

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() calls arm64_crash_handoff_wait() without seeing its already-defined no-op stub when CONFIG_KEXEC_CORE is off. Include asm/kexec.h directly 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.

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 DjDeveloperr changed the title tools/aurora-sep: update diagnostics source harnesses Fix SEP diagnostics source checks and KUnit compilation Nov 10, 2026
@DjDeveloperr
DjDeveloperr marked this pull request as ready for review November 10, 2026 09:19
@DjDeveloperr
DjDeveloperr merged commit 6be165d into integration/aurora Nov 10, 2026
4 checks passed
@RyanTheTide
RyanTheTide deleted the fix/sep-diag-source-harness-20261110 branch November 16, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant