[{"id":1767662,"web_url":"http://patchwork.ozlabs.org/comment/1767662/","msgid":"<CAEUhbmV3t3c3h2faUs9Wv6SuLj5GU0zNPtawiPyRU_Gy2A+Shg@mail.gmail.com>","list_archive_url":null,"date":"2017-09-13T08:09:11","subject":"Re: [U-Boot] [PATCH] usb: xhci: Set number of event segments and\n\tentries to 1","submitter":{"id":64981,"url":"http://patchwork.ozlabs.org/api/people/64981/","name":"Bin Meng","email":"bmeng.cn@gmail.com"},"content":"On Wed, Sep 13, 2017 at 5:02 AM, Marek Vasut <marek.vasut@gmail.com> wrote:\n> The Linux kernel driver sets the number of event segments and entries\n> to 1 , while the initial import of the xhci code set that values to 3\n> for reasons unknown. While most controllers are fine with more event\n> segments with more entries, there are standard-conformant controllers\n> (ie. Renesas RCar xHCI) which only support 1 event segment.\n>\n> Set the number of event segments and event entries back to 1 to allow\n> such controllers to work with U-Boot xHCI stack. Note that the Renesas\n> controller correctly indicates ERST Max = 1 in HCSPARAMS2[7:4] .\n>\n> Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>\n> Cc: Bin Meng <bmeng.cn@gmail.com>\n> ---\n>  drivers/usb/host/xhci.h | 4 ++--\n>  1 file changed, 2 insertions(+), 2 deletions(-)\n>\n\nReviewed-by: Bin Meng <bmeng.cn@gmail.com>\nTested-by: Bin Meng <bmeng.cn@gmail.com>","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"IuUE16HT\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsZ7k4GDSz9sPm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 13 Sep 2017 18:09:22 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 4B145C224C3; Wed, 13 Sep 2017 08:09:15 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 7298FC21EF7;\n\tWed, 13 Sep 2017 08:09:13 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid AAB69C220AA; Wed, 13 Sep 2017 08:09:12 +0000 (UTC)","from mail-wm0-f67.google.com (mail-wm0-f67.google.com\n\t[74.125.82.67])\n\tby lists.denx.de (Postfix) with ESMTPS id 559CBC21EF7\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 08:09:12 +0000 (UTC)","by mail-wm0-f67.google.com with SMTP id 187so34718wmn.0\n\tfor <u-boot@lists.denx.de>; Wed, 13 Sep 2017 01:09:12 -0700 (PDT)","by 10.223.135.121 with HTTP; Wed, 13 Sep 2017 01:09:11 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=1d1cuCDgDl6m5+enwPi0TwRbVARCMF0yrTIAkANpzgo=;\n\tb=IuUE16HTOvXjiOYfkrQ+ZcbK699iXShrSTUYK16xjLcuaEMdbXkL37UFDcTAe2WRt7\n\t4knPy5WF0MPosAo0MIHNf8ORgRNgOLbLpY7lb6MtWP5deK/khmhe0heSaJZ8ozipn5OF\n\t1ZmOUp2+G94A1zdzV1blw5sVsTuNfvYP4SlIA9rVVdDki7DgHeqBX4r7IHa9EP5c4lMF\n\tGgI8Hvryzg62ji8m20qvzUJYDeEP4s25dE/Awb289nNWCnprzHr5JZ2pvOYQMg62YtZf\n\tjewJW0WvAzk4wRhJ2SlRHIRIdfdqvCAU7tRvVMnv1U6TFaEo1UzY1I9IqjhzXKccQlfW\n\tphzw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=1d1cuCDgDl6m5+enwPi0TwRbVARCMF0yrTIAkANpzgo=;\n\tb=t7JZuQ8rcFPg6t6di+XyYdQ07e2pf+C+diiqY4ZBkK4JU0v903Es7uSxMw6fu895BC\n\tMYlI9Q+NDTjZvr7i8s/YUFr3/ySP9vs8XWa8uVWNYdjXo6/J0dAGnS1p6bQ1R0moGWpA\n\tEZ9w4b9jgL0K9f0X/0Xn12cAW9zaYeL55Ek8tNPwQeObAVhcumsBc6xhP8EN1QIBbAY3\n\t8qiz04cYKx0U42qKLu7es3rnAxO/YwHszQjsCFlgcF85JkSA8T+wHi0Sr0TcMC1k3wJj\n\tlwRAgCKop8I7MYHsQVTHLrqMQF/MhITSKZggWf0hxs70ksI9TVRR5FqukK98dbFn22E4\n\tsOmw==","X-Gm-Message-State":"AHPjjUiCXGfs4ae6gP8C+q0bnxpS+u2yk2uDCYIbt/iE+RbVQsfedWEB\n\tyjORSdc5rGg4VD5jrYoDtObCSAhfgXyMvJabT6A=","X-Google-Smtp-Source":"AOwi7QBdizuNYG9G11cPOzOps8G1y6jdFnTH24Td3kJfuvhtKuH0LFShdt4qkTIxcMwtfuwihGRlstP+pv6lBJ5MAR4=","X-Received":"by 10.28.63.145 with SMTP id m139mr1786500wma.5.1505290151916;\n\tWed, 13 Sep 2017 01:09:11 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170912210208.12273-1-marek.vasut+renesas@gmail.com>","References":"<20170912210208.12273-1-marek.vasut+renesas@gmail.com>","From":"Bin Meng <bmeng.cn@gmail.com>","Date":"Wed, 13 Sep 2017 16:09:11 +0800","Message-ID":"<CAEUhbmV3t3c3h2faUs9Wv6SuLj5GU0zNPtawiPyRU_Gy2A+Shg@mail.gmail.com>","To":"Marek Vasut <marek.vasut@gmail.com>","Cc":"U-Boot Mailing List <u-boot@lists.denx.de>,\n\tMarek Vasut <marek.vasut+renesas@gmail.com>","Subject":"Re: [U-Boot] [PATCH] usb: xhci: Set number of event segments and\n\tentries to 1","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]