Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp799286rbd; Fri, 23 Feb 2024 04:10:27 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVXEWw3EpBePpDbmX8DquQdaSenujPFZvKsu1k/v4cLyNFLQgFYVraSrJ7JCQ/fMsUAB/FB/xGY5Tb99zgOjzTOK4whFR3az6n07UG7tg== X-Google-Smtp-Source: AGHT+IEv5YRgCJbPOK58ukYQn1ACp17XG7ISfUWFWDZSSRvyKOJBgieYZNnsvIDDwmStRu4Qp9i1 X-Received: by 2002:a17:906:3c9:b0:a3f:a2b6:74b5 with SMTP id c9-20020a17090603c900b00a3fa2b674b5mr1048283eja.60.1708690226874; Fri, 23 Feb 2024 04:10:26 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708690226; cv=pass; d=google.com; s=arc-20160816; b=dmqrhbdxwInICgt07f1dfOzWrWK1ehH040gfDkkeIRbGKL2jpkzFHhHaBIDLO2+Y3t Vfmtg5oNo28G4z2M2NC1P8hxO/Ygzu1VGMfM07w3ErPIQrkTLdXMBFFwlUheeuXXCAGH PUOmerfyR4CkqWvPCSAiskTT6ZKwyG+QB1cdSmO1+tjXSHFoco3jKapNnuuzINwacwAd N/wA4t0ovY5cEZqFOHD7QiRcKLQ7zvacGEkfcj7Mx+ubR0NwRg0JNVHKGzrUPpitmKvK a5IX5KmJMHYZ5DuXOEJD6Pr+yDhSfKEpYcmfCf4v9q6NS4RovimgDXE7q7UgbYrefkaS lSPA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aO1l3OkWTkgil4r4f5PJnyYdBiVFuDDHkXghIXPpHCE=; fh=3z6Xr+TrJxfzKO4spr4hOjdB1GK3k97M/ZLDu+b2K64=; b=R4DoMmN8HeGewLe+xgrjSmDFmqMN4NmNPqKzv5hZiZ5ZRNL5UUWXCR3nSCjFQ1B2qT n+ixAGin3v+dMhronxWpVIsmY1ILJbyToGeTT4g8g9+iQZMva5J2sapxaBAwZk507h5I gkofVEWQsgRd9VNNpGktlpIZWmAgSirQkkwgRCuhmbSn0Hm/q8Ix77+VQovNiyLSaFR5 S4JkyGIocJbBFRmaeISZeO6rFqtJl0ONTb8nbPIbYLIPfie6bhKLTBLfySPFbhDlOE+L 6wUeEy8OPoklBUPjRIeE2LHA85xbrKledVzDOUxKAB+KTp8rxNO7nuUaEeAtO81R6sgX wBew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cWE+qH8Z; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ce3-20020a170906b24300b00a3e4575e5f6si5517568ejb.893.2024.02.23.04.10.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 04:10:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cWE+qH8Z; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78277-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78277-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9FD5B1F24168 for ; Fri, 23 Feb 2024 12:10:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5892E7B3F8; Fri, 23 Feb 2024 12:09:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cWE+qH8Z" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E5EF7AE49; Fri, 23 Feb 2024 12:09:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690189; cv=none; b=mHk4XwgCrLbTDEMrx1SC4bEKTSZPjJKcVaa+uTkuUeXJaD/Lnm3d2rmAKtB5gF+Ilv9OTmllN8TrjhCYS4IftWT3oaXhz1uVdOWcnYUeYKxnjmszLHNTyJJTgJ3Fu/xdM3iqL73+117R9GmR1At8HPA4lv/D+cWyjfvgZqwkWO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708690189; c=relaxed/simple; bh=DAU55Q2sfD8L3ZH3fwKz/mmSeLuRFjA+iaKnPasZfYI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=UztSSxD4bxb69FHGik/8nXET18tWCAXpHSP41oxRTAA8NqISBdU30rBmz0EUarwXtFXE5AluoxiEq3yLqaubex9rSJ9KteYKnoRFHl/u1HaV/ZhSOPulm7PWOvpCHd7UYW29Ha1UY4SLE9G46RKFah1GPsPpuA9PecJZFM346n4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cWE+qH8Z; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4CA89C433F1; Fri, 23 Feb 2024 12:09:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708690189; bh=DAU55Q2sfD8L3ZH3fwKz/mmSeLuRFjA+iaKnPasZfYI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cWE+qH8Zq+UtXRLfYmyuV3u+IKp/btik1e/z0NcFAKsg2JFdaO+l5UWXmWONEYLds uLpa08T9BkqJUn2j4hpCvA+SIS573tWcOmBKJqjuQwgDE/E6Q47UjoNbXT2rpw20qo 7fUqXMddP2LVweCKCfIgSXQk1Ka671n7VX8tk8thBXNe74TFl5p1/4AVMz8lg9HD6p lBIYZVzJkwWQxX5lovIMJ+xSadmHDq1uIdelyPrGCCl7fid1vWrktyF86toFZTIOYw X5OMymD0SIeOPhIaqSbiiFEAEKdvwmnu24v0ozwuZm9AnXcHsOkKPa5nltacZN7V5L exhG1FobcrI5w== Date: Fri, 23 Feb 2024 17:39:45 +0530 From: Vinod Koul To: Johan Hovold Cc: Bjorn Andersson , Andrzej Hajda , Neil Armstrong , Robert Foss , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Jonas Karlman , Laurent Pinchart , Jernej Skrabec , Konrad Dybcio , Kishon Vijay Abraham I , Dmitry Baryshkov , Rob Clark , Abhinav Kumar , Kuogee Hsieh , freedreno@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, stable@vger.kernel.org, Bjorn Andersson Subject: Re: [PATCH 5/6] phy: qcom-qmp-combo: fix drm bridge registration Message-ID: References: <20240217150228.5788-1-johan+linaro@kernel.org> <20240217150228.5788-6-johan+linaro@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240217150228.5788-6-johan+linaro@kernel.org> On 17-02-24, 16:02, Johan Hovold wrote: > Due to a long-standing issue in driver core, drivers may not probe defer > after having registered child devices to avoid triggering a probe > deferral loop (see fbc35b45f9f6 ("Add documentation on meaning of > -EPROBE_DEFER")). > > This could potentially also trigger a bug in the DRM bridge > implementation which does not expect bridges to go away even if device > links may avoid triggering this (when enabled). > > Move registration of the DRM aux bridge to after looking up clocks and > other resources. > > Note that PHY creation can in theory also trigger a probe deferral when > a 'phy' supply is used. This does not seem to affect the QMP PHY driver > but the PHY subsystem should be reworked to address this (i.e. by > separating initialisation and registration of the PHY). Acked-by: Vinod Koul -- ~Vinod