summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAbhishek Dubey <adubey@linux.ibm.com>2026-01-24 13:22:23 +0530
committerMadhavan Srinivasan <maddy@linux.ibm.com>2026-01-29 09:06:01 +0530
commit11d45eee9f42f7d3f9c9f190a6f79e570d345fe2 (patch)
treeb66b1eb8d182dab01faa5401d9cb921607d7b57a /include/linux
parentc169930292f7f31a6e500803e6c5ffbb9d5e6e4b (diff)
powerpc64/bpf: Additional NVR handling for bpf_throw
The bpf_throw() function never returns, if it has clobbered any callee-saved register, those will remain clobbered. The prologue must take care of saving all callee-saved registers in the frame of exception boundary program. Later these additional non volatile registers R14-R25 along with other NVRs are restored back in the epilogue of exception callback. To achieve above objective, the frame size is determined dynamically to accommodate additional non volatile registers in exception boundary's frame. For non-exception boundary program, the frame size remains optimal. The additional instructions to save & restore r14-r25 registers are emitted only during exception boundary and exception callback program respectively. Signed-off-by: Abhishek Dubey <adubey@linux.ibm.com> Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com> Link: https://patch.msgid.link/20260124075223.6033-7-adubey@linux.ibm.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions