From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753301AbdDLK7l (ORCPT ); Wed, 12 Apr 2017 06:59:41 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:44222 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752336AbdDLK7i (ORCPT ); Wed, 12 Apr 2017 06:59:38 -0400 From: "Naveen N. Rao" To: Michael Ellerman Cc: Ananth N Mavinakayanahalli , Masami Hiramatsu , Ingo Molnar , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/5] powerpc: a few kprobe fixes and refactoring Date: Wed, 12 Apr 2017 16:28:23 +0530 X-Mailer: git-send-email 2.12.1 X-TM-AS-MML: disable x-cbid: 17041210-0012-0000-0000-00000225FF6F X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17041210-0013-0000-0000-0000073BB917 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-04-12_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1704120093 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v1: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1334843.html For v2, this series has been re-ordered and rebased on top of powerpc/next so as to make it easier to resolve conflicts with -tip. No other changes. - Naveen Naveen N. Rao (5): kprobes: convert kprobe_lookup_name() to a function powerpc: kprobes: fix handling of function offsets on ABIv2 powerpc: introduce a new helper to obtain function entry points powerpc: kprobes: factor out code to emulate instruction into a helper powerpc: kprobes: emulate instructions on kprobe handler re-entry arch/powerpc/include/asm/code-patching.h | 37 ++++++++++ arch/powerpc/include/asm/kprobes.h | 53 -------------- arch/powerpc/kernel/kprobes.c | 119 +++++++++++++++++++++++++------ arch/powerpc/kernel/optprobes.c | 6 +- include/linux/kprobes.h | 1 + kernel/kprobes.c | 21 +++--- 6 files changed, 147 insertions(+), 90 deletions(-) -- 2.12.1