Repository navigation
Fix: Add SP recovery in UEFI and disable SERR forwarding - #644
Merged
Merged
Conversation
SapthagiriP
commented
Oct 15, 2026
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.