Thread (12 messages) 12 messages, 4 authors, 2024-09-10

Re: [PATCH] powerpc/ftrace: restore r2 to caller's stack on livepatch sibling call

From: Ryan Sullivan <hidden>
Date: 2024-07-29 22:48:27
Also in: live-patching

Hello Michael,

In the case of no sibling call within the livepatch then the store is  
only "restoring" the r2 value that was already there as it is stored  
and retrieved from the livepatch stack. The only time that the r2 value  
is corrupted is in the case of a sibling call and thus this additional  
store is just restoring the caller's context as a safety precaution.  
Also should this explanation be put into the patch itself or will these  
messages suffice as a reference?

Cheers,

Ryan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help