NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-arm/49145: readonly mbuf is not writebacked by _bus_dmamap_sync_segment() nor sosend_loan()



> If this is a readonly mbuf, then =
> BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE
> is invalid for it.  If it's readonly, it shouldn't be written to!!!=

oh...exactly right!
Sorry I have used bus_dmamap_sync with BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE.
It works fine with BUS_DMASYNC_PREWRITE.

There was no problem. Please close this PR.

--
ryo shimizu



Home | Main Index | Thread Index | Old Index