Skip to content

loader: allow an unused PSCI table on Kria K26 - #618

Merged
dreamliner787-9 merged 1 commit into
seL4:mainfrom
r4v3n6101:fix-kria-k26-clang
Oct 28, 2026
Merged

dreamliner787-9 merged 1 commit into
seL4:mainfrom
r4v3n6101:fix-kria-k26-clang

Conversation

@r4v3n6101

@r4v3n6101 r4v3n6101 commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #562 by suppressing warn via unused.
Started here: NixOS/nixpkgs#572133 (comment)

@dreamliner787-9

Copy link
Copy Markdown
Collaborator

Could you please rebase?

Kria K26 uses the ZCU102 CPU table but defines `ARM_PSCI_UNAVAILABLE`,
so only the compile-time size assertion references it.

Annotate that table as unused to avoid Clang's
`-Wunneeded-internal-declaration` error,
while retaining the CPU-count check and ZCU102's PSCI path.

Fixes seL4#562.

Signed-off-by: r4v3n6101 <[email protected]>
@dreamliner787-9
dreamliner787-9 merged commit ff165e2 into seL4:main Oct 28, 2026
12 checks passed
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.

Clang compile errors with psci_target_cpus on kria board

2 participants