From patchwork Fri Jun 2 14:39:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathias Nyman X-Patchwork-Id: 13265403 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99929C77B7A for ; Fri, 2 Jun 2023 14:38:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235620AbjFBOi5 (ORCPT ); Fri, 2 Jun 2023 10:38:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232240AbjFBOiz (ORCPT ); Fri, 2 Jun 2023 10:38:55 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6774EBC for ; Fri, 2 Jun 2023 07:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685716734; x=1717252734; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Qg55vSEAYuPp26KDafCW8X0t4nrbDbjIXivZWi1SYAU=; b=lumKuTne76mGIrzMoQqoC5MhGTXLgSguhMpEBqDcS4VQ6ksISs8Dk2AN qRJOWVRnnEetAFGZo83uiiSPG9Kn+70g6t7Q+a99atOUEk3v91fhp0qI3 Zkknn+Hcuxj6bGXQqtK8jHg4rHt/+Y9LWusLb3gXbLfG4n5vCTW4LJ+zE LtrrS0RhnT9wao17Gq8rC2QuNlorT1jcEQ1eqZQ6A7TuZSmF7K9bFkIG6 gPOH8tLuh1zIU1FAMxSq3iZCliUpNbPd79mYzHGy9aSldc5hIMqFvtNIT qnbv1tYu17F7ZuittTe45zuwxXDzubpKqvc93pUaTgvD1ylYPeDoH27hT Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10729"; a="358311204" X-IronPort-AV: E=Sophos;i="6.00,213,1681196400"; d="scan'208";a="358311204" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2023 07:38:54 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10729"; a="707877434" X-IronPort-AV: E=Sophos;i="6.00,213,1681196400"; d="scan'208";a="707877434" Received: from mattu-haswell.fi.intel.com ([10.237.72.199]) by orsmga002.jf.intel.com with ESMTP; 02 Jun 2023 07:38:51 -0700 From: Mathias Nyman To: Cc: , Mathias Nyman Subject: [PATCH 00/11] xhci features for usb-next Date: Fri, 2 Jun 2023 17:39:58 +0300 Message-Id: <20230602144009.1225632-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 for usb-next. Among other small changes add support for a xHCI controller by Zhaoxin, rework free trb and ring expansion code, and get rid of obsolete XHCI_PLAT quirk which was used to prevent MSI setup for non-PCI hosts. Thanks Mathias Mathias Nyman (6): xhci: Add usb cold attach (CAS) as a reason to resume root hub. xhci: Don't require a valid get_quirks() function pointer during xhci setup xhci: get rid of XHCI_PLAT quirk that used to prevent MSI setup xhci: split allocate interrupter into separate alloacte and add parts xhci: Fix transfer ring expansion size calculation xhci: Stop unnecessary tracking of free trbs in a ring Udipto Goswami (1): usb: xhci: Remove unused udev from xhci_log_ctx trace event Weitao Wang (4): xhci: Fix resume issue of some ZHAOXIN hosts xhci: Fix TRB prefetch issue of ZHAOXIN hosts xhci: Show ZHAOXIN xHCI root hub speed correctly xhci: Add ZHAOXIN xHCI host U1/U2 feature support drivers/usb/host/xhci-histb.c | 12 +-- drivers/usb/host/xhci-mem.c | 132 ++++++++++++++++++-------------- drivers/usb/host/xhci-mtk.c | 6 -- drivers/usb/host/xhci-pci.c | 20 +++-- drivers/usb/host/xhci-plat.c | 7 +- drivers/usb/host/xhci-ring.c | 137 ++++++++++++++++++---------------- drivers/usb/host/xhci-tegra.c | 1 - drivers/usb/host/xhci-trace.h | 9 +-- drivers/usb/host/xhci.c | 48 ++++++------ drivers/usb/host/xhci.h | 7 +- 10 files changed, 189 insertions(+), 190 deletions(-)