[PATCH] drm/panic: Add a u64 divide by 10 for arm32

Jocelyn Falempe jfalempe at redhat.com
Fri Jun 27 11:52:49 UTC 2025


On 27/06/2025 13:44, Miguel Ojeda wrote:
> On Fri, Jun 27, 2025 at 11:41 AM Jocelyn Falempe <jfalempe at redhat.com> wrote:
>>
>> +/// On arm32 architecture, dividing an u64 by a constant will generate a call
>> +/// to __aeabi_uldivmod which is not present in the kernel.
>> +/// So use the multiply by inverse method for this architecture.
> 
> This sounds more like a normal comment instead of function docs, no?

Yes, I think I'm still confused between // and ///, so I will replace 
with //.
> 
> By the way, formatting:
> 
>      `u64`
>      `__aeabi_uldivmod`

ok, I will do that in v2.

> 
> Thanks for fixing this! It is nice seeing 32-bit arm taking shape.

Thank you for your reactivity

> 
> Cheers,
> Miguel
> 

-- 

Jocelyn



More information about the dri-devel mailing list