[PATCH v2 0/5] powerpc/64: avoid GOT addressing, don't put data in TOC

Michael Ellerman patch-notifications at ellerman.id.au
Wed Oct 5 00:25:44 AEDT 2022


On Mon, 26 Sep 2022 13:40:52 +1000, Nicholas Piggin wrote:
> This is a cleaned up set of the initial prep patches from the pcrel
> series, dealing with regularising addressing variables from asm
> and using helper macros more consistently.
> 
> Changes since v1:
> - Use "REGS" stack frame marker for 64-bit, leaving 32-bit unchanged.
> - Fix PPC64 32-bit boot wrapper compile.
> 
> [...]

Applied to powerpc/next.

[1/5] powerpc/64: use 32-bit immediate for STACK_FRAME_REGS_MARKER
      https://git.kernel.org/powerpc/c/17773afdcd1589c5925a984f512330410cb2ba4f
[2/5] powerpc/64: asm use consistent global variable declaration and access
      https://git.kernel.org/powerpc/c/dab3b8f4fd09c22e8dbb2d9608194c7d52252f33
[3/5] powerpc/64: switch asm helpers from GOT to TOC relative addressing
      https://git.kernel.org/powerpc/c/754f611774e4b9357a944f5b703dd291c85161cf
[4/5] powerpc/64: provide a helper macro to load r2 with the kernel TOC
      https://git.kernel.org/powerpc/c/8e93fb33c84f68db20c0bc2821334a4c54c3e251
[5/5] powerpc/64e: provide an addressing macro for use with TOC in alternate register
      https://git.kernel.org/powerpc/c/3569d84bb26f6f07d426446da3d2c836180f1565

cheers


More information about the Linuxppc-dev mailing list