Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp287755imm; Tue, 9 Oct 2018 18:16:21 -0700 (PDT) X-Google-Smtp-Source: ACcGV61vGFIXwmKHQsplyts4nGJv+UY/Ipy/6wgzTUdvxd5IWd2Ap2zQiLBK9BsZNnt2F//LQ8Kr X-Received: by 2002:a17:902:a40e:: with SMTP id p14-v6mr30932047plq.338.1539134181395; Tue, 09 Oct 2018 18:16:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539134181; cv=none; d=google.com; s=arc-20160816; b=LT+JxLfYXNVoC+FSByQ0IJ6EOu0KnbTjDNl8mjggk3dHAAzooHDKCxx4MyQHx3Mae5 cS6Fp3vmdbyE3juPmUpqxiH05/oA6YJBu34GkcW3WV9x+nK7zq5HkMCPXcKb2C/l7ZAF BN1AKDRsP+mdAk9LC8a0rIR+xGVan8FlA753rqpCu+UKVu40nUhb5YW9j3hVZQ8q3b0t wZHIuoJ09TGmMxxL+k4Qtw6DHUW03QW89YcDK8yCOwem780e057UBC9iRW3dvXHnbbbb rxY/9Zf7lNRhMBKUIqRX9r+wFuODAylTEiNfG1kRkcKEcZzYrllwGvXR6X0+qQdF4Ubp 7byg== 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; bh=C2EZPhvngUO5S1nk+0jkQ/A5iTdmqdn3ctiJa31CT5k=; b=Daf8MJ4P2fXlOH6jyUjjwQ1opDCVayyA6xlNR0+40YqIqEDjzly94PhCHlrgOofl/8 dMjjQtOyko5MfeHeVMOjVT8YPEQSF+p4h4QREhF+d4Y/79zvgazqYIdmKWbXD1isxf0V 1KusnFYo9F/YmtBmntTLTqpbKp++oc8wuret/9kAbjJ8auh0v1FApUrttSybth34R5Jz 0sSbpKdTWmCz+Ok40tfbkQcmjihsNtSSDLP+Ccr9AMzcesaGIqs1w7e1hZ+DxuAAAMKj Mw4TphPmJdSDdyFDwNVELj3tHs+QdHd9KSpogIrI+sYllIQHzp4gHeDWWSAOpEBbEA9K 2RBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eNYSXDFY; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j10-v6si20047594pgk.22.2018.10.09.18.16.06; Tue, 09 Oct 2018 18:16:21 -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=@gmail.com header.s=20161025 header.b=eNYSXDFY; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726479AbeJJIVl (ORCPT + 99 others); Wed, 10 Oct 2018 04:21:41 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:34555 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbeJJIVk (ORCPT ); Wed, 10 Oct 2018 04:21:40 -0400 Received: by mail-ot1-f65.google.com with SMTP id i12-v6so3693690otl.1; Tue, 09 Oct 2018 18:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=C2EZPhvngUO5S1nk+0jkQ/A5iTdmqdn3ctiJa31CT5k=; b=eNYSXDFY/arDb/NUg9EJqXxPbG9oFmdTyRmI4YRoPZYFA/47m6AUrBPPLdwkIwwB25 vzowguZUNJH4VKLwyp9Gm/ndAXLMj1znotOoxVAGWimyjZJbcJj4UiIjKtrYeKlv0uwS MzYw1etWN006eyazcwShUpxFpHG1MsusLQb3ZqXt9qsXraYw1E+Sg19fazjDBbfncGHi 75fk92WE6rglklvuxkAOMtoTrQII+C6XtQzpeUVoNOonmDRFGzvcN6d/zcGPdupx/Gpw q/MG28ev46fBoHHsWUphYDx0tG+5V1GTRGE6KN1ILTwWQGwDpZsP1yuUve6YTaW2y6al etfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=C2EZPhvngUO5S1nk+0jkQ/A5iTdmqdn3ctiJa31CT5k=; b=twiXpEEeFyDcIG7AYFc+R1A+6zDzSGZy3jLkenIH7IvA6faifQd6ndIMlXZvZl0DUm VXOjPx1eGbwQyt48PcjKvhJALc1gITZb5LzFnvPwNGvszbFyr+qvfxHQBXXVYSw2+yb2 Rk0LhYVknZfsBiAPpJ2Sa52yrW5vsZLypRS6iFfjQjBDicLc3uf4c03x//8aVKyFmrVs LxqY+U4L3SR03vKL+iBZVRmUQy2CU8wIhBm9EuBcJpayAU2UmvaTtVMBoiqNdo7MpNtl e9X3J9vpNKayRdy+ZQKNNb1Q9BQo3G2hEwIh930ob7+mDZg+zTTgbjqoox6rutRclLHc q3pQ== X-Gm-Message-State: ABuFfoiq73yCtsyNJU97VneEUOFNa7LggmPBTGDMKqwZHT6IaFlfvBlo RrRVLKvPnQuogBfRYjNEgFyu9QTEZ7C3CuhEfKA= X-Received: by 2002:a9d:38d4:: with SMTP id k20mr3219082ote.289.1539133321511; Tue, 09 Oct 2018 18:02:01 -0700 (PDT) MIME-Version: 1.0 References: <20180928020816.11251-1-leobras.c@gmail.com> <20180928020816.11251-4-leobras.c@gmail.com> <1538118915.3593.4.camel@HansenPartnership.com> <1538628062.18776.5.camel@HansenPartnership.com> <765df6c3-0339-ebf3-6446-cef4fc1eb1cc@gmail.com> In-Reply-To: <765df6c3-0339-ebf3-6446-cef4fc1eb1cc@gmail.com> From: Leonardo Bras Date: Tue, 9 Oct 2018 22:01:50 -0300 Message-ID: Subject: Re: [PATCH v3 3/7] drivers: parisc: Avoids building driver if CONFIG_PARISC is disabled To: schmitzmic@gmail.com Cc: James Bottomley , lkcamp@lists.libreplanetbr.org, Alexander Shishkin , Finn Thain , Robert Richter , "James E.J. Bottomley" , Helge Deller , Martin Schwidefsky , Heiko Carstens , Geert Uytterhoeven , linux-kernel , linux-m68k@lists.linux-m68k.org, oprofile-list@lists.sf.net, linux-parisc@vger.kernel.org, linux-s390@vger.kernel.org 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 Hello Michael, > That already works, doesn't it? So all that you'd need is an offline > tool to precompute what drivers to actually build with a given config. > > 'make -n' with some suitable output mangling might do the job. > > There may well be other ways to achieve your stated goal, without any > need to make changes to the kernel build process (which is the result of > many years of evolution and tuning, BTW). Thanks for the info, I will try to use it. > > This change is not supposed to bother the usual way of building the kernel, and > > Enough people have voiced their concern to warrant that you should back > up that claim, IMO. Have you verified that your patchset does not change > current behaviour when building the entire set of default configurations > for each supported architecture? Does it reduce or increase overall > complexity of the build process? > I have tried in some ARCHs and it worked fine. Out of curiosity, I will try on all of them. > > it is not even supposed to add overhead to kernel compilation. And it would, > > at least, solve my problem with the 3h limit, and enable the tool > > I am building on GiltabCI to help other developers. > > (Apropos of nothing: Am I the only one who thinks gitlab might take a > rather dim view of your creativity in dealing with their limit?) > They make available 50k minutes a month for OSS projects. I don't believe they care how it's spent if its used to build/deploy the project. They even allow using several 'jobs' in parallel in order to speed up the process. Thanks for your help, Leonardo Bras