Kernel crosscompilers

Christophe Leroy christophe.leroy at
Sat May 8 20:15:32 AEST 2021

Le 08/05/2021 à 11:43, Arnd Bergmann a écrit :
> On Sat, May 8, 2021 at 8:46 AM Christophe Leroy
> <christophe.leroy at> wrote:
>> Something is going wrong with asm goto output. I implemented get_user() helpers with asm goto this
>> cycle (commit 5cd29b1fd3e8). I tested it with CLANG before submitting, it was working.
> BTW, can you point me to those patches? I think it would be nice if we
> could eventually
> converge parts of get_user()/put_user() implementation on something
> that works for all
> architectures, we do seem to rewrite these way too often. Ideally we'd
> have something
> in asm-generic that provides all the wrappers, and just requires an
> architecture to
> implement the inline asm helpers for each of the sizes.

The series that is merged for 5.13 is here:*

And of course the result is just
and all its history at

The fix from today here:

I made a try to use asm-generic/uaccess.h a few weeks ago, but it was not conclusive. I can't 
remember the details, but I can have a new look at it next week if you are interested with the details.


More information about the Linuxppc-dev mailing list