Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030457AbbDXJ1f (ORCPT ); Fri, 24 Apr 2015 05:27:35 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57766 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030297AbbDXJ1d (ORCPT ); Fri, 24 Apr 2015 05:27:33 -0400 Date: Fri, 24 Apr 2015 11:27:30 +0200 (CEST) From: Jiri Kosina To: AKASHI Takahiro cc: rostedt@goodmis.org, mingo@kernel.org, jpoimboe@redhat.com, sjenning@redhat.com, vojtech@suse.cz, catalin.marinas@arm.com, will.deacon@arm.com, broonie@kernel.org, masami.hiramatsu.pt@hitachi.com, live-patching@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org Subject: Re: [RFC 0/4] arm64: add livepatch support In-Reply-To: <1429843449-7388-1-git-send-email-takahiro.akashi@linaro.org> Message-ID: References: <1429843449-7388-1-git-send-email-takahiro.akashi@linaro.org> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 985 Lines: 26 On Fri, 24 Apr 2015, AKASHI Takahiro wrote: > This patchset enables livepatch support on arm64. > > Livepatch was merged in v4.0, and allows replacying a function dynamically > based on ftrace framework, but it also requires -mfentry option of gcc. > Currently arm64 gcc doesn't support it, but by adding a helper function to > ftrace, we will be able to support livepatch on arch's which don't support > this option. > > I submit this patchset as RFC since I'm not quite sure that I'm doing > in the right way, or we should definitely support -fentry instead. I don't have arm64 cross-compiler handy, could you please copy/paste how does function prologue, generated by gcc -pg on arm64 look like? Thanks, -- Jiri Kosina SUSE Labs -- 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/