Date: Wed, 11 Nov 2020 21:48:33 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251018] sdhc errors on growfs with RPI3 Message-ID: <bug-251018-227-uWDOzSji3P@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-251018-227@https.bugs.freebsd.org/bugzilla/> References: <bug-251018-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251018 Mark Johnston <markj@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Andrew@FreeBSD.org, | |markj@FreeBSD.org Status|New |Open --- Comment #2 from Mark Johnston <markj@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. Bec= ause 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251018-227-uWDOzSji3P>