Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1988914pxj; Sun, 16 May 2021 10:27:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6eV2g0F074+lbGBPKcF8EhhCwVwRBDmhjm+L7oTmijcgTnpCJXBKWO4XFJLIO+0mnfQFV X-Received: by 2002:a50:d69c:: with SMTP id r28mr17425120edi.64.1621186042719; Sun, 16 May 2021 10:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621186042; cv=none; d=google.com; s=arc-20160816; b=bZudyLViQhj5rZVrpjPmuu4YP7zF7PkbCsNuTyieLGWI9rcb1s9ElZgPEzglg2Uixw ysVngDZUWdh+a+e/B/rEz1uctdRv+5+b04E8BqTYXCQwbQ6UJa0RLgAt/agm4UekaMl9 FcihC7FcUOuZCRk+FibJqw6tJJaNFBmjYi4Hli/pwHibJadT/AM7k/p1uEcV3KId1v7I Q1sTnAbiM6EvKmlcmQW5ciznB7IF0fXqAfCsZtu1/EEeC9mVCQ9UvOuz6J9ogp3+XjR6 vZ3N4H0Oo13sTLcpoF+dLgfn8btM7/mETqTpc0aXbnFIaoUlSwlfOPgODR7WQGByQMBf bdDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version :mail-followup-to:message-id:subject:to:from:date:dkim-signature; bh=+VI4DQIw50tD8DGy1ScW646RNrdXRq8ngZBHb6Fh5jQ=; b=EsEAdKGofd/QhqU/LiXRtPtVG02/EefeESIE0TJJhRVp6B/ESpuof91v14vSwtKzh9 lEIMlHhTn0pQvtqyGKYxuCKOge/x5WsMiDKp5kXBw4XpIM5nfRY6VbAbiHIiIv/9V4cu vorHb/YY2uirLbe2kpvAHIvEsZKC8TOQ0goTYckNpLwcf9MtfxwYThIx7LS0SRT29HNu RD+s7mqU1UEKiZdXiAG3tgcmENuFV7xJm9wro+5wZcD3tEhGG42AU8SKMwiUUpNukulB OIXfzZOi32xVw1Ts9iJPvs9gpF3q79neoKKgGy0E4sXr/HzRi7+1Rv3l4GkQRIeUjP2N iKnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xff.cz header.s=mail header.b=E5ZOlREt; 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=NONE dis=NONE) header.from=xff.cz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z3si10709849edd.336.2021.05.16.10.26.59; Sun, 16 May 2021 10:27:22 -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=@xff.cz header.s=mail header.b=E5ZOlREt; 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=NONE dis=NONE) header.from=xff.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229910AbhEPRNu (ORCPT + 99 others); Sun, 16 May 2021 13:13:50 -0400 Received: from vps.xff.cz ([195.181.215.36]:51834 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbhEPRNt (ORCPT ); Sun, 16 May 2021 13:13:49 -0400 X-Greylist: delayed 415 seconds by postgrey-1.27 at vger.kernel.org; Sun, 16 May 2021 13:13:49 EDT 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-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.