Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753058AbcLGPGZ (ORCPT ); Wed, 7 Dec 2016 10:06:25 -0500 Received: from mx2.suse.de ([195.135.220.15]:37096 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752330AbcLGPGY (ORCPT ); Wed, 7 Dec 2016 10:06:24 -0500 Date: Wed, 7 Dec 2016 16:05:25 +0100 From: Petr Mladek To: Abel Vesa Cc: linux@armlinux.org.uk, jpoimboe@redhat.com, jeyu@redhat.com, jikos@kernel.org, mbenes@suse.cz, rostedt@goodmis.org, mingo@redhat.com, gregkh@linuxfoundation.org, geert+renesas@glider.be, davem@davemloft.net, akpm@linux-foundation.org, emil.l.velikov@gmail.com, mchehab@kernel.org, linux@roeck-us.net, ard.biesheuvel@linaro.org, jens.wiklander@linaro.org, jean-philippe.brucker@arm.com, viro@zeniv.linux.org.uk, stefano.stabellini@eu.citrix.com, chris.brandt@renesas.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, live-patching@vger.kernel.org Subject: Re: [PATCH 6/7] arm: Add livepatch to build if CONFIG_LIVEPATCH Message-ID: <20161207150525.GD13288@linux.suse> References: <1481043967-15602-1-git-send-email-abelvesa@linux.com> <1481043967-15602-7-git-send-email-abelvesa@linux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1481043967-15602-7-git-send-email-abelvesa@linux.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1317 Lines: 35 On Tue 2016-12-06 17:06:06, Abel Vesa wrote: > Necessary livepatch file added to makefile. > > Signed-off-by: Abel Vesa > --- > arch/arm/kernel/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/kernel/Makefile b/arch/arm/kernel/Makefile > index ad325a8..9e70220 100644 > --- a/arch/arm/kernel/Makefile > +++ b/arch/arm/kernel/Makefile > @@ -48,6 +48,7 @@ obj-$(CONFIG_HAVE_ARM_TWD) += smp_twd.o > obj-$(CONFIG_ARM_ARCH_TIMER) += arch_timer.o > obj-$(CONFIG_FUNCTION_TRACER) += entry-ftrace.o > obj-$(CONFIG_DYNAMIC_FTRACE) += ftrace.o insn.o > +obj-$(CONFIG_LIVEPATCH) += livepatch.o It is strange that you add a source file in one patch and make it build in a much later patch. I suggest to restructure the entire patchset a bit. Please, first add support for FTRACE_WITH_REGS. It makes sense on its own. Then add the livepatch support on top of it. Otherwise, it is not necessary to send v2 immediately for such non-trivial code. There might be more people that would want to look at it and it might take days until they find a time. It is always better to collect some feedback, think about it over night(s). Every question often opens many other questions and it usually takes some time until all settles down into a good picture again. Best Regards, Petr