Skip to content

[PATCH v1] linux-gen: random: detect arm feat_rng availability at runtime#2352

Open
MatiasElo wants to merge 2 commits into
OpenDataPlane:masterfrom
MatiasElo:dev/arm-rng
Open

[PATCH v1] linux-gen: random: detect arm feat_rng availability at runtime#2352
MatiasElo wants to merge 2 commits into
OpenDataPlane:masterfrom
MatiasElo:dev/arm-rng

Conversation

@MatiasElo
Copy link
Copy Markdown
Collaborator

No description provided.

MatiasElo added 2 commits May 25, 2026 12:27
Collect implementation internal read-only flags in odp_global_data_ro_t
into a bitfield.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Arm FEAT_RNG is optional and depending compiler flags __ARM_FEATURE_RNG may
be defined even though the feat is not available on the particular CPU. For
example, on NVIDIA Grace with '-mcpu=neoverse-v2' __ARM_FEATURE_RNG is
defined which currently leads to an illegal instruction failure. Fix the
issue by detecting FEAT_RNG support at runtime.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
@odpbuild odpbuild changed the title linux-gen: random: detect arm feat_rng availability at runtime [PATCH v1] linux-gen: random: detect arm feat_rng availability at runtime May 25, 2026
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