Message ID | 20231120055803.224634-1-quic_prashk@quicinc.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9910:0:b0:403:3b70:6f57 with SMTP id i16csp2000532vqn; Sun, 19 Nov 2023 21:58:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IF9bn3ru9YS8Qy5gSI1es0QrZZCHqLcW3dVe8KYfgKYDeL6yQdHoMIzZOMVvXMKwkGjoH8X X-Received: by 2002:a05:6a20:a11b:b0:185:a3d6:7bda with SMTP id q27-20020a056a20a11b00b00185a3d67bdamr4870620pzk.39.1700459918419; Sun, 19 Nov 2023 21:58:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700459918; cv=none; d=google.com; s=arc-20160816; b=XG+cHiIOkllJJguJNRmGeWs0BWKPmMX8tfiuIw4H56rwNMrJF5s52UzXvFfrEsMSTs JqDGDnO+/C+lI4apvGZESrcqv+coZJIog3lVsR1HkAv/CAka+cFznkPDfuAs/VHVyTIt 4m0DopY9NpGOwf6INl1TVBe8b1ChFItL3b4d8p3pGenHMPh+ghcec5ecg+Qkdr2mpDZm usi/zTRvLRrxCU+KvddhAZFoQJ3NkkdhcBFdbDGekpUr9iAQ2dP9KYkrcwJHs+Eu4cF+ //7+2HKdrtdwTwdsyllD2LJk7FJBxI4gdONI3YD2IP5PwhKBdtNkXMBeUpCEjml+X0FZ Y+9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=12XFNR9I7qJcE+51vDot/mqJhDOeqI3VsWlt7HEydsg=; fh=Hv4HKCbRivDk4/75VrgkjLv7mwh0AD3ncrNwtpzgDfg=; b=Dt9RvuVYFnvlYKbPa0SHxEIsNqWHwoQDcUbr1dqh4yNIHBBvP4xZmZtEvL+Mp32Au3 +Ljp8688F9a0ZEUA9X2isXmRBYAxOqm6CSq1U0WOpFflVNlKDQfq6a8luEcrhwHwYr7D De8AbdVgIoXAfzkK4DWGE92lW24ouo5EJUZbRgjmv30wEigrEhgWVsxIAQCOZhx2Dq3V cX3eU6uYnczPSAtNR6S4qiM8sTFPII8KQ7BgszmmYAXqnkd+C62DG/qV1A7txQ36Mym0 yy9WaiIu3z3IP9iPXAB8/jBPx6VjYDklHapzE9q+koh1W5do9YQy/xG9Ab3iQduApB+M xi5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NqcQwMTR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id h1-20020a63df41000000b005b8f61fcba5si7204679pgj.399.2023.11.19.21.58.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 21:58:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=NqcQwMTR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 72D9A805ECC9; Sun, 19 Nov 2023 21:58:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231933AbjKTF61 (ORCPT <rfc822;heyuhang3455@gmail.com> + 27 others); Mon, 20 Nov 2023 00:58:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjKTF60 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Nov 2023 00:58:26 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1659DE; Sun, 19 Nov 2023 21:58:22 -0800 (PST) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AK3mTjS018683; Mon, 20 Nov 2023 05:58:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=qcppdkim1; bh=12XFNR9I7qJcE+51vDot/mqJhDOeqI3VsWlt7HEydsg=; b=NqcQwMTRe/wfqEH67ys4ereBLZzzQujGHGWnn6Vf0tA/D0Bf6HnM4XBWsy4+NyzAyAcl zO8mbXAsq7JNJyo7DPZ8VrMbtHFrlmnJfVnSbasiE65TLc1GhHzf9v8G3lHEIaLomz+G /zHI9FwjdU1Eyv1r88SPXcZEWfSKih2Gr2cVLyqcLA2uw4OYnq8hhKIpHV11XVXidWY9 WaO3GrXJiFq8u+v3cv3AQ6rPijYvZzZf+Td/8gppQ58EGvALHGPwGSYdtKXJZaXrsisU a84y8OTDwaFk5wHylep/H41D+NE+rFQmI69zg1wzK4PW7FJ/smmp2ArG8bBzMKpUL2QA gg== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3uepjhjyd3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Nov 2023 05:58:18 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3AK5wHTq011918 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Nov 2023 05:58:17 GMT Received: from hu-prashk-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sun, 19 Nov 2023 21:58:14 -0800 From: Prashanth K <quic_prashk@quicinc.com> To: <stable@vger.kernel.org>, Thinh Nguyen <Thinh.Nguyen@synopsys.com>, "Greg Kroah-Hartman" <gregkh@linuxfoundation.org> CC: Mathias Nyman <mathias.nyman@intel.com>, Tejas Joglekar <joglekar@synopsys.com>, <linux-kernel@vger.kernel.org>, <linux-usbyy@vger.kernel.org>, Prashanth K <quic_prashk@quicinc.com> Subject: [PATCH v2 0/2] Add support for xhci-sg-trb-cache-size-quirk Date: Mon, 20 Nov 2023 11:28:01 +0530 Message-ID: <20231120055803.224634-1-quic_prashk@quicinc.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: KWbNbXkdeeIg4qTu4z7D0wSdLezIv5vR X-Proofpoint-GUID: KWbNbXkdeeIg4qTu4z7D0wSdLezIv5vR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-20_03,2023-11-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 mlxlogscore=691 clxscore=1015 suspectscore=0 impostorscore=0 adultscore=0 lowpriorityscore=0 spamscore=0 malwarescore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311200036 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 19 Nov 2023 21:58:37 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783061459771884276 X-GMAIL-MSGID: 1783061459771884276 |
Series |
Add support for xhci-sg-trb-cache-size-quirk
|
|
Message
Prashanth K
Nov. 20, 2023, 5:58 a.m. UTC
XHCI_SG_TRB_CACHE_SIZE_QUIRK was introduced in XHCI to resolve XHC timeout while using SG buffers, which was seen Synopsys XHCs. The support for this isn't present in DWC3 layer, this series enables XHCI_SG_TRB_CACHE_SIZE_QUIRK since this is needed for DWC3 controller. Changes in v2: Included xhci-plat.c to pass the quirks via priv data. Added Fixes tag in device tree binding patch. Prashanth K (2): usb: dwc3: core: Add support for xhci-sg-trb-cache-size-quirk dt-bindings: usb: snps,dwc3: Add 'xhci-sg-trb-cache-size-quirk' Documentation/devicetree/bindings/usb/snps,dwc3.yaml | 7 +++++++ drivers/usb/dwc3/core.c | 2 ++ drivers/usb/dwc3/core.h | 3 +++ drivers/usb/dwc3/host.c | 10 ++++++++++ 4 files changed, 22 insertions(+)
Comments
On 20/11/2023 06:58, Prashanth K wrote: > XHCI_SG_TRB_CACHE_SIZE_QUIRK was introduced in XHCI to resolve > XHC timeout while using SG buffers, which was seen Synopsys XHCs. > The support for this isn't present in DWC3 layer, this series > enables XHCI_SG_TRB_CACHE_SIZE_QUIRK since this is needed for > DWC3 controller. You keep Cc-ing incorrect mailing lists (bogus addresses). Just use get_maintainers.pl --no-git-fallback without changing its output. I repeated this comment multiple times to Qualcomm. It's awesome that Qualcomm participates so much in upstream development, I really appreciate this. However repeating the same comment over-and-over again, makes me quite tired. Can you instruct your colleagues to use b4 which solves this problem? If not, use script like: https://github.com/krzk/tools/blob/master/linux/.bash_aliases_linux#L91 (or one of many other variants posted by multiple people on the mailing lists) Best regards, Krzysztof
On 20-11-23 03:00 pm, Krzysztof Kozlowski wrote: > On 20/11/2023 06:58, Prashanth K wrote: >> XHCI_SG_TRB_CACHE_SIZE_QUIRK was introduced in XHCI to resolve >> XHC timeout while using SG buffers, which was seen Synopsys XHCs. >> The support for this isn't present in DWC3 layer, this series >> enables XHCI_SG_TRB_CACHE_SIZE_QUIRK since this is needed for >> DWC3 controller. > > You keep Cc-ing incorrect mailing lists (bogus addresses). Just use > get_maintainers.pl --no-git-fallback without changing its output. > > I repeated this comment multiple times to Qualcomm. It's awesome that > Qualcomm participates so much in upstream development, I really > appreciate this. However repeating the same comment over-and-over again, > makes me quite tired. Can you instruct your colleagues to use b4 which > solves this problem? If not, use script like: > https://github.com/krzk/tools/blob/master/linux/.bash_aliases_linux#L91 > (or one of many other variants posted by multiple people on the mailing > lists) > > Best regards, > Krzysztof > Thanks for your comments! I accidentally added 'yy' in the USB mailing list while configuring it. A careless mistake indeed :) I will resend the the patch without adding the quirk (only driver change) since this should be applicable for all the dwc3 devices. Thanks again, Prashanth K