Date: Mon, 29 Jun 2009 16:10:11 +0400 From: Stanislav Sedov <stas@FreeBSD.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: thompsa@freebsd.org, freebsd-arm@freebsd.org, Piotr =?UTF-8?Q?Zi=C4=99cik?= <kosmo@semihalf.com>, freebsd-usb@freebsd.org Subject: Re: CPU Cache and busdma usage in USB Message-ID: <20090629161011.2a657c4b.stas@FreeBSD.org> In-Reply-To: <200906291337.43635.hselasky@c2i.net> References: <200906231035.43096.kosmo@semihalf.com> <200906291155.13941.hselasky@c2i.net> <200906291249.43983.kosmo@semihalf.com> <200906291337.43635.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__29_Jun_2009_16_10_11_+0400_48N+oT7pWf4xkbzs Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, 29 Jun 2009 13:37:41 +0200 Hans Petter Selasky <hselasky@c2i.net> mentioned: > USB is currently _updating_ (!!) the PAGE offset part of "vaddr". If=20 > cpu_dcache_inv_range() is called with an address not starting at the cach= e=20 > line what will the cpu_dcache_inv_range() do? Will it skip to the next ca= che=20 > line? Or will it completely skip the whole cache sync operation?! Currently, the address passed to cpu_dcache_inv_range will be rounded up to the cache line boundary and the whole line will be invalidated if the range requested is smaller than 16KiB. Otherwise, the whole cache will be invalidated. --=20 Stanislav Sedov ST4096-RIPE --Signature=_Mon__29_Jun_2009_16_10_11_+0400_48N+oT7pWf4xkbzs Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJKSK8nAAoJEKN82nOYvCd08GUP/1Ns07uawfewf/D2UJmxk/uQ stbi+jJj87OAIw04ynXI+JAnUzj/wo3IWhjuD+cfcXUZBL6pFXidsVwG4qFaA4+X iHKOgoD9g6JDa2OfuBSYzVmfNexEPf6wT3ZzgBNJwmUx+zPugvp1T0O4RSi5fFOp asUiNwB+QNnpdIJQop3Spqd+edzr5NUow9EWmil0L3zLDZTUYCs3G367r7goI3of b6fnywftDRPMmRglyS5fCzXqzOe5ZKMEAool8gM3Pyfah4XfR0iqUAcc9p2zGkbE K1wxUrRGzbR5w0nzwoBBRcvmCryM8KSto81AJpl+9RvviNF8+CHBvuV1Nxnd4L0Z UtRRxdC2lzLbe4IjEgeJrMX0lhfkajGI0cgmiFXXnwF1SduTporgFzrTZbZXS6Bb aS33oMFRph7dfJZP/0Q/ytwmFwNwWcsyTkmJ0CMES2GcQpAfwT+jhQaLGe+TThKF XkRjz8X/DEsg60TL4eWZpPqgi/1DweiWll2K1kPVC1dZ6runNZMHk1WOMHPKXc3q E9eeG5diuojnOYHhVaA+oHV+Ve/e+cYWiTEC+fSGskuJmxnAJD7IVITnEveS/Gs3 VIa03BTtwOmnKE3Xvq9BORMrs5XDZ5AGuHFnI25wh5yh0imA/QM6n3vwbXiTBbtA 83IXMTJQAfx7s/AcJaNO =+46g -----END PGP SIGNATURE----- --Signature=_Mon__29_Jun_2009_16_10_11_+0400_48N+oT7pWf4xkbzs--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090629161011.2a657c4b.stas>