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=-3.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_ADSP_ALL,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 D7A3CC433B4 for ; Sun, 16 May 2021 17:07:15 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 904D461007 for ; Sun, 16 May 2021 17:07:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 904D461007 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=xff.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From:Date: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OeIMYh65lAm4zTLAvdRXbIXSrRkFQDZeEgGq50iAn9w=; b=TAzfSY+SSQBWK2 n3iccnJhaqu5RyBwakfbdbfGzB1WQFJyfStPgm+/Tg21Jm4nTNNa5fucetEbHY5JFVkBawmbHFpB2 v7gDahPugIRnfPZ9zoM9TaVbKJprqcmQzRvJMxuMUYv5rh6gL3cApNXwe8afg7dT1Me3UcIYtHgUu f0fqxrF/huifiqEJ7Fy0cdSejTYouUQTXFvMz/uidTMMPF0sJOGAGZ7SU00XNkLYcbPjLCgap3nZi RH6UvmkmR/l+Tjdfdf49g9UbU2yoCB4hOO5t8JnaT/2w5zSFupR+NRLgBfaWxhqCG15kntn+DkFl2 rc12m8+Foxpqqak43FEg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1liKD8-00CcyT-PT; Sun, 16 May 2021 17:05:50 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liKD5-00Ccxy-WE for linux-arm-kernel@desiato.infradead.org; Sun, 16 May 2021 17:05:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=+VI4DQIw50tD8DGy1ScW646RNrdXRq8ngZBHb6Fh5jQ=; b=JvXx0p2Bk5QwwxxfEPPNBGSRIS mZ6n+gO2IdtXRy9UbWwUG3TkwuK8FBbnDGeqxaaT6wRe2Pp65BNco4atwXvfgEASMJLMOvmwb0Ti7 hI7ujAaQ4rY3sufPPlGj0COTsYUwd7FRmLOawGUGFEYFLLU1Ju+Pksw9R1Itvpx0UTtiSmxLDz+ov Go1DgQp416jLLMxAij6DTJop0JdHTXYF0TYbg8R4x2xiI7T+0vue8YGfWQhsiFP0LsEbyTHMiFZzJ HkwHs8AObhGQE55cpm/Dphqh4A6lBW13opE711LX/Z7FofcLPAwyyVXZyEoOvq3epZJsNuhIPlfrd Y4v/xcFw==; Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1liKD2-00D4Oe-G1 for linux-arm-kernel@lists.infradead.org; Sun, 16 May 2021 17:05:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xff.cz; s=mail; t=1621184739; bh=uHlcH0STNmNleBKETejswBkFPZ8BfNTar3rYv5h1z3A=; h=Date:From:To:Subject:X-My-GPG-KeyId:From; b=E5ZOlREtj/L0TAq2nbvJ3WPUJw/WU1L+A76jOUVUTxIxB4aDr+/oGO8ChSNb0fSHv VNGI362hkCBbHZgiKnD8AY94Te4rmQZSjRcCmqxuDM3DJ8xJET8h28Oq5BIw58ZDyl RJVOLtIp+10UJll90Atxz7Jc9CW06W68t1izi75w= Date: Sun, 16 May 2021 19:05:39 +0200 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: saravanak@google.com, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, mripard@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, gregkh@linuxfoundation.org, rafael@kernel.org, linux-kernel@vger.kernel.org, andre.przywara@arm.com Subject: fw_devlink=on and sunxi HDMI Message-ID: <20210516170539.2yxe43qwezonuo3r@core> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , saravanak@google.com, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, mripard@kernel.org, wens@csie.org, jernej.skrabec@gmail.com, gregkh@linuxfoundation.org, rafael@kernel.org, linux-kernel@vger.kernel.org, andre.przywara@arm.com X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210516_100544_889121_D7372FA4 X-CRM114-Status: UNSURE ( 6.74 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello, Linux 5.13-rc1 again has fw_devlink=on enabled by default. I've found that this breaks probing display pipeline and HDMI output on sunxi boards, because of fwnode_link between hdmi and hdmi-phy nodes. HDMI device probe keeps being avoided with these repeated messages in dmesg: platform 1ee0000.hdmi: probe deferral - supplier 1ef0000.hdmi-phy not ready Both nodes have their own compatible, but are implemented by a single struct device. This looks like a kind of situation that's expected to break fw_devlink expectations by my reading of the the e-mails about trying the fw_devlink=on during 5.12 cycle. Is this supposed to be solved by implementing the PHY node as it's own device or by breaking the fwnode_link between the hdmi phy and hdmi nodes? Seems like second solution would be quicker now that rc1 is out. Where would be a good place to break that fwnode_link in code? Or can the fw_devlink code be made aware of this situation, where two fwnodes are implemented by the same Linux device, somehow? Relevant references: https://elixir.bootlin.com/linux/v5.13-rc1/source/drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c#L600 https://elixir.bootlin.com/linux/v5.13-rc1/source/drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c#L212 https://elixir.bootlin.com/linux/v5.13-rc1/source/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi#L1176 kind regards, o. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel