Skip to content

fix(pcie): skip non-prefetchable BARs in P094 flow#2

Open
Sujana-M wants to merge 2 commits into
SR_buildfrom
mm_03
Open

fix(pcie): skip non-prefetchable BARs in P094 flow#2
Sujana-M wants to merge 2 commits into
SR_buildfrom
mm_03

Conversation

@Sujana-M

@Sujana-M Sujana-M commented May 7, 2026

Copy link
Copy Markdown
Owner
  • 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

Change-Id: Ieaa6609814cd25efb6495d8b5a77d4da73eabfea

Sujana-M and others added 2 commits April 23, 2026 20:23
- 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

Signed-off-by: Sujana M <sujana.murali@arm.com>
Change-Id: Ieaa6609814cd25efb6495d8b5a77d4da73eabfea
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.

1 participant