]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r274538, r274545, r274596, r274602, r274603, r274604, r274605, r274839:
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 27 Dec 2014 01:28:52 +0000 (01:28 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 27 Dec 2014 01:28:52 +0000 (01:28 +0000)
commit1bdeba6cdb3b7999e7c71418d775a1b4c9269234
treec06bddfe77d812c020dcc418dce2ec3d15354433
parent437ce6389f656ee1b3899d5f2a6eed42d943ab5d
MFC r274538, r274545, r274596, r274602, r274603, r274604, r274605, r274839:

  When doing busdma sync ops for BUSDMA_COHERENT memory, there is no need
  for cache maintenance operations, but ensure that all prior writes have
  reached memory when doing a PREWRITE sync.

  Do not do a cache invalidate on a PREREAD sync that is also a PREWRITE sync.

  Do the cache invalidate sequence from the outermost to innermost, required
  for correct operation.

  Correct the sequence of busdma sync ops involved with PRE/POSTREAD syncs.

  When doing a PREREAD sync of an mbuf-type dma buffer, do a writeback of
  the first cacheline if the buffer start address is not on a cacheline
  boundary.

git-svn-id: svn://svn.freebsd.org/base/stable/10@276274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/arm/busdma_machdep-v6.c