ipc: Fix page table DMA transfer size#3659
Merged
lgirdwood merged 2 commits intothesofproject:masterfrom Dec 3, 2020
caseorum:bdw-stutter
Merged
ipc: Fix page table DMA transfer size#3659lgirdwood merged 2 commits intothesofproject:masterfrom caseorum:bdw-stutter
lgirdwood merged 2 commits intothesofproject:masterfrom
caseorum:bdw-stutter
Conversation
This was too small, causing the ptable to be truncated and the ptable DMA transfer to fail on BDW for small buffers, where the minimum transfer is 4 bytes. Signed-off-by: Joseph Burt <caseorum@gmail.com>
This rounds up the page table DMA transfer size to DMA_ATTR_COPY_ALIGNMENT instead of a hard-coded 4 bytes. Signed-off-by: Joseph Burt <caseorum@gmail.com>
Member
|
rerun CI - not sure why it's failing on platforms where ptable is not used. |
Member
|
SOFCI TEST |
lgirdwood
approved these changes
Dec 2, 2020
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.
This corrects the minimum transfer size calculation for the ptable and uses the relevant DMA attribute.
Fixes #3492, fixes #3503