Skip to content

Conversation

@SapthagiriP
Copy link

Enhance ACS runtime efficiency for simulation environments by reducing
unnecessary execution overhead.

Add support for passing runtime parameters from EL3 and introduce
per-module execution control to allow selective test execution.

Gowtham Siddarth and others added 5 commits January 20, 2026 08:35
- Make MMU setup/enable optional via BSA_ENABLE_MMU
- Added support for Run Time parameter passing from EL3
- Guard info table creation with enabled-module checks to avoid unused inits
- Gate val_bsa_*_execute_tests() calls on per-module enablement
- Keep default behaviour unchanged when no overrides are provided

Signed-off-by: Gowtham Siddarth <[email protected]>
Change-Id: I6221226ed1fd6f618c8a7d7867d82b01299227a8
Replace ADR with ADRP+ADD when loading g_primary_mpidr to avoid
PC-relative range limitations and linker truncation issues

Signed-off-by: Gowtham Siddarth <[email protected]>
Change-Id: Ic4e0c37c93c9620d1fe68e5a47bf68579b910308
This change introduces a simulation-only fast path that:
- Disables interrupts in 32-IRQ chunks using ICENABLER registers
- Programs interrupt priorities in 4-IRQ chunks using IPRIORITYR registers
- Removes duplicate full priority initialization loops
- Caps SPI routing loop to a reasonable limit in simulation
- Adds bounded polling with backoff in WakeUpRD() to avoid MMIO spin storms

Signed-off-by: Gowtham Siddarth <[email protected]>
Change-Id: If0f3ae014f871c18a10481894a421b129312bf16
- Guard data cache invalidation with #if so it is not executed
for simulation targets, avoiding unnecessary cache maintenance
during sim runs.
- Also remove separate BSA and SBSA entry files and use a common
entry point with conditional compilation for ACS selection.

Signed-off-by: Gowtham Siddarth <[email protected]>
Change-Id: I640812cf7f3cbd80f32f9ac99527aa7fc5295178
Update PAL info table creation routines to conditionally dump
internal tables only when debug verbosity is enabled. This avoids
unnecessary exuctung the dump functions saving execution cycles
while preserving debug visibility when required.

Applied consistently across multiple PAL modules.

Signed-off-by: Gowtham Siddarth <[email protected]>
Change-Id: I76c41130041de4cbee1ee34bb7289a535493b2e4
@prashymh prashymh merged commit 5acee74 into ARM-software:main Jan 22, 2026
27 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.

3 participants