Skip to content

Fix: Add SP recovery in UEFI and disable SERR forwarding - #645

Merged
gowthamsiddarthd merged 5 commits into
ARM-software:release/sbsa/v8.0.3from
SapthagiriP:8.0.3
Oct 16, 2026
Merged

gowthamsiddarthd merged 5 commits into
ARM-software:release/sbsa/v8.0.3from
SapthagiriP:8.0.3

Conversation

@SapthagiriP

Copy link
Copy Markdown
Contributor
  • disable SERR forwarding during disable reporting
  • restore SP through ACS restore mechanism

    SERR reporting is enable during val_pcie_enable_eru
therefore disable it during val_pcie_disable_eru

Signed-off-by: sapthagiri padmanabhan <sapthagiri.padmanabhan@arm.com>
Change-Id: I0a37d08edd20ce9a31254917445f018e71f7c092
- Add an ACS exception return handler for UEFI ACPI and UEFI DT.
- Copy saved recovery GPRs into EFI_SYSTEM_CONTEXT_AARCH64 before returning from the ESR handler.
- Store the saved recovery SP in EFI_SYSTEM_CONTEXT_AARCH64.SP.
- Redirect EFI_SYSTEM_CONTEXT_AARCH64.ELR to the ACS handler when SP-aware recovery is requested.
- Program ELR_EL2 in the handler with the actual test recovery branch.
- Restore SP from EFI_SYSTEM_CONTEXT_AARCH64.SP before the final eret.
- Restore x16 and x17 before returning to avoid clobbering interrupted state.
- Keep normal ELR-only updates unchanged when SP-aware recovery is not armed.

Signed-off-by: sapthagiri padmanabhan <sapthagiri.padmanabhan@arm.com>
Change-Id: Ic2f86ad5492840d5e14758e75a284898e9286ab1
	- Added required VAL and PAL for B_PER_09
to be supported on the UEFI Platform

Signed-off-by: sapthagiri padmanabhan <sapthagiri.padmanabhan@arm.com>
Change-Id: I0f4996d87c71051baa20fce13db5ada0d3c8905e
  Remove DMA info-table initialization and cleanup from the SBSA NIST
  application. Also drop the unused DMA VAL and PAL sources, since the
  NIST build does not include DMA-dependent tests.

Signed-off-by: sapthagiri padmanabhan <sapthagiri.padmanabhan@arm.com>
Change-Id: I94cb53082e1517889192b4edf42310633fe425b1
    - Used existing PAL and VAL implementations to
      add B_PER_10 to UEFI execution
    - Added a non-coherent buffer for full coverage
      of the rule

Signed-off-by: sapthagiri padmanabhan <sapthagiri.padmanabhan@arm.com>
Change-Id: Iadaac6ce2189a4fff10422d678407cc1c9b31ef7
@gowthamsiddarthd
gowthamsiddarthd merged commit 484fd96 into ARM-software:release/sbsa/v8.0.3 Oct 16, 2026
29 checks passed
@SapthagiriP
SapthagiriP deleted the 8.0.3 branch October 16, 2026 04:48
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.

2 participants