aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2019-07-25 15:24:37 +0900
committerSteven Rostedt (VMware) <[email protected]>2019-08-31 12:19:10 -0400
commit0bc11ed5ab60c135aa764a62c02cd5ea68289de4 (patch)
tree503be167bf756a0f32c4fbe11da3c41895697049 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentc68c9ec1c52e5bcd221eb09bc5344ad4f407b204 (diff)
kprobes: Allow kprobes coexist with livepatch
Allow kprobes which do not modify regs->ip, coexist with livepatch by dropping FTRACE_OPS_FL_IPMODIFY from ftrace_ops. User who wants to modify regs->ip (e.g. function fault injection) must set a dummy post_handler to its kprobes when registering. However, if such regs->ip modifying kprobes is set on a function, that function can not be livepatched. Link: http://lkml.kernel.org/r/156403587671.30117.5233558741694155985.stgit@devnote2 Acked-by: Joe Lawrence <[email protected]> Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions