Merge stable 1.2 (part 3) scheduler and BYT part into master#386
Merged
lgirdwood merged 5 commits intothesofproject:masterfrom Sep 18, 2018
Merged
Merge stable 1.2 (part 3) scheduler and BYT part into master#386lgirdwood merged 5 commits intothesofproject:masterfrom
lgirdwood merged 5 commits intothesofproject:masterfrom
Conversation
waiti would cause FW panic if it is called in irq level higher than passive level Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
The register status is checked by polling its value in request time Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
It is caused by the change of removing dai waiting after stop. dma should not be stopped in dai_comp_trigger if HW LLI is not enable. At this time DMA is still working and it can't be stopped DMA engine would stop the channel automatically after each transfer. So just query channel status to stop dma on BYT Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com> Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
list_item_for_safe is safe for item deletion, but when a new item is appended to the list. It seems the item could not be go through. To fix this limitation, move interrupt clear to make sure every IRQ is handled. Do not try to handle two task with one IRQ handler. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
There will be new task added in schedule_edf function, refine the function to handle multiple task. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.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.
Fixes for BYT:
ipc: remove waiti running in IRQ level higher than passive level
wait: add a function to wait for a register ready by pulling method
dma: fix dma issue on BYT
Fixes for scheduler corner cases:
task: clear interrupt earlier
scheduler: refine schedule_edf function to handle multiple task
This PR is rebase patches from #335 #342 #360