Received: by 10.192.165.148 with SMTP id m20csp4122483imm; Mon, 23 Apr 2018 19:46:53 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/WpIFqMp22k8JJ36Ij3wZx5VcUpD+F7G21ZG5iHfQCmhpiRU3oOFJXO4WD01S9yoyAL+RB X-Received: by 2002:a17:902:aa90:: with SMTP id d16-v6mr23068810plr.189.1524538013564; Mon, 23 Apr 2018 19:46:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524538013; cv=none; d=google.com; s=arc-20160816; b=iZvbyG08at9VBaIzrPnxWkxrVePJxTfvNUrWgej9C9/AS5zIYe6VurBB1SZxJjkXLT hxFlS2ZnS4yHuvbtGdNhqcjin56ILTRlXbn1q2kkD9iwExrEAeTHAT1TDHBZsmQSOOiH BrJsznknfLdaSckjNV6JmwMtnnUneJ2H7CgvMFUQGSJX8Ge5QLN60uojft7LDfewXAP1 M28DUPfEHP349cnPxb/ZaWVK7wbrTEhiVfkLAWCAuGrsTbTTMiu9X6iRe42TpMhk5Xw4 Gbcb7McUbGmE+hxhiC7ywaDBcf/2NUtTvGVm3unvVkxlgqTSUy4uyz8f5GpcX+hMVTlq z0DQ== 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=rJ7pNcb6omerQg7p+7iXm/ZHPvGZ50QDFfLklKWsYcw=; b=tvFpfSgsRfVXWN9/bZggJ5gIPt5Oi/L/qx0o6S4LpOOt63EAMbwmELeKQ6SuPsE0Sp 5AdcV1fiZ/aW01pCTejkA1uFwb8EIc1CIfZbjQRwfGCHYsisLFD+dnJYF7+wkmwwnZUD nWgQc8Ejw3355e88w2YOYSfQHlf1ppXzeAO/SaYmE0fK8E+uzU3BaJeiASbJTQokricj p7A6VV/D+Vfw8HL/WlNbZu+sJhnsgPtdGvSV8v7SoTBr5WQqaOo1Tf0mTtzoc0YZPrYQ lwnbhQGJv0DIsJMqLiOHxSHchZlfc0W2OzbV91PGNOQFk/IA1FTlOHaTYmUthPX49VUT 8MPQ== 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 n7si10689267pga.543.2018.04.23.19.46.39; Mon, 23 Apr 2018 19:46:53 -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 S932851AbeDXCpZ (ORCPT + 99 others); Mon, 23 Apr 2018 22:45:25 -0400 Received: from regular1.263xmail.com ([211.150.99.134]:34584 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932721AbeDXCpK (ORCPT ); Mon, 23 Apr 2018 22:45:10 -0400 Received: from william.wu?rock-chips.com (unknown [192.168.167.129]) by regular1.263xmail.com (Postfix) with ESMTP id A67C692F5; Tue, 24 Apr 2018 10:45:02 +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 AEB0A3AF; Tue, 24 Apr 2018 10:44:54 +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: <91098536c97872e2a6ffb1fb628477ac> 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 1831J09P48; Tue, 24 Apr 2018 10:45:00 +0800 (CST) From: William Wu To: hminas@synopsys.com, felipe.balbi@linux.intel.com, gregkh@linuxfoundation.org Cc: 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 Subject: [PATCH 0/2] usb: dwc2: fix isoc split in transfer issue Date: Tue, 24 Apr 2018 10:43:42 +0800 Message-Id: <1524537824-22010-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/hcd.c | 63 +++++++++++++++++++++++++++++++++++++++++--- drivers/usb/dwc2/hcd.h | 10 +++++++ drivers/usb/dwc2/hcd_intr.c | 10 ++++++- drivers/usb/dwc2/hcd_queue.c | 8 +++++- 4 files changed, 86 insertions(+), 5 deletions(-) -- 2.0.0