[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a173781e-b3b6-47a7-8bda-fb289fd9ffd5@infradead.org>
Date: Tue, 5 Dec 2023 09:29:05 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>
Subject: Re: linux-next: Tree for Dec 5 (soc/qcom/qcom_stats)
On 12/5/23 09:17, Randy Dunlap wrote:
>
>
> On 12/4/23 18:57, Stephen Rothwell wrote:
>> Hi all,
>>
>> Changes since 20231204:
>>
>
> on powerpc 32-bit:
>
> ERROR: modpost: "__udivdi3" [drivers/soc/qcom/qcom_stats.ko] undefined!
>
>
Hi,
Looks like this is coming from the use of mult_frac() if I am reading the
generated .s file correctly:
# ../drivers/soc/qcom/qcom_stats.c:224: entry[i].dur = mult_frac(MSEC_PER_SEC, entry[i].dur, ARCH_TIMER_FREQ);
mulhwu 3,22,4 # tmp194, tmp190, MEM[(long long unsigned int *)_107 + 16B]
mulli 9,9,1000 # tmp185, MEM[(long long unsigned int *)_107 + 16B],
mulli 4,4,1000 # tmp3, MEM[(long long unsigned int *)_107 + 16B],
add 3,9,3 #, tmp185, tmp194
bl __udivdi3 #
--
~Randy
Powered by blists - more mailing lists