Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1230090iog; Thu, 16 Jun 2022 01:43:12 -0700 (PDT) X-Google-Smtp-Source: AGRyM1syPwFCuQIR+YOzr1+6MVgG9MERr/KHLG15tlRw46+6p3THXM2ah/buLf3tx7QOqxKgxYLB X-Received: by 2002:a17:907:6d8e:b0:711:d833:d046 with SMTP id sb14-20020a1709076d8e00b00711d833d046mr3475368ejc.183.1655368992194; Thu, 16 Jun 2022 01:43:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655368992; cv=none; d=google.com; s=arc-20160816; b=LiefgLANQjGiUXPWaTlt+fRQ+VjIg77t8RJF4jyfCiOnq0eHWpo4pvSWnFcpL+lZOh SKdyztOaKs7emQUgtPj0ZegbTmJRxtEgVUmyPBKgrdr3p5bpy6JtUU5MPcTWKe1PKfZ4 tGK6Cvmt7m/ACIcUXMY1zEoyETKlCdQDVA93FcoHzMlPMM2/ngED0Z8fP6HbMJUVDTA1 2qG20uO46WUtuUkVWC0+w/PUnBG2n587kg/bR3rA2JV64t5ppk0KMKuWSgTZzZxFf6iW TjgaGKMmzzSjEH9IPCHklQeFKYNviH4l39leLRK6w+rdHzkXtMdYbeQPjHkixpvX/gOK w0sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wvrNbl/msehCcRq4jrMvAWVnMbKI2+FmAqmf2es5avI=; b=dhaf9Bp6HnW2tvMt1509eygmTRCBQ0D7juYRP9wAJS2O2uxY8M+943AI0tCdOqnw6d LQQWjYvUF3UVb9ls6kBt66tOMMjbTBJKPiWlXlHIQokLJYan8h0yX68FGwTfln9SRYGG ieNUDBQlKUhOnlzs/aJEgcpd9ItXKYcCjzu4S2bnY+pSIFARSIlwaeUmHMwMJ3q5s6Vy DWlfnPid3dW51ZlemE3kfphIa5V6erg04vRnMKhB/UMHhReV5tLN5Cmz0uOH+H6VNeZW RJbFMSr2TMg42GSz+biOKw2fyA9B1ZLD0AY6yVT5b+DHQyn4ibArlaX/HMyhO6d/AbJ3 w/SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g+i8B9G5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y29-20020a50f1dd000000b0042b7dbd7383si1814110edl.549.2022.06.16.01.42.33; Thu, 16 Jun 2022 01:43:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g+i8B9G5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359550AbiFPIfG (ORCPT + 99 others); Thu, 16 Jun 2022 04:35:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230045AbiFPIfE (ORCPT ); Thu, 16 Jun 2022 04:35:04 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B643B5DA75; Thu, 16 Jun 2022 01:35:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 518CB61D64; Thu, 16 Jun 2022 08:35:03 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D33D6C34114; Thu, 16 Jun 2022 08:35:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655368502; bh=kwIjgcV2Tp1xTcd80hF7hfCHlu1DDrD34AyzJST/7Fo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=g+i8B9G5RU2vfNVnueCyqmTiJxwxq906Ujc60TuMSfVt8s5tRYUFqw4bAz+00K589 OhqmByGvuEuPYvr9NQ6ZAi98i8O7QJKdsKRLG5VTMKQO48FoF4ixMNuM9I8r6ZwKjp 0ytMxc1udqCAxAyP25u135ff5p9JF9g6IJQ7H/rE= Date: Thu, 16 Jun 2022 10:34:58 +0200 From: Greg KH To: =?utf-8?B?6LCi5rOT5a6H?= Cc: Hongyu Xie , mathias.nyman@intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, 125707942@qq.com, wangqi@kylinos.cn, xiongxin@kylinos.cn, kernel test robot Subject: Re: [PATCH v4 -next] usb: xhci: disable irq during initialization Message-ID: References: <20220616080933.1238309-1-xiehongyu1@kylinos.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 16, 2022 at 04:24:08PM +0800, 谢泓宇 wrote: > Hi greg, > > On 2022/6/16 16:12, Greg KH wrote: > > On Thu, Jun 16, 2022 at 04:09:33PM +0800, Hongyu Xie wrote: > > > 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. > > > > > > Signed-off-by: Hongyu Xie > > > Reported-by: kernel test robot > > > > the test robot did not find this original problem, it only found > > problems with your original submission, which is different. > > > "Reported-by" shouldn't had been put here. > Quote from the last email test robot sent to me, > "If you fix the issue, kindly add following tag where applicable > Reported-by: kernel test robot " > Where should I put this? Or just ignore it? > Yes, you can ignore it but you properly referenced it in your changelog area.