Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp791085ybl; Mon, 2 Dec 2019 18:16:59 -0800 (PST) X-Google-Smtp-Source: APXvYqztkRbJ5fEg8xpXQa5puf2YE6PGlBb7tmTX/H2IrmdBEvkl+/S0JKLofUG3F407zYU21Zun X-Received: by 2002:aca:f356:: with SMTP id r83mr1908982oih.129.1575339419039; Mon, 02 Dec 2019 18:16:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575339419; cv=none; d=google.com; s=arc-20160816; b=aFwrINwcR5wn0Hz7fXNuYY0mPYvgD7ff5x62XwjU7iYYCded1MH7qU93MA9q/HFt3W T+9uykPBOUDLL8cjoW0IPwUkTmi2BQZK9L2JytlOn0cB3QXW+sJMCIBYQU2VWHoKa5sX iyRb+FGokFNc22C9w/89o47y1XL3xgNW+IQIarfCTLWGlFTBusG36G2B1NraRkZojnBp GBjkdcCvAUeCGkxxQsUcc7ST3jSWfcarhZ7oqTu2QX4WnvAMxt8hsiF9zoPmkH3mDTpf hUKGCfKDIgMBEtPsgnAkrAf8laq3nE0u+ryptMYnvA1LBO67pguhK8Kek/7A/6/ech/x QF1Q== 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=2ctFjizjAsT3ZZQwsrKQhYOGL2r1hxUk0tgRnlzegWg=; b=ts8pEN9MS4l4fV7MkBTeDrJeqiMN2SAy+2+rvfsHPmGrlGZ6y9jXApsp9t/nESrVpe F8CWDqyHFNh0LgMTbvqmICKuA1Ji5QD7f0mQAVk/q2uRu6UuNveqRRkk12SWItrrBpK2 3XOrUl8yK1fOdEXFuB4ZEmQ4CirG+0gA5+zyvzXCvdXfm3HYnUFyGvjiECn3ok/lIM79 GMOnMsuH1F+IZDusKZcoJO0BdJPe7R3kwA1GE/qdXsxbLgoi9zSASh1WFrB8E0YteMba o+yOolbCpMmuI5YgjnU0vgjCjVj7f5JqT4jEbR3LRg0aRQGE/UKEII+6O98FSx8Eemae 4fpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="r/lgSuYJ"; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w197si591321oif.150.2019.12.02.18.16.46; Mon, 02 Dec 2019 18:16:59 -0800 (PST) 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=@kernel.org header.s=default header.b="r/lgSuYJ"; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726254AbfLCCQL (ORCPT + 99 others); Mon, 2 Dec 2019 21:16:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:47460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725899AbfLCCQK (ORCPT ); Mon, 2 Dec 2019 21:16:10 -0500 Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CE08920674 for ; Tue, 3 Dec 2019 02:16:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575339370; bh=yspJnuwBkqreWkEPkorkWPkvQhXOPzOAL1ymr79vJOU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=r/lgSuYJHA9HP9QDCMpGXJtGR1kQ9COgoTYtNTB73CZPFjUyca7cWq8rJTPNY1VZY uNoZmzmLzhg0IflxnR9tvZsoOUSejmJNoW3zxhzoeIXuXELH3dYXum6wS5B1ScOzOr 96tgp43BHOrf/W/fRTsc6sF7umyuW7ncrbqRkbpw= Received: by mail-lf1-f43.google.com with SMTP id f16so1565485lfm.3 for ; Mon, 02 Dec 2019 18:16:09 -0800 (PST) X-Gm-Message-State: APjAAAW3k9AlV3slV6MyEzMKL2P9IOyfa4XRBQGr7RwzPq6pLs8rBnP3 xmpP4a+1UtuL4LDIpTjC3JftVruToF/eQIoSN2I= X-Received: by 2002:ac2:5dc7:: with SMTP id x7mr1222841lfq.24.1575339368011; Mon, 02 Dec 2019 18:16:08 -0800 (PST) MIME-Version: 1.0 References: <20191202211844.19629-1-enric.balletbo@collabora.com> <20191202211844.19629-2-enric.balletbo@collabora.com> In-Reply-To: <20191202211844.19629-2-enric.balletbo@collabora.com> From: Krzysztof Kozlowski Date: Tue, 3 Dec 2019 10:15:56 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] x86_64_defconfig: Normalize x86_64 defconfig To: Enric Balletbo i Serra Cc: "linux-kernel@vger.kernel.org" , Collabora Kernel ML , groeck@chromium.org, bleung@chromium.org, dtor@chromium.org, fabien.lahoudere@collabora.com, guillaume.tucker@collabora.com, "H. Peter Anvin" , Borislav Petkov , x86@kernel.org, Thomas Gleixner , Ingo Molnar , "Ahmed S. Darwish" , Geert Uytterhoeven , Alexey Brodkin , Andrew Morton , Ard Biesheuvel , Steven Rostedt , Marek Szyprowski 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 Tue, 3 Dec 2019 at 05:18, Enric Balletbo i Serra wrote: > > make savedefconfig result in some difference, lets normalize the > defconfig > No, for two reasons: 1. If running savedefconfig at all, split reordering items from removal of non needed options. This way we can see exactly what is being removed. This patch moves things around so it is not possible to understand what exactly you're doing here... 2. Do not remove options just because other select them in a blind way - via savedefconfig. As it turns out, some developers have different view on dependencies and they expect that defconfig *explicitly* pulls out necessary functions. IOW, they can safely remove any visible symbol dependency assuming that defconfigs are selecting this removed symbol explicitly. See: https://patchwork.kernel.org/patch/11260361/ (commit which removed DEBUG_FS - Marek Szyprowski will bring it back, I think, and Steven Rostedt answer) Best regards, Krzysztof > Signed-off-by: Enric Balletbo i Serra > --- > > arch/x86/configs/x86_64_defconfig | 90 +++++++++++-------------------- > 1 file changed, 30 insertions(+), 60 deletions(-) >