Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp347648ybl; Wed, 21 Aug 2019 20:43:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3o7JswfywDK2E5jpnh9bTckKmMqYjmLM/gOLaObn3IkpCswk/BntOqK9bimPDBhioBclP X-Received: by 2002:a63:c1c:: with SMTP id b28mr31965868pgl.354.1566445389483; Wed, 21 Aug 2019 20:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566445389; cv=none; d=google.com; s=arc-20160816; b=N0yAE9swvK414ipVng0h9Z7rW3/EJmeUj294B0gDwD9Ce+WGPY+qJnWgFGG+UiNS+b 8CPWUMkc9GzGrazHoFFgAXZvXWlHsG8XXd1w2FyAcRlY0xDr6wM5/2EuSB0ivxTJRk7q wS/Upd91Z36ZVTi7B680kRMW5xACQm5+PYAIhvw6Virh6FMZfxSabPVXJ8Ni/1LVJQhD 2JfXajd/9AiGxEFYnWJ0afEhCprujxkWMhiLZh1QhHBSVK6VIB9ERdhOwBuKcg0Ukoru PqFV6WN6z1CRfFPRqENd/ie4lXC2fRFNhsRFkDTGxIzC25eSvZpvMzJSv9sTptO64CCH X1GQ== 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=R9DdSYdCLpkt/LbQI9zbQtcp6/zLnu2cPiFV1+CyfHo=; b=BCLuYsxod/qlOnqw1eIhDQj8p1Zh2fMXdG4ZcXjv995lxc26HgUNtrP7YDbt70LyCK ftd4rRBYrrHMR2oITfSn/+QI47TZzFEmtVVWvLrGVmc5aRy9dMX61QwzRIAIT1yDltlc Sw7YLd5hUGS3ZWOwzNkuZ1kSp0TYkg5gZsTiUFH5WlYqCZozLiu2e+BlMCLo+mXNi+6Q cs/Hi2JeN/7vqvYBBZiFDuIEKmj5ywAbye1gWDTGnVVC6ttDsIFnloAlb7BcQ749Opp5 2LwxXF8Nx4iRl5/Ni+QSM8ODxUuhjsnnndT1m+8gpUSro0MarcuY3vXPvyAeXIgIXpFN OZZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=eUEkk9eW; 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 a22si1403062pjv.56.2019.08.21.20.42.54; Wed, 21 Aug 2019 20:43:09 -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=eUEkk9eW; 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 S1730901AbfHVDgg (ORCPT + 99 others); Wed, 21 Aug 2019 23:36:36 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:16891 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726785AbfHVDgg (ORCPT ); Wed, 21 Aug 2019 23:36:36 -0400 Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x7M3aUer010801; Thu, 22 Aug 2019 12:36:31 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x7M3aUer010801 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1566444991; bh=R9DdSYdCLpkt/LbQI9zbQtcp6/zLnu2cPiFV1+CyfHo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=eUEkk9eWXjdoHatpVYwRKckiQipct8CNYZ1yNMX6zz/9a0vjuv5L2H/HYs7E93wIQ Ye0JffRsJlJ03ayqyRx26a+RPd/Eb2Rg3D3R+tq7ICO2sF9RzuzRNC/+S4V4N6RhbN o5gzZ4Q5WkP6o2fBnZ6rTTVnM2jSFLXMIoOVG3fdIKKBvRN8KjDRsVYJyIuV6FRW6f UjPEtmBF0lRLM2klZ0M8yBpEplIwhCeJ1jACbKuw1GCgHrLcKdTBGDbJeDE2IVpD7F y11AcLO+99qrOJj8oKWFrSU7Aj7mdhMnE/7G142WmmPiGNmr6C2qqj11DdnVQjzviE KYEDrvQqW/BUg== X-Nifty-SrcIP: [209.85.222.52] Received: by mail-ua1-f52.google.com with SMTP id g11so1541686uak.0; Wed, 21 Aug 2019 20:36:31 -0700 (PDT) X-Gm-Message-State: APjAAAWT43xTfUBYVGww77u79OvQjWbqR1WvjfMv8btve7dg3hX7c3uO tAJHIDr0VM13hYDqD06H5ckq2rVLbxIO9RhE2AU= X-Received: by 2002:ab0:70d9:: with SMTP id r25mr3941384ual.109.1566444990083; Wed, 21 Aug 2019 20:36:30 -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> <42254ffc-6422-19e1-62a2-6abc23fd089a@redhat.com> In-Reply-To: <42254ffc-6422-19e1-62a2-6abc23fd089a@redhat.com> From: Masahiro Yamada Date: Thu, 22 Aug 2019 12:35:54 +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 Hi Joe, On Tue, Aug 20, 2019 at 1:02 AM Joe Lawrence wrote: > > On 8/19/19 3:31 AM, Miroslav Benes wrote: > > On Mon, 19 Aug 2019, Masahiro Yamada wrote: > > > >> > >> 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. > > > > I'd prefer this option. There is no real rush and I think we can wait one > > extra development cycle. > > Agreed. I'm in no hurry and was only curious about the kbuild changes > that this patchset is now dependent on -- how to note them for other > reviewers or anyone wishing to test. > > > Joe, could you submit one more revision with all the recent changes (once > > kbuild improvements settle down), please? We should take a look at the > > whole thing one more time? What do you think? > > > > Definitely, yes. I occasionally force a push to: > https://github.com/joe-lawrence/linux/tree/klp-convert-v5-expanded > > as I've been updating and collecting feedback from v4. Once updates > settle, I'll send out a new v5 set. > > -- Joe When you send v5, please squash the following clean-up too: diff --git a/scripts/Makefile.modfinal b/scripts/Makefile.modfinal index 89eaef0d3efc..9e77246d84e3 100644 --- a/scripts/Makefile.modfinal +++ b/scripts/Makefile.modfinal @@ -47,7 +47,7 @@ targets += $(modules) $(modules:.ko=.mod.o) # Live Patch # --------------------------------------------------------------------------- -$(modules-klp:.ko=.tmp.ko): %.tmp.ko: %.o %.mod.o Symbols.list FORCE +%.tmp.ko: %.o %.mod.o Symbols.list FORCE +$(call if_changed,ld_ko_o) quiet_cmd_klp_convert = KLP $@ Thanks. -- Best Regards Masahiro Yamada