Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
brcmthrowaway
· 7mo ago · 0 comments
Dumb question.. do USB devices support DMA? Is it done through the host? Or does the USB device always push/pull data to host memory?
Comments
[–]
kam
7mo ago
USB devices cannot directly address host memory like PCIe or FireWire, but the XHCI controller does DMA to/from host memory, and most USB device controllers have some kind of DMA between USB and the device's RAM.
[–]
pjc50
7mo ago
All transfers are initiated by the host, including ones that look like they're client-first; there is no DMA, which would be a massive security pain.