Received: by 10.192.165.148 with SMTP id m20csp157396imm; Tue, 1 May 2018 20:07:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrddtPahUYEprO4BG83fvxEuwQacqczpqa6gHNM/cuZR5zfToUy7qfQz7djhemFwTBFGUg1 X-Received: by 2002:a63:4285:: with SMTP id p127-v6mr14937349pga.421.1525230424612; Tue, 01 May 2018 20:07:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525230424; cv=none; d=google.com; s=arc-20160816; b=VVkgtWSZzFsvoHIDElEpJTCGxAuCxcnc4FSPSzUzzARjCyIeIyPqfeW6gMAUsv318V v6cn1VBZDkRRgjlWtvDAYRGRIhJLr/YHtD2A7OurfJy9MgQaGriwta5pG0s1F8M0h2q0 LdV49hy74CXpTy7n/NLk1pVTRWzC7sAugjY4JjbQMv/NN4tWokS1qUoux6wb2lgx67CL SYLKS51xfGgTh8rYGHTvjtip+E+zeAh5QImn7Q4VKUm5gyNYDMhvWYnXHEJEBl3EgOrw +aUpo8tLWGQtop462lZV/+cWAaf8lthPX7LP2jVtkibbykBVJBp5aCXk9tJ/TPJGePRJ iwwA== 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=lpg9kmTr8fDLQZr1N4gQmtKgTbGigUN7XYvn7Iv7H/fv26pU5QbHuSG2qDD82ah6SN dwGd2MyLXqgDuR0xB/af1BweN5XoGxKia+WmVnR6Ytt8MD3DMzRu3MsxgbMAEKYfIuqN HjM5Izw47j8CPbrw0ksP3MDJOkIELIbLcRQ+K+yJ4WvNQDdxApgpdkjB3Rf9xhmgCkt1 tFsSwMvcqOa/d/AUcnGJwXvAidOiReqhyEVCuhXFEeIUi14nthrk+tKJw55IpSPJQj3J BExir+ykW6DWbU851g9NHYq6OAEFoGA/1N5SSx8iEOiDv1apW123wLj8Pf3hWcn2LFbo NEig== 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 e9-v6si10839155plt.209.2018.05.01.20.06.50; Tue, 01 May 2018 20:07:04 -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 S1751834AbeEBDGQ (ORCPT + 99 others); Tue, 1 May 2018 23:06:16 -0400 Received: from regular1.263xmail.com ([211.150.99.137]:33901 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751763AbeEBDGK (ORCPT ); Tue, 1 May 2018 23:06:10 -0400 Received: from william.wu?rock-chips.com (unknown [192.168.167.174]) by regular1.263xmail.com (Postfix) with ESMTP id 1A275DC81; Wed, 2 May 2018 11:06:05 +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 E8D483C1; Wed, 2 May 2018 11:06:00 +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: <42b11df21b18771cf7ca8eba497602ad> 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 889073VSRS; Wed, 02 May 2018 11:06:04 +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 Subject: [PATCH v2 0/2] usb: dwc2: fix isoc split in transfer issue Date: Wed, 2 May 2018 11:04:46 +0800 Message-Id: <1525230288-6014-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