CVSROOT: /cvs Module name: src Changes by: kette...@cvs.openbsd.org 2020/04/29 09:25:08
Modified files: sys/arch/arm/arm: bus_dma.c sys/arch/arm/cortex: cortex.c sys/arch/arm/include: bus.h sys/arch/arm/mainbus: mainbus.c sys/arch/arm/simplebus: simplebus.c simplebusvar.h sys/arch/armv7/armv7: armv7.c sys/arch/armv7/broadcom: bcm2835_dwctwo.c Log message: Let the armv7 bus_dma layer and simplebus(4) implementation deal with DMA remapping in the same way as arm64. This relies on the dma-ranges property in the device tree and allows us to get rid of the hack for the Raspberry Pi in the dwctwo(4) driver. Note that this does not include the hack in simplebus(4) that we have on arm64 since firmware that has the dma-ranges is in widespread use now. ok patrick@