Skip to content
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

Patch to uio_pruss to add sysfs entry for DDR sync #40

Merged
merged 1 commit into from May 21, 2013

Conversation

cmicali
Copy link

@cmicali cmicali commented May 20, 2013

The uio_pruss driver allocates and exposes a block of DDR memory that is available for use by the PRU. If the PRU writes to this memory the change may not be immediately visible in linux userspace due to caching.

This patch adds a sysfs entry to the uio_pruss driver which provides a way for linux userspace to request the memory be synchronized using the kernel's dma_sync_* API.

Writing anything to the sync_ddr sysfs entry will trigger a sync.

koenkooi added a commit that referenced this pull request May 21, 2013
Patch to uio_pruss to add sysfs entry for DDR sync
@koenkooi koenkooi merged commit e8f4879 into beagleboard:3.8 May 21, 2013
@koenkooi koenkooi mentioned this pull request Sep 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants