mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
To: Maxime Ripard <mripard@kernel.org>
Cc: Borislav Petkov <bp@alien8.de>,
	<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>,
	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 14:13:25 +0200	[thread overview]
Message-ID: <2f5b8627-60c0-4528-83fb-25d5af324516@foss.st.com> (raw)
In-Reply-To: <20240910-gleaming-boa-of-drama-d0a4db@houat>


On 9/10/24 13:59, Maxime Ripard wrote:
> On Tue, Sep 10, 2024 at 12:48:49PM GMT, Raphael Gallais-Pou wrote:
>> 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
> That's not entirely correct. This should have been merged in
> drm-misc-fixes to begin with. I've cherry-picked the patch and pushed
> it.

Hi Maxime,

Oops I stand corrected, I effectively should have thought about sending this to
drm-misc-fixes.
Thank you for doing this.

Regards,

Raphaël

>
> Maxime

      reply	other threads:[~2024-09-10 12:16 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
2024-09-10 11:06       ` Borislav Petkov
2024-09-10 11:59       ` Maxime Ripard
2024-09-10 12:13         ` Raphael Gallais-Pou [this message]

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=2f5b8627-60c0-4528-83fb-25d5af324516@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®