Date: Wed, 7 Jan 2009 20:29:01 +0300 From: Stanislav Sedov <stas@FreeBSD.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: Alfred Perlstein <alfred@freebsd.org>, arm@FreeBSD.org Subject: Re: svn commit: r186730 - in head: lib/libusb20 sys/dev/usb2/controller sys/dev/usb2/core sys/dev/usb2/ethernet sys/dev/usb2/image sys/dev/usb2/include sys/dev/usb2/serial sys/dev/usb2/sound sys/dev/us... Message-ID: <20090107202901.21df29e3.stas@FreeBSD.org> In-Reply-To: <200901071751.49494.hselasky@c2i.net> References: <200901040012.n040C2gH040928@svn.freebsd.org> <200901071519.23311.hselasky@c2i.net> <20090107172310.bf12fe39.stas@FreeBSD.org> <200901071751.49494.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 7 Jan 2009 17:51:48 +0100 Hans Petter Selasky <hselasky@c2i.net> mentioned: > > cpu_idcache_wbinv_all(); /* and this line */ > > bus_dmamap_sync(pc->tag, pc->map, > BUS_DMASYNC_POSTWRITE | BUS_DMASYNC_POSTREAD); > } > > Then everything worked. > > I think the ones that have been working on busdma & cache sync issues recently > are to blame. I will try to investigate more. > Hmm, this might be the same problem with duplicate dcache entries raj reported recently on arm@. I tried replacing cpu_idcache_wbinv_all with busdma PREREAD and PREWRITE sync, but this doesn't work. BTW, even with cpu_idcache_wbinv_all change I'm still observing some CAM request retires under high load, so we really seem to have a generic cache issue somewhere. - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAklk5mIACgkQK/VZk+smlYHKYQCfeuMdzjTVOu+PcZVfPNae+ZSg GE4AmwQlzD66bQZ8HB5xqThsbwzGaCvB =nK+S -----END PGP SIGNATURE----- !DSPAM:4964e5cf967009398168836!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090107202901.21df29e3.stas>