From owner-freebsd-arm@freebsd.org Tue Aug 18 13:52:37 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AA90D9BC18D for ; Tue, 18 Aug 2015 13:52:37 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6BBF91B0A for ; Tue, 18 Aug 2015 13:52:37 +0000 (UTC) (envelope-from onwahe@gmail.com) Received: by iodb91 with SMTP id b91so188984674iod.1 for ; Tue, 18 Aug 2015 06:52:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=W8Lw/k2sPOXd2waerZsh2hUOqYy5oUCla6buwuGz4w4=; b=y2Y0YqTYuWmaLu4g5kCV1dVTgIKwGqOGtrBZ81FU73+rVmJHBDOoVQ541STaQbaljY m3L4U5+usPD2MUt5BAc+jQyAqSO/pErVfo+3f+f0/LB5BkHzq/dssquvHNX6SiWvTRMo fi8RMRXCz/L8+56+ptD/3gBv2BD0aH4f4E/5dvSGAfLgjfmYyqX+whHH4o8cG/07nZpm QDNp7PfvtA5JG/51+LYdKpZ7m9WmvZfKcIFlgEXRzAuJdGf0RUNFjCe7ZHsBtKRbFXhj cFtDGN2fqi1mo+yx2bE2taaDBZxAeVpARx+b4j3cgOoryMEgn6MIYLdvrG8xbNV5bY/D SxmA== MIME-Version: 1.0 X-Received: by 10.107.11.29 with SMTP id v29mr7074801ioi.186.1439905956807; Tue, 18 Aug 2015 06:52:36 -0700 (PDT) Received: by 10.64.239.196 with HTTP; Tue, 18 Aug 2015 06:52:36 -0700 (PDT) In-Reply-To: <55D335CE.4080702@selasky.org> References: <55A7D8CE.4020809@selasky.org> <55B8AB76.7030603@selasky.org> <55B8B297.1010008@selasky.org> <20150729154516.GH78154@funkthat.com> <55B8F5EC.2050908@selasky.org> <46ad096c958.1a82a175@mail.schwarzes.net> <55B9C3E2.5040501@selasky.org> <46ae815c7c3.447237c8@mail.schwarzes.net> <46aece00b53.3c1cdc1f@mail.schwarzes.net> <55BB2A5F.9000502@selasky.org> <46baa16c4ce.6efd29ef@mail.schwarzes.net> <55CF31A1.5080205@selasky.org> <55D31D11.3050509@selasky.org> <55D32912.1070707@selasky.org> <55D331D7.9080702@selasky.org> <55D335CE.4080702@selasky.org> Date: Tue, 18 Aug 2015 15:52:36 +0200 Message-ID: Subject: Re: DWC OTG TX path optimisation for 11-current From: Svatopluk Kraus To: Hans Petter Selasky Cc: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2015 13:52:37 -0000 On Tue, Aug 18, 2015 at 3:40 PM, Hans Petter Selasky wrote: > On 08/18/15 15:34, Svatopluk Kraus wrote: >> >> On Tue, Aug 18, 2015 at 3:23 PM, Hans Petter Selasky >> wrote: >>> >>> On 08/18/15 15:12, Svatopluk Kraus wrote: >>>> >>>> >>>> On Tue, Aug 18, 2015 at 2:46 PM, Hans Petter Selasky >>>> wrote: >>>>> >>>>> >>>>> On 08/18/15 14:31, Svatopluk Kraus wrote: >>>>>> >>>>>> >>>>>> >>>>>> On Tue, Aug 18, 2015 at 1:54 PM, Hans Petter Selasky >>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> Hi, >>>>>>> >>>>>>> On 08/18/15 13:22, Svatopluk Kraus wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Do I understand it well that you are not able to trigger the >>>>>>>> problem? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Maybe I haven't been trying hard enough. I've been using a kernel >>>>>>> built >>>>>>> from >>>>>>> "projects/hps_head" which I just updated to include the latest DWC >>>>>>> OTG >>>>>>> patches, instead of "head". There was today a timer subsystem fix, >>>>>>> not >>>>>>> sure >>>>>>> if it makes any difference: >>>>>>> >>>>>>> https://svnweb.freebsd.org/changeset/base/286880 >>>>>>> >>>>>>> I will try to buildworld from an external USB disk later today and >>>>>>> see >>>>>>> what >>>>>>> happens. >>>>>>> >>>>>>>> >>>>>>>> and still the system response time is terrible. >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> If you can do: >>>>>>> >>>>>>> usbconfig -d 0.1 set_config 255 >>>>>>> >>>>>>> And verify that the IRQ rate goes to zero for DWC OTG, then we maybe >>>>>>> could >>>>>>> rule out USB. >>>>>>> >>>>>> >>>>>> Note that my root filesystem was on usb disk. >>>>>> >>>>> >>>>> Is the console still not responding properly after this command? >>>>> >>>> >>>> System response time is still bad. >>>> >>> >>> Is "kgdb" working on your setup? Can you dump all kernel threads? >> >> >> db> ps >> pid ppid pgrp uid state wmesg wchan cmd > > >> > > Not "ps", but "alltrace" I think. > All trace is attached.