Re: [PATCH 0/4] Reinstate and improve MIPS `do_div' implementation

From: Maciej W. Rozycki
Date: Wed Apr 21 2021 - 15:04:20 EST


On Wed, 21 Apr 2021, H. Nikolaus Schaller wrote:

> > In the end I have included four patches on this occasion: 1/4 is the test
> > module, 2/4 is an inline documentation fix/clarification for the `do_div'
> > wrapper, 3/4 enables the MIPS `__div64_32' backend and 4/4 adds a small
> > performance improvement to it.
>
> How can I apply them to the kernel? There is something wrong which makes
> git am fail.

I don't know. The changes were made against vanilla 5.12-rc7, but then
the pieces affected have not changed for ages. FWIW I can `git am' the
series as received back just fine.

> > These changes have been verified with a DECstation system with an R3400
> > MIPS I processor @40MHz and a MTI Malta system with a 5Kc MIPS64 processor
> > @160MHz.
>
> I'd like to test on ~320 MHz JZ4730.

Sure, I'd love to hear how this code performs with other implementations.

Maciej