From mboxrd@z Thu Jan 1 00:00:00 1970 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=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 ADD23C433E0 for ; Tue, 2 Jun 2020 09:03:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 884292072F for ; Tue, 2 Jun 2020 09:03:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591088611; bh=ArLrF1gFhz6V6JE6MN5KNyQe3ja/99jTV7ZkA9DWYQI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=adDB0zgRNnc0HDopfeEDZY5bvCIGVo9JTWoUpN/gG6DHUgOVjv5fbeqdK3l8yxIdl lwL6R7e82qL089yrEIKM6tpAPbz9uPsdcMIxMg2hrbcQwm2kteaeq/5n4J14xs5OMa 88GBNTp29NaDXBxz2zVqN2prS9G+Bd+PsRVH2c5E= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726139AbgFBJDb (ORCPT ); Tue, 2 Jun 2020 05:03:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:53646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbgFBJDb (ORCPT ); Tue, 2 Jun 2020 05:03:31 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2AD6E20679; Tue, 2 Jun 2020 09:03:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1591088610; bh=ArLrF1gFhz6V6JE6MN5KNyQe3ja/99jTV7ZkA9DWYQI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HBpcie5EZspQz4CsCOmivljcybTdmBIZ2C8cCwsApjcEnrlSPmDEbNBFxXO5kmxlW CIMLGlk880uvsZd1cctc+koC7lpaDy60st7izipG8wlKoURtlPiVK9Xgcx97HgWNO6 rffho59C/GJ349bJrMezXDfr9SNl4Yk6p3ZbORlo= Date: Tue, 2 Jun 2020 11:03:28 +0200 From: Greg KH To: jun.li@nxp.com Cc: linux@roeck-us.net, heikki.krogerus@linux.intel.com, john.stultz@linaro.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs Message-ID: <20200602090328.GD2735864@kroah.com> References: <20200602071208.12120-1-jun.li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200602071208.12120-1-jun.li@nxp.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Tue, Jun 02, 2020 at 03:12:08PM +0800, jun.li@nxp.com wrote: > From: Li Jun > > John reported screaming irq caused by rt1711h when system boot[1], > this is because irq request is done before tcpci_register_port(), > so the chip->tcpci has not been setup, irq handler is entered but > can't do anything, this patch is to address this by moving the irq > request after tcpci_register_port(). > > [1] https://lkml.org/lkml/2020/5/30/1 Please use lore.kernel.org links instead of lkml.org as we have no control over that random site at all. thanks, greg k-h