Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp31302img; Wed, 20 Mar 2019 13:20:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqztCVb5FTmUZOnK0WmkupWi8ll9dkiMzaxefHzStYnUFhKUeOeEFCUxDTWgWa6tYPxM/1Cj X-Received: by 2002:a63:7f0f:: with SMTP id a15mr9257993pgd.270.1553113238263; Wed, 20 Mar 2019 13:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553113238; cv=none; d=google.com; s=arc-20160816; b=XZvNiNnbmvMbL8r233BuXyvL+bgvOsBkGxs/nqt67501Ro/RZH1Xr9zBQxROUfKa1v PprRVSO0BzHIrM9ReSZIr1B9JQ2ET3+/bzQzq+Uf4yx678+vnZJ/hAhcnb+dO+wOsYAl FdzH4A+76YIOGyINl21nMcmBeB2eFGYfAJ+XGuFTEUCp2c4RCad0cUw1A3GOe1SjGrDR /vTeBJlbWjN3oYXozD7HTGLHKl7a9ClJY2BsQgwclk/TceK30z+z2QXuS9/6pGlUFEEn LKcO8zUfbwSJmpuN8Js99tsxBODcrRB4gp8NmBkLnMDg7FDBReZbD6UzclQ0614uELck X57w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=MJy9/0iCZc807dZ7/36ktoXWqUaatOGia0S0xYu4+zM=; b=MGQG4xrwF+Eot1He1++jT/c5+cuJrquoM5xxPpK5PmFbl7gXGuOjFGwby7OEVISERW J24/jDjKbU+e01KM1jgbin5X5coSWddJvwqy66cqkdkaCMYfjwTsde/MZ7WwLVPhp56E sVIL74zxBExNxRb8xRHtEL6hzb7OKA0bJI7bFM2clWvK772DXD6hqJPY7h4krdCjj6Ns SU46QweoiUqj45IJrzOtUkzUSBl0LpEioeKMxaUw2GeT0KEwfeBPtPI0PSc/pubb9NJ0 Kxc0pQF9KQ5KQ3ZAqsIm03IFQqSrcSJh0wovl4gOentfZJKOnVuBeNzFQy+lvt9es5I3 AhGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LV80vvS3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w26si2424619pga.208.2019.03.20.13.20.03; Wed, 20 Mar 2019 13:20:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LV80vvS3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726647AbfCTURm (ORCPT + 99 others); Wed, 20 Mar 2019 16:17:42 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41168 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726239AbfCTURl (ORCPT ); Wed, 20 Mar 2019 16:17:41 -0400 Received: by mail-wr1-f67.google.com with SMTP id p1so4197603wrs.8 for ; Wed, 20 Mar 2019 13:17:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MJy9/0iCZc807dZ7/36ktoXWqUaatOGia0S0xYu4+zM=; b=LV80vvS3NgovX7zXExR6Nt7qcHB4RbTXYOH0sz9xDBGq4qQp3NDLNeT+kT+jBLjKTC j1N0wDqb5TlXKL8mgBr27LbNspLA71ZSc15N4rsrtN/DIz+cP9ltq+/HyB92103Pva/E 7Mr1oQTwIwL50/WeiEnATD/iFA66lYA4FIeJI30EbayZtBWPnNc4Vu/wofV1bUuDWVHz K7+SSVMMV6VcZWHlKZcoeIb/TLVO9gJxOn4MjMVthfds7sffDyOw9x9exs2LGmyp+Bz8 OsKKsYsJ8dRIZe7Ua0TJkagXcvblUCeLFCaD0aTTqI7kE8NQtpgvChidFMA+9stqFmuu cNMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MJy9/0iCZc807dZ7/36ktoXWqUaatOGia0S0xYu4+zM=; b=sPzLvSkdKGuP8VcDLYpEEj6HEBMQIBHdd7uKn4aB0tLHwCNDOeQCr1n+dnw9cIeZz4 dL6th2PqDP6uKqAbvIudL6XqTZ688ZKjzMlF0Nr9XZtk7XELhMsaVxVf8kRe5yY4MIbY GltsDIvhG+5watFLAIaNUrBaPdEbMOQfpwe+HS7T+IkqJRIPiZQW5cWqQ5DoA1TO1kZj HgpktLyUscrb1vuxuEhM3R58u9PPR3C9y0Vt/BYpfBkorexBjbGdVKgn2vezuFpra1fl el3DJ0wiV6ZEueJyTwkUcK9477c7KDql1FiXpclw+VGyJO+td60Cf0Yp63bCIYIdYLTj l2rQ== X-Gm-Message-State: APjAAAWK9PZDBwpUk49AYuYBGNPS/GfgWDnWKrfa4gg+eZrGfg5FsK6j fDXY86TbuHKtPYLpymXCUqMkvbW29zvd93ohmQKhR1wL X-Received: by 2002:a5d:6050:: with SMTP id j16mr40538wrt.253.1553113059341; Wed, 20 Mar 2019 13:17:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: John Stultz Date: Wed, 20 Mar 2019 13:17:27 -0700 Message-ID: Subject: Re: REGRESSION: dwc2: gadget: Add scatter-gather mode To: Marek Szyprowski Cc: Felipe Balbi , Minas Harutyunyan , Artur Petrosyan , Linux USB List , lkml , Tom Gall , Andrzej Hajda , Andrzej Pietrasiewicz Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 11, 2019 at 9:50 AM John Stultz wrote: > On Mon, Mar 11, 2019 at 3:15 AM Marek Szyprowski > wrote: > > On 2019-03-08 21:53, John Stultz wrote: > > > Hey Andrzej, > > > I just wanted to let you know, trying to boot linus/master on the > > > hikey board today, I've been seeing lots of errors on boot (which > > > sometimes crash the board, and sometimes doesn't). See the example > > > below. > > > > > > I've bisected the issue down to 10209abe87f5 ("usb: dwc2: gadget: Add > > > scatter-gather mode"), and if I revert that change the issue goes > > > away. > > > > > > Looking at the patch, I can't see anything obviously sticking out, but > > > let me know if you have anything suggestions you'd like me to test. > > > > I've CCed new Andrzej's email. > > > > Could you tell a bit more how to reproduce this issue? Which USB > > function are you running on the target system? I've noticed that you are > > using functionfs. Is is possible to get access to the usb function > > daemon to reproduce the problem here? Which version of HiKey board are > > you using? > > So this is on a LeMaker HiKey (2gb ram 8gb storage), running AOSP (so > its adbd that is the ffs daemon) > > I have a mainline tracking tree which follows mainline here to provide > MALI gpu and other android requirements: > https://git.linaro.org/people/john.stultz/android-dev.git/log/?h=dev/hikey-mainline-WIP > > I'm traveling this week, but if you really want to reproduce this > yourself you can grab the system/vendor/boot images here: > https://snapshots.linaro.org/96boards/hikey/linaro/aosp-master/latest/ > > Then build the kernel w/ the hikey_defconfig and replace the kernel > image in boot.img w/ the abootimg tool. > > Let me know if you have any trouble and I can try to help walk you through it. Just wanted to follow up to see if there was anything further you needed from me to help debug this? thanks -john