-
Notifications
You must be signed in to change notification settings - Fork 2
Visionfive2 evl deve #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: xenomai4/wip/dovetail-riscv/evl_port
Are you sure you want to change the base?
Visionfive2 evl deve #10
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look good for me. Please remove some unused comments and files.
user_scripts/ib_test/Makefile
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the ib_test used for? Is it useless?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 @@ | |||
| # | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove auto generated file
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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleanup the logging here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay,the useless stuff in this driver will be removed
llvm-snapshot.gpg.key
Outdated
| @@ -0,0 +1,52 @@ | |||
| -----BEGIN PGP PUBLIC KEY BLOCK----- | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the gpg key.
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.