Received: by 10.192.165.148 with SMTP id m20csp5327699imm; Wed, 9 May 2018 03:16:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpowUwVw+uzxY6c4i9/TVkheUiuw6yBZeAE5xhktR3MPerTST0FtmhrknehBzeQQNhKW0i1 X-Received: by 2002:a17:902:d68c:: with SMTP id v12-v6mr4280761ply.190.1525861009666; Wed, 09 May 2018 03:16:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525861009; cv=none; d=google.com; s=arc-20160816; b=aom2h8Dypb5z/ghdVoPUj+/ddWYLDeyqG+U3bsPepyXYxrNplrmay/9iTW4kj0FYHU O45JXK08gzxYM9bj42o8nCso8y2GwfiDtwuJjbxGZ19Jma+ljyXrSwqLQadv1BIIKuTZ j7pDEcuemyzLjnOuWMr9R1NhHhYr+MDs66P7cLJLgJi8PT1iMeIS5ng7XJqIFqZqaA7f 1Em1wK94C2zwCUzBOxctVBUxF/NFNxD9NHdOQu+tzB6HjMDzdsKNrWx43suR5dBS3lj+ DQAfZnhePsLyeopCzkGuh1ir/ZL6ydrlXn+pnzoCwQvPFRhQJHl/rxashGlE6dzuAUuS s+WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=3ijf8V4VwxGzfdkHKhCNDUDH8fqcCR6/bBX0urb1mmU=; b=mqDLSt868xUiw1ahQRqhJ3KYOcn9xVFU2l2rgscyohhLGdEgBkQP7bu8vK6j+Bv5R8 hYou3udhQkhZmcLqD6RbVeRRpK90H6wVte2GD1gN245p1bAt3FljN/GU2wHkyourSQ3Y LqNw7sZOOGaXVjq8JuQNNdwyuQB7/pM6kamTXZWEGQ1UGJ3pEkD48ovc1W84x8dDPLY1 WaixyyqLN1eG7QpwyLkMC+RHE9Wjc2Tmmu8wp+PRGDdWSC/0p23+OQ54uYkzXG8PSxbc hm8z+IFOr7HQ0n+9rIjEORmaT15aXgVAbW52DertyZfKOd00pJXzte/1bCrTBzXh8p1e ss9A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g14-v6si20703470pgv.648.2018.05.09.03.16.31; Wed, 09 May 2018 03:16:49 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934194AbeEIKMY (ORCPT + 99 others); Wed, 9 May 2018 06:12:24 -0400 Received: from regular1.263xmail.com ([211.150.99.139]:39747 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932215AbeEIKMX (ORCPT ); Wed, 9 May 2018 06:12:23 -0400 Received: from william.wu?rock-chips.com (unknown [192.168.167.232]) by regular1.263xmail.com (Postfix) with ESMTP id 20F2F5204; Wed, 9 May 2018 18:12:16 +0800 (CST) X-263anti-spam: KSV:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ABS-CHECKED: 4 Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.263.net (Postfix) with ESMTPA id 7D73E323; Wed, 9 May 2018 18:12:08 +0800 (CST) X-IP-DOMAINF: 1 X-RL-SENDER: william.wu@rock-chips.com X-FST-TO: hminas@synopsys.com X-SENDER-IP: 58.22.7.114 X-LOGIN-NAME: william.wu@rock-chips.com X-UNIQUE-TAG: <89b4113af024d7b078dad8c96ea1259f> X-ATTACHMENT-NUM: 0 X-SENDER: wulf@rock-chips.com X-DNS-TYPE: 0 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (Postfix) whith ESMTP id 10947KN6SNR; Wed, 09 May 2018 18:12:16 +0800 (CST) From: William Wu To: hminas@synopsys.com, felipe.balbi@linux.intel.com, gregkh@linuxfoundation.org Cc: sergei.shtylyov@cogentembedded.com, heiko@sntech.de, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-rockchip@lists.infradead.org, frank.wang@rock-chips.com, huangtao@rock-chips.com, dianders@google.com, daniel.meng@rock-chips.com, John.Youn@synopsys.com, william.wu@rock-chips.com, wzz@rock-chips.com, zsq@rock-chips.com, Allen.Hsu@quantatw.com, StanTsui@AOPEN.com, Spruce.Wu@quantatw.com, Martin.Tsai@quantatw.com, Kevin.Shai@quantatw.com, Mon-Jer.Wu@quantatw.com, Claud.Chang@quantatw.com, San.Lin@quantatw.com, Ren.Kuo@quantatw.com, davidhtwang@aopen.com, fonglin@aopen.com, stevencheng@aopen.com, tomchen@aopen.com, donchang@aopen.com, milesschofield@aopen.com Subject: [PATCH v4 0/2] usb: dwc2: fix isoc split in transfer issue Date: Wed, 9 May 2018 18:10:59 +0800 Message-Id: <1525860661-18619-1-git-send-email-william.wu@rock-chips.com> X-Mailer: git-send-email 2.0.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fix dma unaligned problem and data lost problem for isoc split in transfer. Test on rk3288 platform, use an usb hs Hub (GL852G-12) and an usb fs audio device (Plantronics headset) to capture and playback. William Wu (2): usb: dwc2: alloc dma aligned buffer for isoc split in usb: dwc2: fix isoc split in transfer with no data drivers/usb/dwc2/core.h | 3 ++ drivers/usb/dwc2/hcd.c | 87 ++++++++++++++++++++++++++++++++++++++++++-- drivers/usb/dwc2/hcd.h | 8 ++++ drivers/usb/dwc2/hcd_intr.c | 11 +++++- drivers/usb/dwc2/hcd_queue.c | 3 ++ 5 files changed, 106 insertions(+), 6 deletions(-) -- 2.0.0