From: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
To: Borislav Petkov <bp@alien8.de>
Cc: <linux-stm32@st-md-mailman.stormreply.com>,
Yannick Fertre <yannick.fertre@foss.st.com>,
Philippe Cornu <philippe.cornu@foss.st.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
<dri-devel@lists.freedesktop.org>,
<linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: dw_mipi_dsi-stm.c:(.text+0x8db9a3): undefined reference to `clk_hw_unregister'
Date: Tue, 10 Sep 2024 12:48:49 +0200 [thread overview]
Message-ID: <0e9018d0-c49f-4dac-aa0f-b05504f9c6f6@foss.st.com> (raw)
In-Reply-To: <20240909084506.GBZt61kqqGVUTqjKc4@fat_crate.local>
On 9/9/24 10:45, Borislav Petkov wrote:
> On Mon, Sep 09, 2024 at 08:57:57AM +0200, Raphael Gallais-Pou wrote:
>> Arnd Bergmann sent a patch regarding this issue on x86 that I merged several
>> weeks ago.
>>
>> https://lore.kernel.org/lkml/20240719075454.3595358-1-arnd@kernel.org/
>> https://lore.kernel.org/all/c3d0757a-07c0-4f83-9f06-c3ad205aa1e9@foss.st.com/
> Thanks.
>
>> Now, I'm not familiar with PowerPC architecture and toolchains, but I think
>> this patch should fix your problem. Do you have the above fixup in your
>> tree ? If not please try it.
> Not PowerPC - it is an x86 build. I do random config builds as part of build
> testing and when a driver depends on COMPILE_TEST, it does gets built in some
> .configs. So some may fail, as in this case.
Unless I am mistaken, the link you provided refers to a PowerPC linker error:
[...]
compiler: powerpc-linux-gcc (GCC) 14.1.0
[...]
powerpc-linux-ld: drivers/gpu/drm/stm/dw_mipi_dsi-stm.o: in function `dw_mipi_dsi_stm_remove':
dw_mipi_dsi-stm.c:(.text+0x664): undefined reference to `of_clk_del_provider'
>> powerpc-linux-ld: dw_mipi_dsi-stm.c:(.text+0x66c): undefined reference to `clk_hw_unregister' powerpc-linux-ld: drivers/gpu/drm/stm/dw_mipi_dsi-stm.o: in function `dw_mipi_dsi_stm_probe':
dw_mipi_dsi-stm.c:(.text+0x98c): undefined reference to `clk_hw_register'
>
> So I think you should send that patch to Linus now so that such randconfig
> builds do not fail anymore.
What do you mean by 'sending it to Linus' ? If you meant to do a pull request,
then no. This patch is already in the drm-misc tree, which means it will keep
its usual pace of merging with the rest of the drm-misc tree.
For more information about drm-misc tree:
https://drm.pages.freedesktop.org/maintainer-tools/repositories/drm-misc.html#merge-timeline
>
> Unfortunately, I cannot test it right now because I've removed the triggering
> randconfigs but when I hit it again, I'll make sure to apply yours.
Thank you for this. Do not hesitate to reach if you encounter any problems with
this patch.
Regards,
Raphaël
>
> Thx.
>
next prev parent reply other threads:[~2024-09-10 10:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-05 8:19 Borislav Petkov
2024-09-09 6:57 ` Raphael Gallais-Pou
2024-09-09 8:45 ` Borislav Petkov
2024-09-10 10:48 ` Raphael Gallais-Pou [this message]
2024-09-10 11:06 ` Borislav Petkov
2024-09-10 11:59 ` Maxime Ripard
2024-09-10 12:13 ` Raphael Gallais-Pou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0e9018d0-c49f-4dac-aa0f-b05504f9c6f6@foss.st.com \
--to=raphael.gallais-pou@foss.st.com \
--cc=airlied@gmail.com \
--cc=alexandre.torgue@foss.st.com \
--cc=bp@alien8.de \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mripard@kernel.org \
--cc=philippe.cornu@foss.st.com \
--cc=tzimmermann@suse.de \
--cc=yannick.fertre@foss.st.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®