Skip to content

refactor(pal): Improve PAL not-implemented signalling and unify warnings#254

Merged
chetan-rathore merged 3 commits intoARM-software:mainfrom
shanmugapriyal03:pal_not_implemented_changes
Feb 27, 2026
Merged

refactor(pal): Improve PAL not-implemented signalling and unify warnings#254
chetan-rathore merged 3 commits intoARM-software:mainfrom
shanmugapriyal03:pal_not_implemented_changes

Conversation

@shanmugapriyal03
Copy link
Contributor

@shanmugapriyal03 shanmugapriyal03 commented Feb 27, 2026

  • Introduce pal_warn_not_implemented() in every PAL environment (bare-metal, UEFI ACPI, UEFI DT) and call it from each stub before returning PAL_STATUS_NOT_IMPLEMENTED, so the PAL layer consistently emits a warning with the API name.
  • Replace the old macro-based status values with a pal_status_t enum, add dedicated feature-status values and keep compatibility helpers as macro.
  • VAL now relies on the PAL warning while preserving existing skip/fail behaviour in tests.
  • Replace NOT_IMPLEMENTED checks with ACS_STATUS_PAL_NOT_IMPLEMENTED across test cases to align with updated PAL status definitions.
  • Convert RESULT_SKIP to RESULT_WARN where PAL interfaces are unimplemented

Signed-off-by: Shanmuga Priya L shanmuga.priyal@arm.com

rajatgoyal47 and others added 3 commits February 27, 2026 12:24
  - Introduce `pal_warn_not_implemented()` in every PAL environment (bare-metal,
    UEFI ACPI, UEFI DT) and call it from each stub before returning
    `PAL_STATUS_NOT_IMPLEMENTED`, so the PAL layer consistently emits a warning
    with the API name.
  - Replace the old macro-based status values with a `pal_status_t` enum, add
    dedicated feature-status values, and keep compatibility helpers as macro.
  - VAL now relies on the PAL warning while preserving existing skip/fail
    behaviour in tests.

Signed-off-by: Rajat Goyal <rajat.goyal@arm.com>
Change-Id: I1fcfcbb23fd2aead4445aa4672a203eeb8da19ad
- Replace NOT_IMPLEMENTED checks with ACS_STATUS_PAL_NOT_IMPLEMENTED
across test cases to align with updated PAL status definitions.
- Convert RESULT_SKIP to RESULT_WARN where PAL interfaces are
unimplemented
- Introduce warn counters in RAS tests to distinguish warnings
from functional failures

Signed-off-by: Shanmuga Priya L <shanmuga.priyal@arm.com>
Change-Id: I97618265d943ad5876859e2e96926baac873298b
- Replace NOT_IMPLEMENTED checks with ACS_STATUS_PAL_NOT_IMPLEMENTED
across test cases to align with updated PAL status definitions.
- Convert RESULT_SKIP to RESULT_WARN where PAL interfaces are
unimplemented
- Introduce warn counters in RAS tests to distinguish warnings
from functional failures

Signed-off-by: Shanmuga Priya L <shanmuga.priyal@arm.com>
Change-Id: Ib3476ef1bd82584a4dd56a49a467dd7d738b2b92
@chetan-rathore chetan-rathore merged commit d74de50 into ARM-software:main Feb 27, 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