Re: [PATCH 1/2] clocksource/drivers/timer-tegra186: Avoid 64-bit divide operation

From: Jon Hunter
Date: Thu Jul 03 2025 - 08:34:44 EST


Hi Daniel,

On 24/06/2025 15:32, Daniel Lezcano wrote:
On Sat, Jun 14, 2025 at 10:55:55AM -0700, Guenter Roeck wrote:
Building the driver on xtensa fails with

tensa-linux-ld: drivers/clocksource/timer-tegra186.o:
in function `tegra186_timer_remove':
timer-tegra186.c:(.text+0x350):
undefined reference to `__udivdi3'

Avoid the problem by rearranging the offending code to avoid the 64-bit
divide operation.


Hi Guenter,

Arnd posted a version which seems more complete.

https://lore.kernel.org/all/20250620111939.3395525-1-arnd@xxxxxxxxxx/

Actually Arnd responded here saying this version looks better :-)

https://lore.kernel.org/all/5a571236-7de0-42bc-bfb2-52a57e210852@xxxxxxxxxxxxxxxx/

OK, to pick up this series now?

Thanks
Jon

--
nvpublic