[Differential] [Request, 1, 520 lines] D2357: Port x86 busdma to ARM64
zbb (Zbigniew Bodek)
phabric-noreply at FreeBSD.org
Thu Apr 23 18:07:25 UTC 2015
zbb created this revision.
zbb added reviewers: emaste, ian, imp, andrew.
zbb added a subscriber: freebsd-arm.
Herald added a subscriber: emaste.
REVISION SUMMARY
The x86 busdma subsystem allows using multiple implementations.
By default the classic bounce buffer approach is used, however
on systems with IOMMU it could be in runtime switched to more
efficient hardware accelerated implementation.
This commit adds ARM64 port of the x86 busdma framework and bounce
buffer backend. It is ready to use on IO coherent systems. If the
IO coherency cannot be guaranteed, the cache management operations have
to be added to this code in places marked by /* XXX ARM64TODO (...) */
comments. Also IOMMU support might be added by registering another
busdma implementation like it is already done on the x86.
Obtained from: Semihalf
Sponsored by: The FreeBSD Foundation
REVISION DETAIL
https://reviews.freebsd.org/D2357
AFFECTED FILES
sys/arm64/arm64/busdma_bounce.c
sys/arm64/arm64/busdma_machdep.c
sys/arm64/include/bus_dma.h
sys/arm64/include/bus_dma_impl.h
sys/conf/files.arm64
EMAIL PREFERENCES
https://reviews.freebsd.org/settings/panel/emailpreferences/
To: zbb, emaste, ian, imp, andrew
Cc: emaste, freebsd-arm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2357.4971.patch
Type: text/x-patch
Size: 49125 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150423/9471a853/attachment.bin>
More information about the freebsd-arm
mailing list