Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp3095577rdb; Fri, 22 Sep 2023 19:25:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEZ6jZmskmM9kbI7bz5n0/tVA0g1+0y8+t7t1FB5z/T0U+fgf+99/LJeAzYeUUq9HgBTT0g X-Received: by 2002:a05:620a:4550:b0:76d:966d:b30e with SMTP id u16-20020a05620a455000b0076d966db30emr1506862qkp.6.1695435926270; Fri, 22 Sep 2023 19:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695435926; cv=none; d=google.com; s=arc-20160816; b=L2ez1jni9y0xv0PZveeWmlJb9FT8wfDDRmCR23N+XFhjtN4Xm8Hw3M2OS/dSj0ldpp igAObCxUNutugqEAK7mMlE5ABcNJtbyWWPZuXgqbJA4rgKMQVZafoLYAAV45E0z6541h jWzE9hW/dPbf9+gHoPHagYxhdAh+b6NW4zpBKNYEi4SVJr74zr0bGUWrhY5MVAYUObtJ RwHX0YOISsg2xwSchXESGczihs+Y4BZtzdDGerTdhAlmyhvbJKdTDaquWIF5w0XgLoJR Qb6oacEIFaGLNSKJdy29XrVL1bvvZRT/xNZZC5Fxd5b97JLmY210cGJabhcHls6H54oH wSpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=UQ9Kuh5z400Zh5gwFTlF3Opqc6mYNjyeBhpwWAY1FcE=; fh=JR+24bS6A74nvzFaBvII32TPtiLPacHjMOVXmU7lLN0=; b=e44xQ4IYV1ADrx14DtxeaY8u/8oVQvu2iFiNu5DymALKHtpzu8oMplXps8gkzJeeWz zFujqx10L6KdDAFqRbaRJBaSP0HVgcaOnvkiFBg82w8gnQpH7qYqSYy+q+EWBLRkHbwh GzQ/QOiANcdxecaaiaNWoIeyCFMHJBSkyvMQ5/w1XCQBjaBp/m27bj4qsEiaB99+Vvoy V4gnaoS9MuxR3Gd/0+YrcN6fADa3L20ZbeW76f5oOsh7bxFoiPmSW5x0B7trf4zWCBpU NIKIb9sVVm9cSHavrgnoSjUmxCh4y9puSLLOEJBd4PvFT5nEG7bP5pcLNcQOap9s7e6x k8XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jwGIry+s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id by14-20020a056a00400e00b006901a8f5dadsi4879476pfb.289.2023.09.22.19.25.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 19:25:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=jwGIry+s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (Postfix) with ESMTP id 3904784DB7A6; Fri, 22 Sep 2023 03:33:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233331AbjIVKeB (ORCPT + 99 others); Fri, 22 Sep 2023 06:34:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229664AbjIVKeA (ORCPT ); Fri, 22 Sep 2023 06:34:00 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B70E899 for ; Fri, 22 Sep 2023 03:33:54 -0700 (PDT) Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 38M8Q3bO025536; Fri, 22 Sep 2023 10:33:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=UQ9Kuh5z400Zh5gwFTlF3Opqc6mYNjyeBhpwWAY1FcE=; b=jwGIry+sax3rEg/uZQ2F7rYWIJOPvfBGKkPIojFlYuFHbL9qC/K4NKfDC9U6/V8szvuK 5UY5LqUvyjNAky0YaLpZiSH19KIFKG/3BTcM4jpIMxZbE4DrVL6LR8Xo0Ne+sFKUtv3H bm5hab4W8/iaYGYnfEeHeKfubKGnPiKtkg+tWD/wamcMWJ9yIIEVWwD6ouSHFZOIH+u9 rC2mbzK2qdEZvhqhGCsq5OEu5cCeURd92KB1xwA3Ky7dRKc6wHdII1REVgnEnUzjmHO+ kmi9i8P4HrQerQwFsjumAz0pzYFfALSPKKWTti9Im9Od+iW+0NzL8ZCtIf+sKtNgilmt aA== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3t8txphk3n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 10:33:34 +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 38MAXWlp007257 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Sep 2023 10:33:32 GMT Received: from [10.217.219.52] (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.36; Fri, 22 Sep 2023 03:33:30 -0700 Message-ID: <56e210a4-8106-db7a-f44d-e40421e5abf7@quicinc.com> Date: Fri, 22 Sep 2023 16:03:26 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Subject: Re: [PATCH] xhci: Keep interrupt disabled in initialization until host is running. Content-Language: en-US To: Greg Kroah-Hartman CC: , Hongyu Xie , Mathias Nyman , , Hongyu Xie , Mathias Nyman References: <1695374501-22649-1-git-send-email-quic_prashk@quicinc.com> <2023092256-smudge-disallow-48d3@gregkh> From: Prashanth K In-Reply-To: <2023092256-smudge-disallow-48d3@gregkh> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit 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: 56VhROARQ1JS8PXRTMLcbGvSe_v-z6k6 X-Proofpoint-GUID: 56VhROARQ1JS8PXRTMLcbGvSe_v-z6k6 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-09-22_08,2023-09-21_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 phishscore=0 impostorscore=0 malwarescore=0 adultscore=0 bulkscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 priorityscore=1501 mlxlogscore=387 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2309180000 definitions=main-2309220088 X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 22 Sep 2023 03:33:59 -0700 (PDT) On 22-09-23 04:00 pm, Greg Kroah-Hartman wrote: > On Fri, Sep 22, 2023 at 02:51:41PM +0530, Prashanth K wrote: >> From: Hongyu Xie >> >> [ Upstream commit 808925075fb750804a60ff0710614466c396db4 ] >> >> irq is disabled in xhci_quiesce(called by xhci_halt, with bit:2 cleared >> in USBCMD register), but xhci_run(called by usb_add_hcd) re-enable it. >> It's possible that you will receive thousands of interrupt requests >> after initialization for 2.0 roothub. And you will get a lot of >> warning like, "xHCI dying, ignoring interrupt. Shouldn't IRQs be >> disabled?". This amount of interrupt requests will cause the entire >> system to freeze. >> This problem was first found on a device with ASM2142 host controller >> on it. >> >> [tidy up old code while moving it, reword header -Mathias] >> >> Cc: stable@kernel.org >> Signed-off-by: Hongyu Xie >> Signed-off-by: Mathias Nyman >> Link: https://lore.kernel.org/r/20220623111945.1557702-2-mathias.nyman@linux.intel.com >> Signed-off-by: Greg Kroah-Hartman >> --- >> drivers/usb/host/xhci.c | 34 +++++++++++++++++++++------------- >> 1 file changed, 21 insertions(+), 13 deletions(-) > > What stable kernel(s) are you asking this to be applied to? > > greg k-h Need this patch on v5.15, I had cc'ed "stable@kernel.org # 5.15", but looks like it didn't work. Should I resend this with SOB and CC tags? Thanks, Prashanth K