Skip to content

[PATCH v2] linux-gen: add configure option for passing target system#2350

Open
MatiasElo wants to merge 4 commits into
OpenDataPlane:masterfrom
MatiasElo:dev/target-options
Open

[PATCH v2] linux-gen: add configure option for passing target system#2350
MatiasElo wants to merge 4 commits into
OpenDataPlane:masterfrom
MatiasElo:dev/target-options

Conversation

@MatiasElo
Copy link
Copy Markdown
Collaborator

No description provided.

@odpbuild odpbuild changed the title linux-gen: add configure option for passing target system [PATCH v1] linux-gen: add configure option for passing target system May 20, 2026
MatiasElo added 4 commits May 20, 2026 09:40
Add new '--with-target' configure option for passing ODP target system.
This enables implementing system specific optimizations. Initially, the
supported systems are neoverse-n2, neoverse-n3, neoverse-v1, neoverse-v2,
and neoverse-v3.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
ARMv8.6 and newer systems have time	counter running at 1 GHz, which removes
the need for calculations in time to/from nanosecond conversions. Add
_ODP_TIME_FREQ_1GHZ define for enabling this optimization and define it for
supported target systems.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Use aarch64 self-synchronizing virtual count register cntvctss_el0 for
implementing strict time/cycle count APIs without ISB barriers. Add
_ODP_FEAT_ECV define for enabling this instruction and define it for
neoverse-n3/v3 targets which supports it.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
Add test for neoverse-v1 (Graviton3 core) specific optimizations using new
'--with-target' configure option.

Signed-off-by: Matias Elo <matias.elo@nokia.com>
@MatiasElo MatiasElo force-pushed the dev/target-options branch from 8284c56 to 946d3ae Compare May 20, 2026 06:48
@odpbuild odpbuild changed the title [PATCH v1] linux-gen: add configure option for passing target system [PATCH v2] linux-gen: add configure option for passing target system May 20, 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