diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-05-05 19:26:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2021-05-05 19:26:52 +0000 |
commit | d900f64c090dc3a88917f39f50f28726d6c01c99 (patch) | |
tree | 4f84c0ef72791990bf1aa06875a2858ada3ca343 /lib | |
parent | 768fd8d57afb4404cbdc02c38c79b7e84e13ac89 (diff) |
The StarFive JH7100 SoC found on the BeagleV beta boards has most of
its peripherals hooked up through a bus that doesn't maintain cache
coherency. So in order to use DMA we will need to flush the L2 caches
before/after a DMA tranfer. Add a driver for the L2 cache controller
for these SoCs and infrastructure to do the necessary cache maintenance.
Since this particular L2 cache controller needs physical addresses, this
makes the bus_dma(4) code deviate from its arm64 counterpart.
ok drahn@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions