[PATCH v2] powerpc: Avoid link stack corruption in misc asm functions

Michael Ellerman patch-notifications at ellerman.id.au
Fri Aug 27 23:15:57 AEST 2021


On Tue, 24 Aug 2021 07:56:35 +0000 (UTC), Christophe Leroy wrote:
> bl;mflr is used at several places to get code position.
> 
> Use bcl 20,31,+4 instead of bl in order to preserve link stack.
> 
> See commit c974809a26a1 ("powerpc/vdso: Avoid link stack corruption
> in __get_datapage()") for details.
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: Avoid link stack corruption in misc asm functions
      https://git.kernel.org/powerpc/c/33e1402435cb9f3021439a15935ea2dc69ec1844

cheers


More information about the Linuxppc-dev mailing list