From owner-freebsd-usb@FreeBSD.ORG Wed Dec 24 09:01:44 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 845F3F9 for ; Wed, 24 Dec 2014 09:01:44 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45206181C for ; Wed, 24 Dec 2014 09:01:44 +0000 (UTC) Received: from laptop015.home.selasky.org (31.89-11-148.nextgentel.com [89.11.148.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D2A181FE022; Wed, 24 Dec 2014 10:01:41 +0100 (CET) Message-ID: <549A811D.3060204@selasky.org> Date: Wed, 24 Dec 2014 10:02:21 +0100 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: kott , freebsd-usb@freebsd.org Subject: Re: usb_pc_cpu_flush References: <1419359192795-5975583.post@n5.nabble.com> <5499E734.1070507@selasky.org> <1419392511197-5975691.post@n5.nabble.com> In-Reply-To: <1419392511197-5975691.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 09:01:44 -0000 On 12/24/14 04:41, kott via freebsd-usb wrote: > the value of "r0" is 0. > Hi, In the function "_ehci_append_qh" do you know if it is the second or first call to "usb_pc_cpu_flush" which fails. The pointer which is passed as an argument to this function resides in the memory which is flushed, so most likely the cache sync operations are not working like expected! What platform is this? Non-freebsd? Did it work before? --HPS