Skip to content

Commit

Permalink
cad: Implement 64-bit DMA mode
Browse files Browse the repository at this point in the history
This lets the driver utilize 64-bit DMA on hardware that supports it.

Currently, riscv64 does not constrain DMA-reachable memory to the 32-bit
range. This caused memory errors with cad(4) on machines that have RAM
above 4GB in the physical address space.

Prompted by Mickael Torres

OK kettenis@
  • Loading branch information
vhankala committed Jun 26, 2021
1 parent c1a0e5c commit 0aa3509
Showing 1 changed file with 191 additions and 69 deletions.
Loading

0 comments on commit 0aa3509

Please sign in to comment.