[PATCH] powerpc64/bpf: support direct_call on livepatch function
Hari Bathini
hbathini at linux.ibm.com
Tue Oct 7 00:20:20 AEDT 2025
On 06/10/25 1:22 pm, Naveen N Rao wrote:
> On Fri, Oct 03, 2025 at 12:57:54AM +0530, Hari Bathini wrote:
>> Today, livepatch takes precedence over direct_call. Instead, save the
>> state and make direct_call before handling livepatch.
>
> If we call into the BPF trampoline first and if we have
> BPF_TRAMP_F_CALL_ORIG set, does this result in the BPF trampoline
> calling the new copy of the live-patched function or the old one?
Naveen, calls the new copy of the live-patched function..
- Hari
More information about the Linuxppc-dev
mailing list