Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2197653ybl; Sun, 18 Aug 2019 20:50:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkT8U6FqkGvhY07mboXlutqpl2c6DXeUIItXLnyXn0rdTUoXby5vAdQyzCXNrPr69WH0Dm X-Received: by 2002:a17:90a:f0c7:: with SMTP id fa7mr19067385pjb.115.1566186647401; Sun, 18 Aug 2019 20:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566186647; cv=none; d=google.com; s=arc-20160816; b=bomfFozJGlJcECCg/+HV+g4hbherMavJvXJZ64d5+z8rI9JIf/4yJnRhfXnL+Vndx3 /wat/hribhdaG0fGef/uq1Dgc/sm1cCwZTHNhnXpOaGkmyqTT2PMJuzO6PT8jB9n/mE9 h2nHy9QYGQpLZXcWG4G9gUgNTNf7NKY3KFb0Dup83NgtOGwbI5kIskUdxa/6mO1gU+eh L5Q9Vjguz18pP3IOuiz9H1JzKC7lQ6uDcB3O2kgWC7FSJeR7bhgDqocpex3RHwPOmyQq 4ylKOJJITOgJ+XGdOfZNRtjT8KiOuZXWNeuUKdszEOKgfqFGRVvYWseYXa4w3tQuVNgG F3aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=7yhX/6r1Sfr5gey1E0uYRtZ15/zptfZcpaZY5EZ+xEQ=; b=oebcy0ysmLtXtlk0jDVLUwOro2E9Ic358ST2a2MQ6SwCftmBubtkRN+5C38ZNv8xe6 qTZKaxnIWs/kNtlPW3iflWKFnh2V5S2iAmVLLXu2iydqIubHIS702OExjK5PgSecaYBM AYgXFygwatox8gIG5Qzff+LvayPQg9hZQhOOjNCUtJ2y987LdZrhKxK7NH88zW5GHhaT ezjjfcXSq5XmYoV7tHQXuduUj3gqyjPCYkQxD2vwjUFrFCMyDgE1/4E4RZ/XBe5hYtO6 v8xSrsGWamIPX3RzbQpmVVHGdbEaHd0WuWr+qn+JDAr3a/Mzjs/als4U3DbTE0wJ/5Qj WIIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Ew2sIUSV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id az8si6018718plb.34.2019.08.18.20.50.32; Sun, 18 Aug 2019 20:50:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Ew2sIUSV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726491AbfHSDtr (ORCPT + 99 others); Sun, 18 Aug 2019 23:49:47 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:20255 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726132AbfHSDtq (ORCPT ); Sun, 18 Aug 2019 23:49:46 -0400 Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x7J3ncXR024718; Mon, 19 Aug 2019 12:49:39 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x7J3ncXR024718 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566186579; bh=7yhX/6r1Sfr5gey1E0uYRtZ15/zptfZcpaZY5EZ+xEQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Ew2sIUSVfUuXiqxOpx7MUK/gXSdkUsEZnUKjVbuuK95jNI3n58Z/sjO1CzaWIyloI 3x9Li3X8rTlZZoP7lgPWBZ8abyvMXSxoIErmk5/Fh93UpA1yI1QCUx67aiaRrATUHB oTTCyMivWSb1Mo0Dt4f7/8RDqTIVTYHYzMXTvyA6Wlv2kLo9nhvha3DG1jWJekJIMa LAF5Rvbhd7jzDDhmFOingNTceHaOR4icI4rJHgNMH9z5pb+1+1lllYn3HboE7Hv5Y5 CAqxe5KTkyZBLI9Vl0Qeyc2IbSJVvgvMzcHYdHjl3B0HkuRuq1A0hQysIbHNb/CEHK HE1TcslcM806g== X-Nifty-SrcIP: [209.85.222.47] Received: by mail-ua1-f47.google.com with SMTP id y7so161928uae.10; Sun, 18 Aug 2019 20:49:39 -0700 (PDT) X-Gm-Message-State: APjAAAXZFFEbAUjxJGd6Ke8N9uYoNSJwQE9RjDjuoJMOvKUn+mDvq4zz W0kNPtDubRYpgDjXJA9yuw6FjBG4MQ/yBg6ylUA= X-Received: by 2002:ab0:32d8:: with SMTP id f24mr6026375uao.121.1566186578219; Sun, 18 Aug 2019 20:49:38 -0700 (PDT) MIME-Version: 1.0 References: <20190509143859.9050-1-joe.lawrence@redhat.com> <20190509143859.9050-7-joe.lawrence@redhat.com> <20190812155626.GA19845@redhat.com> <6c7e4d19-b993-1c14-d6cf-6aa1ee891361@redhat.com> In-Reply-To: <6c7e4d19-b993-1c14-d6cf-6aa1ee891361@redhat.com> From: Masahiro Yamada Date: Mon, 19 Aug 2019 12:49:02 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4 06/10] modpost: Add modinfo flag to livepatch modules To: Joe Lawrence Cc: Miroslav Benes , Linux Kernel Mailing List , live-patching@vger.kernel.org, Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 16, 2019 at 9:43 PM Joe Lawrence wrote: > > On 8/16/19 4:19 AM, Miroslav Benes wrote: > > Hi, > > > >> I cleaned up the build system, and pushed it based on my > >> kbuild tree. > >> > >> Please see: > >> > >> git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > >> klp-cleanup > > > > This indeed looks much simpler and cleaner (as far as I can judge with my > > limited kbuild knowledge). We just need to remove MODULE_INFO(livepatch, > > "Y") from lib/livepatch/test_klp_convert_mod_a.c to make it compile and > > work (test_klp_convert_mod_a is not a livepatch module, it is just a dummy > > module which is then livepatched by lib/livepatch/test_klp_convert1.c). > > > > Yeah, Masahiro this is great, thanks for reworking this! > > I did tweak one module like Miroslav mentioned and I think a few of the > newly generated files need to be cleaned up as part of "make clean", but > all said, this is a nice improvement. > > Are you targeting the next merge window for your kbuild branch? (This > appears to be what the klp-cleanup branch was based on.) I can review this series from the build system point of view, but I am not familiar enough with live-patching itself. Some possibilities: [1] Merge this series thru the live-patch tree after the kbuild base patches land. This requires one extra development cycle (targeting for 5.5-rc1) but I think this is the official way if you do not rush into it. [2] Create an immutable branch in kbuild tree, and the live-patch tree will use it as the basis for queuing this series. We will have to coordinate the pull request order, but we can merge this feature for 5.4-rc1 [3] Apply this series to my kbuild tree, with proper Acked-by from the livepatch maintainers. I am a little bit uncomfortable with applying patches I do not understand, though... -- Best Regards Masahiro Yamada