Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp888221ybl; Fri, 16 Aug 2019 05:44:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJ5JgAkTID9TDmL1vSuSFtt8VVzgXt/c3uyOKkcW5zA4yiN4xZW7Wkhb9fe2LcIpwP9t2c X-Received: by 2002:a17:902:8345:: with SMTP id z5mr9454258pln.29.1565959499553; Fri, 16 Aug 2019 05:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565959499; cv=none; d=google.com; s=arc-20160816; b=lfRo90pRnBGYuYFSsmn9CGhttwk9lupuT3qPtzgXqS7+YansxbRBLc4OPphIfcwPav CznP/1fUuR9ayrsl7GYCZwkRo6qDfoEmqWa9kicMr/OFJm8axPpfCfztt8IuwgxIVIlN v2NkEEojlXAbgPQEMmivtWOcwqOMI+hQF8F6QARNLWNtkOVXE9fLVKWipe1Lp/DYjBTK bgQQKwpfy5ipUiAtI/z5IRf+zQSULKov9Pc8gER0wPPwgGBtbid7g32ZWmV97VI+M9+o ApxVp74GSuS3422BQy7TdhExuqi+jZSEnQwSTX6ra9zGnSDTB+TSskDPFOGKkuKgX9Dk kM0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=IlPb400D1En5H90/OQ/OdnqM+YR1HHX9Z+ZxEINm1/c=; b=QPXRTBhET73TlyzXCib50/bWc4jE1iOBfTWzYy5ld5MqRgCxnqZ/X/N2rmCAQqPq6L R02dbz6Pl2sOwPscX6AycT25sJAClDl/F5eyjnOrsP+JqwXkc74AV5YgwAmeHj/twUEa OZ+yRPysmk4syYylUgjgVefGVBv2A2GfBXeVxHk49+812Qn3o+aYGyMJDMeyr7onkdmV ucrg8XQHvsnxpQU0uF4F2poRVagNBjo9Lj46Qe+qhhcdh/7iVzlwEvJmBcWnlls5zvPs +U77RJunRQlzT5580ubZ0+YpeR5ZozhmNbR6LCZEDPtV1/z5sLNqsAtKUkuB/8GsH/Ya fxIg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s187si4198923pfb.92.2019.08.16.05.44.42; Fri, 16 Aug 2019 05:44:59 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727273AbfHPMnk (ORCPT + 99 others); Fri, 16 Aug 2019 08:43:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47714 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726075AbfHPMnk (ORCPT ); Fri, 16 Aug 2019 08:43:40 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3C907308302F; Fri, 16 Aug 2019 12:43:40 +0000 (UTC) Received: from [10.10.123.64] (ovpn-123-64.rdu2.redhat.com [10.10.123.64]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 751431719E; Fri, 16 Aug 2019 12:43:39 +0000 (UTC) Subject: Re: [PATCH v4 06/10] modpost: Add modinfo flag to livepatch modules To: Miroslav Benes , Masahiro Yamada Cc: Linux Kernel Mailing List , live-patching@vger.kernel.org, Linux Kbuild mailing list References: <20190509143859.9050-1-joe.lawrence@redhat.com> <20190509143859.9050-7-joe.lawrence@redhat.com> <20190812155626.GA19845@redhat.com> From: Joe Lawrence Message-ID: <6c7e4d19-b993-1c14-d6cf-6aa1ee891361@redhat.com> Date: Fri, 16 Aug 2019 08:43:37 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.46]); Fri, 16 Aug 2019 12:43:40 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.) Thanks, -- Joe