Visionfive2 evl deve#10
Open
Han-Chen-BC wants to merge 25 commits intoBUPT-OS:xenomai4/wip/dovetail-riscv/evl_portfrom
Open
Visionfive2 evl deve#10Han-Chen-BC wants to merge 25 commits intoBUPT-OS:xenomai4/wip/dovetail-riscv/evl_portfrom
Han-Chen-BC wants to merge 25 commits intoBUPT-OS:xenomai4/wip/dovetail-riscv/evl_portfrom
Conversation
…lock to vchan_lock,the inband operation success
…ace all lock api in driver to do ib dma operation successfully
…tion still success
…ock to vchan_lock,the inband dma operation by spi is successful
…y use dma to send data to dac device.The spi path is still not working for now.
…handler can finally run in oob stage
…nt continue after the first period
…t be freed in completed list
…tize OOB descriptors
ruiqurm
requested changes
Oct 31, 2025
ruiqurm
left a comment
There was a problem hiding this comment.
Look good for me. Please remove some unused comments and files.
user_scripts/ib_test/Makefile
Outdated
There was a problem hiding this comment.
What is the ib_test used for? Is it useless?
Author
There was a problem hiding this comment.
sorry,This is a test script for triggering in-band DMA transfers. Its functionality has already been integrated into test_tool. I will remove it soon.
config
Outdated
| @@ -0,0 +1,8599 @@ | |||
| # | |||
drivers/spi/spi-pl022.c
Outdated
| read_cpsr = readw(SSP_CPSR(spi_base_addr_virt)); | ||
| read_imsc = readw(SSP_IMSC(spi_base_addr_virt)); | ||
|
|
||
| pr_info("SPI CR0=0x%x\n",read_cr0); |
Author
There was a problem hiding this comment.
okay,the useless stuff in this driver will be removed
llvm-snapshot.gpg.key
Outdated
| @@ -0,0 +1,52 @@ | |||
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |||
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.
work done:
Familiarized with StarFive2 DW-AXI-DMAC driver: register configs, descriptor management, channel scheduling, interrupts, and dmaengine ↔ virt-dma call paths.
Updated synchronization APIs to replace blocking locks with EVL-safe mechanisms, ensuring OOB and IB context compatibility without deadlocks.
Extended dmaengine to support cyclic transfers and OOB pulse mode for low-latency real-time tasks.
Introduced desc_submitted_oob queue for OOB descriptors, prioritizing them over IB descriptors.
Modified virt-dma framework to allow OOB descriptor “insertion” during IB transfers and ensure context-aware completion callbacks.