Re: [RFC PATCH 2/7] powerpc/64: abstract asm global variable declaration and access

2022-09-21 Thread Christophe Leroy
Le 19/09/2022 à 16:01, Nicholas Piggin a écrit : > Use asm helpers to access global variables and to define them in asm. > Stop using got addressing and use the more common @toc offsets. 32-bit > already does this so that should be unchanged. > > Signed-off-by: Nicholas Piggin > --- > diff --g

[RFC PATCH 2/7] powerpc/64: abstract asm global variable declaration and access

2022-09-19 Thread Nicholas Piggin
Use asm helpers to access global variables and to define them in asm. Stop using got addressing and use the more common @toc offsets. 32-bit already does this so that should be unchanged. Signed-off-by: Nicholas Piggin --- arch/powerpc/boot/opal-calls.S | 6 +- arch/powerpc/boot/pp