Avoid doing cache flush/invalidate operations for DMA memory allocated with
authorkettenis <kettenis@openbsd.org>
Thu, 29 Dec 2022 11:35:01 +0000 (11:35 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 29 Dec 2022 11:35:01 +0000 (11:35 +0000)
commitd48e5b0496b6e220e7becb253f75171649b16851
tree3bbe71516d551c6dbeadac8b83b9d308564f2bf1
parente4bf8fd0cb0e4d9899e1ead86737575b3c5deba9
Avoid doing cache flush/invalidate operations for DMA memory allocated with
the BUS_DMA_COHERENT flag.

ok miod@
sys/arch/riscv64/include/bus.h
sys/arch/riscv64/riscv64/bus_dma.c