Re: [PATCH 2/2] powerpc/uprobes: Reject uprobe on a system call instruction

2022-01-28 Thread Naveen N. Rao
On 2022-01-27 13:14, Nicholas Piggin wrote: Excerpts from Michael Ellerman's message of January 25, 2022 9:45 pm: Nicholas Piggin writes: Per the ISA, a Trace interrupt is not generated for a system call [vectored] instruction. Reject uprobes on such instructions as we are not emulating a syst

Re: [PATCH 2/2] powerpc/uprobes: Reject uprobe on a system call instruction

2022-01-26 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of January 25, 2022 9:45 pm: > Nicholas Piggin writes: >> Per the ISA, a Trace interrupt is not generated for a system call >> [vectored] instruction. Reject uprobes on such instructions as we are >> not emulating a system call [vectored] instruction anymor

Re: [PATCH 2/2] powerpc/uprobes: Reject uprobe on a system call instruction

2022-01-25 Thread Michael Ellerman
Nicholas Piggin writes: > Per the ISA, a Trace interrupt is not generated for a system call > [vectored] instruction. Reject uprobes on such instructions as we are > not emulating a system call [vectored] instruction anymore. This should really be patch 1, otherwise there's a single commit window

[PATCH 2/2] powerpc/uprobes: Reject uprobe on a system call instruction

2022-01-23 Thread Nicholas Piggin
Per the ISA, a Trace interrupt is not generated for a system call [vectored] instruction. Reject uprobes on such instructions as we are not emulating a system call [vectored] instruction anymore. Signed-off-by: Naveen N. Rao [np: Switch to pr_info_ratelimited] Signed-off-by: Nicholas Piggin ---