fix(pcie): skip non-prefetchable BARs in P094 flow#398
Merged
Conversation
- add BAR_MEM macro to detect non-prefetchable BAR type - skip NP BARs and check only for Prefetch bars to avoid any side effects - Mask the last 4 bits of the BAR value as it points to the attributes. - Skip cndition to be verified first before checking the warn condition. - Map Prefetch bar of base+32MB as most platforms map below 32MB to mapped to control registers, lookup tables, or routing tables. - The endpoint check is incorrectly checked as a result only first 2 BARS were checked. Updated to check the right return type. - When first BAR is 0, skipping to next BDF, instead of next bar, updated the changes accordingly to check for next bdf - Replaced %.*x precision prints to zero padding prints - Changed the SBSA Header prints from ERROR to INFO, as in logs it is considered as error - Fixes ARM-software#282 Signed-off-by: Sujana M <sujana.murali@arm.com> Change-Id: Ieaa6609814cd25efb6495d8b5a77d4da73eabfea
chetan-rathore
approved these changes
May 13, 2026
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.
Change-Id: Ieaa6609814cd25efb6495d8b5a77d4da73eabfea