Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1365478pxb; Fri, 1 Oct 2021 09:07:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAQR3dmkUYkAA4nzf7WVcTFvd3JhyGgEPFJTCg1DyZE9T9Xdnw8IUiw+KOyNyHUgKMgmn0 X-Received: by 2002:a17:907:9605:: with SMTP id gb5mr7486471ejc.250.1633104473481; Fri, 01 Oct 2021 09:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633104473; cv=none; d=google.com; s=arc-20160816; b=nNHdkivWk74y2AJF7TsgPk64iTkPl4OhiK/G5qNTeroRdj21kdMiam3kX8ZyJkVD+w o18iuguzs3oKThmQgJmY1xGzudc0PazHsV8cw9Gg0NrbFnefMV3HP5C/6AvVWMJHi6Sy TRIkruBiJLK/O4ZcKoPv9rqzYnq408hZD6dSlZRwh8PMh/9JbEDdJHYzfqd2fKfXfzoQ 1N7PdyhXUQG66wKTtX3xt1T9S4zi3A8/il586MT3P0Fk6rAYJazTSMuz8qIVOH4oXxAy nTRoGkTbqj/5OrerHJ+2W88hk0UkNOIQrzaS31P1Of9BMDvhp5JEnee4uQ+6BmFVFQMh 251g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=hKJJyxKfKlMUnsJQnb0rUQ1STR9PowXhUmgvxDc7CMs=; b=Jn8z20Agh5+cmwpsGrtoPuNsItKRMT3s84iDi+FYp2fURm2KZRjXaDdrbna+JPGfLW 4QSrb/nz2IsErmVGXx9ERwbuZjTcOE5qVJN6RcWxQE8ZFoTiw2hGvMss8hmmoYwnKcud n+ZVE/PcPPg6k8b59332r/jXecMZx+wbJPJeXXrMoeGF07GBSmXVUwvJcxyXM8fV50PQ Wt7y1+3uoTbQK1c6Elur29Nb2W3a63PXXDr9dWRAW5kuLwHKhtQH6ipzUbM8ISsfdmYa CGjGEsDjyi2FsvmbWxosQjkegKDTxzObwaqOwogyYY4OtFQqBvOmr+ObA0AvRpwF8RLm G5/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lixom-net.20210112.gappssmtp.com header.s=20210112 header.b=2anNGonp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id rn3si4286888ejb.161.2021.10.01.09.07.25; Fri, 01 Oct 2021 09:07:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lixom-net.20210112.gappssmtp.com header.s=20210112 header.b=2anNGonp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231388AbhJAPpg (ORCPT + 99 others); Fri, 1 Oct 2021 11:45:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232036AbhJAPpf (ORCPT ); Fri, 1 Oct 2021 11:45:35 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08A1EC06177F for ; Fri, 1 Oct 2021 08:43:51 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id u7so8247297pfg.13 for ; Fri, 01 Oct 2021 08:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lixom-net.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hKJJyxKfKlMUnsJQnb0rUQ1STR9PowXhUmgvxDc7CMs=; b=2anNGonpk6hs8FlqG1SC8My+b2UdlFhDHFpjWBVsCzgG4MD2Z0f104AYFr4ttQKgMa gXLrXlXVbjadxdATVYvWyhjxjEgxl2TDelIGM1aCooJCZUu251aX1aFWQVqVweJ6dhxW a2wVagSMdYQ+Tyj0HGjlBu/NZBxNKVFKB3BTncmFd12ouz1i2ORmu/DcB79scqa7Feks 59POqpGvntpWMKJ7nbwCmLRDDVJy6Y/nqJXw+caWSi3tD4yejfM6TWbgE27UxE2UpXR+ 5S5hqQ4oTRWg0hGNBvCJJ8mWXTSMmuIm//yr8AaU1yaql8IW4ddKgJpTMXIDgfb2VpSS L7XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hKJJyxKfKlMUnsJQnb0rUQ1STR9PowXhUmgvxDc7CMs=; b=2QjtVo2Kdkd8mdL1mXgFoKTE8fi2WT7zlAmXr/UMDdrGDjmcRQ6WBde0lT1SA6oMRx zmvPlHQGZ6V/qaodKDYmKH7hJikWrWtC1uJmMlMNnGGdRywtRTkSkZ20S1IOL9h3awHe OJtqa7UiR7V/ZxfJvDt32k6ScsKthn1lvd4YOrmrpZewwnH35l5QWup9pbuQ5uzr3Q+S K69vE1Td36EuEgJKqCQDSzCzeK1i4MD34tkHVASptCF9jzfGWrYVgcYBCVKTJLzcxq06 Og6XmKVobXF0jT2dRuqiE9sISIoz87OGponKsagWhLff0mo+dfXqqumB1pm9J5or9wuK bOOA== X-Gm-Message-State: AOAM533QRWMOCs9Y9+OCbkVDZFL4X4t4JxABr5JQtcdjiKw2MmkarMYC iONWoKGQ/NjwojsLhv65NvkCe3xPVEgJf3DxHbD2IQ== X-Received: by 2002:a05:6a00:16cb:b0:44b:bd38:e068 with SMTP id l11-20020a056a0016cb00b0044bbd38e068mr12021599pfc.34.1633103030346; Fri, 01 Oct 2021 08:43:50 -0700 (PDT) MIME-Version: 1.0 References: <20210928235635.1348330-1-willmcvicker@google.com> <7766faf8-2dd1-6525-3b9a-8ba790c29cff@canonical.com> In-Reply-To: From: Olof Johansson Date: Fri, 1 Oct 2021 08:43:38 -0700 Message-ID: Subject: Re: [PATCH v2 00/12] arm64: Kconfig: Update ARCH_EXYNOS select configs To: Lee Jones Cc: Arnd Bergmann , Saravana Kannan , Will McVicker , Krzysztof Kozlowski , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Sylwester Nawrocki , Tomasz Figa , Chanwoo Choi , Linus Walleij , Alessandro Zummo , Alexandre Belloni , John Stultz , Thomas Gleixner , Geert Uytterhoeven , "Cc: Android Kernel" , Linux ARM , Linux Kernel Mailing List , linux-samsung-soc , linux-clk , "open list:GPIO SUBSYSTEM" , linux-rtc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 1, 2021 at 5:31 AM Lee Jones wrote: > > On Fri, 01 Oct 2021, Arnd Bergmann wrote: > > The vmlinux file is clearly too big and includes too much stuff that should > > be in loadable modules > > This for me is the crux of the matter. > > The ability to replace modules was only brought to light as an "and > also, this is possible". However in retrospect, given the attention > this has received, it probably shouldn't have even mentioned, as it's > not that important. Too late, unfortunately. I would actually argue that given the benefit of needing more vendor engagement upstream for GKI to be smooth, it's in our interest to welcome those engagements and make the most of it and help vendors get there, and it's against those interests to make it easier to be out-of-tree if it comes at the expense of our in-tree users and maintainers which this does. > We should focus on the benefits of making parts of the kernel modular > if technically possible. The most prominent of those is core binary > size, since this has a direct impact on boot-time and RAM usage. The way forward here should be to focus on the problem that needs to be solved (vmlinux size) and not overly fixate on whether this patchset is what needs to be merged to reach there, given the downsides observed. I'm not saying let's not improve vmlinux binary size, but this particular approach isn't appealing. > Reclaiming dead code after boot is certainly one way to tackle part of > the problem. Ensuring that it's not even loaded into RAM in the first > place is a better more encompassing solution to both issues IMHO. See my reply to Arnd; the reason some of these drivers aren't modules today is because they are needed during early boot to bring the platform to a stable operating point. Work on fixing the binary size is terrific, but this approach seems to be shortsighted and it's been done in a way that rubs the maintainers the wrong way. -Olof