From patchwork Fri Aug 20 12:34:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Nyman X-Patchwork-Id: 12449187 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7A65DC4338F for ; Fri, 20 Aug 2021 12:32:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 489DB6103B for ; Fri, 20 Aug 2021 12:32:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237886AbhHTMdP (ORCPT ); Fri, 20 Aug 2021 08:33:15 -0400 Received: from mga03.intel.com ([134.134.136.65]:32166 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233303AbhHTMdO (ORCPT ); Fri, 20 Aug 2021 08:33:14 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10081"; a="216799508" X-IronPort-AV: E=Sophos;i="5.84,337,1620716400"; d="scan'208";a="216799508" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 05:32:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,337,1620716400"; d="scan'208";a="680077946" Received: from mattu-haswell.fi.intel.com ([10.237.72.170]) by fmsmga006.fm.intel.com with ESMTP; 20 Aug 2021 05:32:35 -0700 From: Mathias Nyman To: Cc: , Mathias Nyman Subject: [PATCH 0/6] xhci features and fixes for usb-next Date: Fri, 20 Aug 2021 15:34:57 +0300 Message-Id: <20210820123503.2605901-1-mathias.nyman@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Hi Greg Some xhci features and fixes for usb-next. Fixes are late for 5.14 so I'll add them here for 5.15-rc1 instead. They are marked for stable. Thanks -Mathias Mathias Nyman (6): xhci: fix unsafe memory usage in xhci tracing xhci: fix even more unsafe memory usage in xhci tracing xhci: Fix failure to give back some cached cancelled URBs. Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set" xhci: Add additional dynamic debug to follow URBs in cancel and error cases. xhci: Add bus number to some debug messages drivers/usb/host/xhci-debugfs.c | 14 ++++-- drivers/usb/host/xhci-hub.c | 6 ++- drivers/usb/host/xhci-ring.c | 76 +++++++++++++++++++++++---------- drivers/usb/host/xhci-trace.h | 26 ++++++----- drivers/usb/host/xhci.c | 30 +++++++------ drivers/usb/host/xhci.h | 73 ++++++++++++++++--------------- 6 files changed, 134 insertions(+), 91 deletions(-)