From patchwork Sun Apr 19 07:51:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 11497187 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3AC7F913 for ; Sun, 19 Apr 2020 07:51:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2313521D82 for ; Sun, 19 Apr 2020 07:51:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587282695; bh=6hmu8fKRDH6O9wiSdAEwhpnHxVkd25zabunSUFd5k8I=; h=From:To:Cc:Subject:Date:List-ID:From; b=iGuuoc+hjblEIrhUUDB6RlrIbYUAiGfa6Fa0dEtjbAg3tOMN+T6L2+qlEOJB6KxlO sgC3cMKYE1QiYfmFHhJzTdUkmNrEFeMJEIUXIHzQyUyYyhxFuJl7tnvBJdJC+tLAid aL6lt994+XZabxKMReP1OZe+b+Xz3X5qmwGCVJnU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726209AbgDSHvd (ORCPT ); Sun, 19 Apr 2020 03:51:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725914AbgDSHvc (ORCPT ); Sun, 19 Apr 2020 03:51:32 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D050C061A0C for ; Sun, 19 Apr 2020 00:51:32 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id t11so5305163lfe.4 for ; Sun, 19 Apr 2020 00:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version; bh=m5j5c7OB+m9HmlIPzjxQWbmoOwGSfuiIxfgftytAQko=; b=PQnQL+GFtR8igOdtQ3/w1PuZCcp345bOPBq9fsmxF0LQrjwH/2m6s+lq3bUbUEfntu 6YLMyZxyPzMP6SaUomzDQAi8Ap0aTp2zT188h/6JZwbyA4Id0fyKFhay4fsulQI5FsFT uNNLPYs5BBWbxL8T+lZoTbqYD+RCtF03Kc8m8FD3dGpqKrDF+3PHYzfjeJs+lLviMEws 8bmC9bQxqpDXHya0O/fD7MnTVoc8b3JBqk8v/gv5gco4VIifBXIZ7is24BblyouDP+oF PMKRdKuIdDYOaQADYeA5rUkp6R94xfEkgtxiZWzM4DMTi09a9IC0+hVgkJsiwmn92mRP 4UTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version; bh=m5j5c7OB+m9HmlIPzjxQWbmoOwGSfuiIxfgftytAQko=; b=VXFJ8WqdgYRyty3PohvVcLGFz/jLA5ThyD0va6zD21IH+3709DuQMq53NhvA2FScBt MQSo+kwuuqo/WTGtagJUAxUuC+6JqJaSgJKxnqYbFnFIjWy3Ut8bEiWgLaq3xoYzICWx 8AdQEjuSlA0E7/srV+U+1TAigW0dtBKlA2Kr41s00n1PEFXF1+FN0HDPACS/zQSGTTZc 5mjD3khSS8Y5eECLo5BnWcf5yNcTavVcejUNzP3FwVZzcm/slIMk71vsICp7XrIPMrAP dLblMuk6yRdMmKXPLIS8gAJZ4crTBzeewP7Uk2qukxXoLg0FnTfDdkWFF9hhk9tlf2pJ lAng== X-Gm-Message-State: AGi0PubmnghWqn31upVb/bNtvlfHZJ99/ZSX0yf20x1tR8oE3bL2lzSa 1bfNF269UMxquxiQ529nz3FwTXvf X-Google-Smtp-Source: APiQypJ90Ju8kk7dD32IasSkbU6u8KpoyIjbbJG9uEFjB6YyAGnKq8DWpDcHNB6O8GdzRSkTBBOFbw== X-Received: by 2002:a19:e041:: with SMTP id g1mr6851792lfj.70.1587282690241; Sun, 19 Apr 2020 00:51:30 -0700 (PDT) Received: from saruman (91-155-214-58.elisa-laajakaista.fi. [91.155.214.58]) by smtp.gmail.com with ESMTPSA id l29sm9128219ljb.95.2020.04.19.00.51.28 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 19 Apr 2020 00:51:29 -0700 (PDT) From: Felipe Balbi To: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Subject: [GIT PULL] USB fixes for v5.7-rc2 Date: Sun, 19 Apr 2020 10:51:24 +0300 Message-ID: <87eesjdibn.fsf@kernel.org> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi Greg, here's the first pull request for the current -rc cycle. Patches have been in next for a few days without any new reports. Let me know if you want anything to be changed. Cheers The following changes since commit 8f3d9f354286745c751374f5f1fcafee6b3f3136: Linux 5.7-rc1 (2020-04-12 12:35:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/fixes-for-v5.7-rc2 for you to fetch changes up to a7b778357ca48df71bbaad6612beaca30bd96e54: usb: raw-gadget: Fix copy_to/from_user() checks (2020-04-17 12:26:26 +0300) ---------------------------------------------------------------- USB: fixes for v5.7-rc2 DWC3 learns how to properly set maxpacket limit and got a fix for a request completion bug. The raw gadget got a fix for copy_to/from_user() checks. Atmel got an improvement on vbus disconnect handling. We're also adding support for another SoC to the Renesas DRD driver. ---------------------------------------------------------------- Andrey Konovalov (1): usb: raw-gadget: fix raw_event_queue_fetch locking Cristian Birsan (1): usb: gadget: udc: atmel: Fix vbus disconnect handling Dan Carpenter (1): usb: raw-gadget: Fix copy_to/from_user() checks Mauro Carvalho Chehab (1): docs: dt: qcom,dwc3.txt: fix cross-reference for a converted file Nathan Chancellor (1): usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_complete Thinh Nguyen (4): usb: dwc3: Fix GTXFIFOSIZ.TXFDEP macro name usb: dwc3: gadget: Properly set maxpacket limit usb: dwc3: gadget: Do link recovery for SS and SSP usb: dwc3: gadget: Fix request completion check Yoshihiro Shimoda (3): dt-bindings: usb: usb-xhci: add r8a77961 support dt-bindings: usb: renesas,usbhs: add r8a77961 support dt-bindings: usb: renesas,usb3-peri: add r8a77961 support .../devicetree/bindings/usb/qcom,dwc3.txt | 4 +- .../devicetree/bindings/usb/renesas,usb3-peri.yaml | 1 + .../devicetree/bindings/usb/renesas,usbhs.yaml | 1 + Documentation/devicetree/bindings/usb/usb-xhci.txt | 3 +- drivers/usb/dwc3/core.h | 8 ++- drivers/usb/dwc3/gadget.c | 76 +++++++++++++--------- drivers/usb/gadget/legacy/raw_gadget.c | 71 +++++++++++--------- drivers/usb/gadget/udc/atmel_usba_udc.c | 4 +- drivers/usb/gadget/udc/bdc/bdc_ep.c | 2 +- 9 files changed, 104 insertions(+), 66 deletions(-)