Repository navigation
Conversation
Signed-off-by: Devendra Kumar <devendra.kumar@amd.com>
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.
Fix for issue 226 (#226)
Issue
PF2 BAR0 maps the user-region s_axi_control aperture (0x20200000000). With
CPM_PCIE1_MSI_X_OPTIONS=MSI-X_Internal and no PF2 MSI-X settings, CPM5
defaults place the PF2 MSI-X table at BAR0 0x40 (8 vectors, PBA at 0x50).
The CPM serves those TLPs internally, so host writes to kernel registers
0x40-0xBF never reach the kernel, while reads return the written value.
Fix
Relocate the PF2 MSI-X table/PBA to the unused PF2 BAR2 (0x1FFE000/0x1FFF000,
1 vector) in both the compute and service shells.
Files updated
Tested
Git dev branch commit 7a52870
Validated these changes on V80 board, and the issue is resolved
i.e. writes to args in range 0x40-0xBF complete successfully