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

[ESI][BSP] Simple ToHost DMA engine #8207

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

teqdruid
Copy link
Contributor

@teqdruid teqdruid commented Feb 7, 2025

Simple, non-performant DMA-based channel communication. Protocol:

  1. Host sends address of buffer address via MMIO write.
  2. Device writes data on channel with a byte '1' to said buffer address.
  3. Host polls the last byte in buffer for '1'.
  4. Data is copied out of buffer, last byte is set to '0', goto 1.

Future improvement: support more than one buffer at once.

@teqdruid teqdruid added the ESI label Feb 7, 2025
@teqdruid teqdruid force-pushed the teqdruid/simpletohostdma branch 2 times, most recently from 349f51d to d770d0c Compare February 10, 2025 22:48
Instead of trying to shoehorn all of the engine records into one service
record (for the ChannelEngineService), add the capability to emit
individual engine records.
When an engine is unknown, throw the error when the user tries to
connect rather than during manifest parsing.
Simple, non-performant DMA-based channel communication. Protocol:
1) Host sends address of buffer address via MMIO write.
2) Device writes data on channel with a byte '1' to said buffer address.
3) Host polls the last byte in buffer for '1'.
4) Data is copied out of buffer, last byte is set to '0', goto 1.

Future improvement: support more than one buffer at once.
@teqdruid teqdruid force-pushed the teqdruid/simpletohostdma branch from d770d0c to 0aa3782 Compare February 19, 2025 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant