zephyriot / zephyr-issues

0 stars 0 forks source link

Error occurs when exercising dma_transfer_stop #1651

Closed nashif closed 7 years ago

nashif commented 7 years ago

Reported by Kuo-Lang Tseng:

The below text and log file were from O farrell, David who originally reported this issue:

Configuration

ARC quark_se_c1000_devboard unified Bug detailed description =================== error occurs when exercising dma_transfer_stop Testcase to Reproduce ================== Steps to Reproduce ================ 1.how-to fetch test case/suite 2. how-to run test case and check log 3. point out from where, which piece of log, the issue is observed/captured Expected Result ============= (Describe the test/function/system expected return/behavior after doing the above steps. Do not mention in generic way like "test case pass") Actual Result ========== (Describe the test/function/system actually return/behavior after doing the above steps. Do not mention in generic way like "test case failed" Expected to paste major error messages here, while upload the whole long log file as attachment.) User Impact ========== (State here how this failure would impact on end users or the system. This would help to assign a proper priority to fix the issue.) (Imported from Jira ZEP-1803)
nashif commented 7 years ago

by Sergio Rodriguez:

nashif commented 7 years ago

by Kuo-Lang Tseng:

nashif commented 7 years ago

by Sergio Rodriguez:

Attached is the test case, two issues, one the previous test case was using deprecated API's so, this one use the most current ones, second it seems like the DMA controller after the transfer start and immediately setting the dma stop in , ARC memory write catch the controller in an not stable state, what I did was to put a nop instruction before the dma stop to allow the dma controller to stabilize and it seems be working, please check if that is the case.

nashif commented 7 years ago

by Kuo-Lang Tseng:

The original reporter of this issue (O farrell, David) is not on this Jira and I have sent him email to request him to verify and let me know if he sees any issue. For now, I am closing this bug since the patch has been merged (https://gerrit.zephyrproject.org/r/#/c/12020/) to master.

nashif commented 7 years ago

by Kuo-Lang Tseng:

And the patch also got merged to 1.7 branch.https://gerrit.zephyrproject.org/r/#/c/12162/