Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752740AbaLSOYI (ORCPT ); Fri, 19 Dec 2014 09:24:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59683 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752197AbaLSOYF (ORCPT ); Fri, 19 Dec 2014 09:24:05 -0500 Date: Fri, 19 Dec 2014 08:23:16 -0600 From: Josh Poimboeuf To: Li Bin Cc: Seth Jennings , Jiri Kosina , Vojtech Pavlik , Steven Rostedt , Petr Mladek , Miroslav Benes , kpatch@redhat.com, Greg KH , x86@kernel.org, linux-kernel@vger.kernel.org, Andy Lutomirski , Christoph Hellwig , live-patching@vger.kernel.org, Li Zefan , zhangdianfang , Hanjun Guo , xiexiuqi Subject: Re: [kpatch] [PATCH] livepatch v7: move x86 specific ftrace handler code to arch/x86 Message-ID: <20141219142316.GA4120@treble.redhat.com> References: <1418752700-14649-1-git-send-email-sjenning@redhat.com> <1418752700-14649-3-git-send-email-sjenning@redhat.com> <5493C185.9020001@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5493C185.9020001@huawei.com> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 19, 2014 at 02:11:17PM +0800, Li Bin wrote: > The execution flow redirection related implemention in the livepatch > ftrace handler is depended on the specific architecture. This patch > introduces klp_arch_set_pc(like kgdb_arch_set_pc) interface to change > the pt_regs. > > Signed-off-by: Li Bin > --- > arch/x86/include/asm/livepatch.h | 5 +++++ > kernel/livepatch/core.c | 2 +- > 2 files changed, 6 insertions(+), 1 deletions(-) Acked-by: Josh Poimboeuf -- Josh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/