[Bug 251018] sdhc errors on growfs with RPI3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 11 21:48:34 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251018

Mark Johnston <markj at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Andrew at FreeBSD.org,
                   |                            |markj at FreeBSD.org
             Status|New                         |Open

--- Comment #2 from Mark Johnston <markj at FreeBSD.org> ---
I looked at this a bit.  For whatever reason, growfs is triggering a DMA
transfer of length 512 on a buffer that is not cacheline size-aligned.  Because
both the beginning and end of the buffer address range are not cacheline
size-aligned, the loop in _bus_dmamap_count_pages() concludes that it needs 2
pages in order to bounce the request, but clearly that's not true since the
entire request is only 512 bytes.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list