]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a coherent flag on the arm64 dma map struct
authorAndrew Turner <andrew@FreeBSD.org>
Thu, 24 Sep 2020 07:07:54 +0000 (07:07 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Thu, 24 Sep 2020 07:07:54 +0000 (07:07 +0000)
commit0aaa66cc7964ee9adfb42df3f6a974fadaa7082d
treed9917010e2c313d698f392d39670563f840fdf3c
parent66cbbb75b2909ec369ad1c4243ab7cc33d30e13e
Add a coherent flag on the arm64 dma map struct

Use it to decide if we can skip cache management.

While here remove the DMAMAP_COULD_BOUNCE flag as it's unneeded.

Reviewed by: mmel
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D26494
sys/arm64/arm64/busdma_bounce.c