Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1408932pxb; Sun, 19 Sep 2021 17:01:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwahzYnElXzbV5/dzO4KHttBaF8+2aAbj0FPy7dxWEp+S4rmEiEo3cxzkVpUNLH6aGRiQs7 X-Received: by 2002:a17:906:2505:: with SMTP id i5mr25264992ejb.450.1632096071837; Sun, 19 Sep 2021 17:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632096071; cv=none; d=google.com; s=arc-20160816; b=Ca/61Vh679BMSfdtzWaoDe/7YqdZ83/Zmtye4KPQOWOu8JSGTRbcppH1/pisEm3WYH yPRmKgS2FgYmgc/N13TrRZV3quUAXLTvFz2+0ENEBk2SgAy78YqcamAn3rlT5t65IeJW uzzhvwMnVI1kibdWjv+cfe3rySNqeS6eNrofSwkCppWk07LEXX8PGKfURjkf6mWbVinw 0/9LkGpBZbsq0AtLqSfGk8HQmIVSEDsYRK0XnysrlgRzgMF9eoMxF5c+MmF4hNnbOjfz BnIFf95mt3TzhTourtexo1pd6/JU0bN/ZxBWpetq/3fpkTpZJxVP1riyeacGO73wV0cS +GOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=//B2Hpu5/xauwOgPmPqTbeXr4ZLTN1upLRNXP06hC5k=; b=xxaChXjefLrEWRLgYB2OXMxlf2q32Mc4EPDksE3emvau7kElqHx4NnyO4PxJyF2ulu FZ7rUFPudikZrBM1XaK78LCnKIAyYjC63owKc05x4MUEPBiya3FOyIuuylMuPE37haYv E6nbzXhxx867iVOblxVHPQyxXR2Nx5+JT94nsS+1S+UC1Mc57/kQUMdJ5dEZweEj8RzF suJTmHlfeUdwzgsn/+71YY4rr8JtNDJ1v0NTHJ+BZjMcprkcLnrqDxnmiRX/NiT4vucK /MoDQ0M7nTS35XIT1P+o+NkVm/B0/yQorq1dElz5s2+EYw8oOOz3EH+TBc6M5T0zyLy2 DnYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CrdjAQ29; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w25si14260287edu.428.2021.09.19.17.00.48; Sun, 19 Sep 2021 17:01:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=CrdjAQ29; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231776AbhISTfY (ORCPT + 99 others); Sun, 19 Sep 2021 15:35:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231669AbhISTfX (ORCPT ); Sun, 19 Sep 2021 15:35:23 -0400 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA64CC061574; Sun, 19 Sep 2021 12:33:57 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id x27so57902148lfu.5; Sun, 19 Sep 2021 12:33:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=//B2Hpu5/xauwOgPmPqTbeXr4ZLTN1upLRNXP06hC5k=; b=CrdjAQ29/2mBLcHoxHfe5NgsXwjJG9Qgh+ch5j0CME2xdxBqrsjG3dPUzD+Z07ed53 1QjzzYiu2mHyibLs4hm6axPRYW5mtSWcG+ZwiDums+XpJeai2Jy94VRDNb4x8gQA/n1h Xyska+4NuQjuKnWO0Bg9BOFclhpZBubpzG7L+MUgHIBLVc12ESF7v2BcV74xRFu2QYmm HpS/iIgHY172AxyDvrEZpzKL5SUDef0XJQHLmElmIaLCVlat+Thgipu9/nrn6ua8nFEY aM46fLV28RtXxSQ4ldIeTDHb04UsefGKdmVm7O7P0bzy156w5vvvgwUMl+2hUxEukX3N H6KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=//B2Hpu5/xauwOgPmPqTbeXr4ZLTN1upLRNXP06hC5k=; b=zf4WCIER8LrzUiMC8cmuDaKHxtm4FPk5EKWevV/1i5yxp3kvU6ymW5oipbr4JwBnnG RdYNx+lnJnJLQkqwHEJnfukwBgBNzjoiKSj7f1xBPaOycTtVlCCVeecfVs8rP9WqjOi1 S2uE9t5yYS8iduTYjdf2OZqw43g4/LlQ1T6unnyrcSRcteqQTZ4RAIXDDzvHmXH1dKW+ 3FwBGZXvsNau9wRmk+ixGmbNW9OW985cN+kySzH12g4K+wyyz3l65Q6pWodR+8WoJWSK WOURGsXSWvM/alXx/u9dJ+xdkc/7rE9sQWUftpOafW+VBYO3BnESSF9FYHSzie+kTJV4 oTFA== X-Gm-Message-State: AOAM531MYnDSSLuzK1c5MWVd693bUb8CfP47SsIM+72OpjzmXdxZmfDE wi1SpK9siMJwdNt/9+zq7JNTCdqfzNmxvTtIWUI= X-Received: by 2002:a2e:99d8:: with SMTP id l24mr9113575ljj.294.1632080036090; Sun, 19 Sep 2021 12:33:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Heiko Thiery Date: Sun, 19 Sep 2021 21:33:45 +0200 Message-ID: Subject: Re: imx8mm board crash in drivers/usb/chipidea/ci_hdrc_imx.c To: Fabio Estevam Cc: Peter Chen , Jun Li , Yu Kuai , Sascha Hauer , Mark Brown , USB list , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , Shawn Guo , Frieder Schrempf Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Fabio, Am So., 19. Sept. 2021 um 15:08 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Sun, Sep 19, 2021 at 7:10 AM Heiko Thiery wrote: > > > Meanwhile I figured out that in ci_hdrc_imx_probe() the "fsl,usbphy" > > node is not found [1]. But I do not understand why. > > > > The following failure leads to the return code of -19 (ENODEV) and > > sets the pyh to NULL: > > "failed to get fsl,usbphy phandle in /soc@0/bus@32c00000/usb@32e40000 node" > > Since commit: > commit 78e80c4b4238c1f5642b975859664fced4f9c69e > Author: Marek Vasut > Date: Wed Jul 21 18:39:55 2021 +0200 > > arm64: dts: imx8m: Replace deprecated fsl,usbphy DT props with phys > > The fsl,usbphy DT property is deprecated, replace it with phys DT > property and specify #phy-cells. No functional change. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: NXP Linux Team > Cc: Shawn Guo > To: linux-arm-kernel@lists.infradead.org > Signed-off-by: Shawn Guo > > Don't we need to search for 'phys' too? > > Does this patch help? > https://pastebin.com/raw/yZKz1huL I can confirm that on the next-20210915 (that includes commit 78e80c4b4238c1f5642b975859664fced4f9c69e) your provided patch solves the problem. But is it explainable that in the version before the commit 78e80c4b4238c1f5642b975859664fced4f9c69e the problem occurs in the form I reported? -- Heiko