lkml.org 
[lkml]   [2021]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2] powerpc: Avoid link stack corruption in misc asm functions
Date
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

\
 
 \ /
  Last update: 2021-08-27 15:23    [W:0.060 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site