Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp283877pxb; Thu, 30 Sep 2021 06:06:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyin6KiGrHQIVbAQ61iOin3Lfby0rD6EjUuHajowVaciGiTmR+orLP6hs89aQ8TrZWIhXt2 X-Received: by 2002:a62:7dd3:0:b0:447:dd44:1580 with SMTP id y202-20020a627dd3000000b00447dd441580mr4216721pfc.19.1633007218089; Thu, 30 Sep 2021 06:06:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633007218; cv=none; d=google.com; s=arc-20160816; b=u6tuEbvjnmYMzOkjrgIlHhDVa5vGoBYnyu2DpbJZ9WQL2Hce/O8cW9daXhQl6DdR9M CMAGRbOQlxOw0mzZV2e8MGv350kGl8Zc0uA31ZKRVANob1ctssvmHWnl74Rk+O5YrtYo IV/g2/h+yzR8KJOS088x1y3TLEof/VEX1M9eWOVCI5mSqxCXyx9b179IrgEwDYd6Ogo+ fgJif3XRlHUTA0/LRpC3/qudMKLksgWLvWvb97BREDvSJGwZHkEdBgS9+26GtzGBB/br K3TU+7joha3/34puO1qXPcU4QJEREIfB1jguVwmqWvY0aL1VkbxKUyh9oc2QrR+ydzPI qYVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=sI1mIG42y3NEuIaeyCkeJUiQ2a25iQMmIeBT19wOWsg=; b=t4igWOBDFJ8uObD1soeqz85D+BPgw6JWuMa+PAn+hWQnScOpdbkEUPB8Kkt2OpBMs6 rk/v7NTlPNd20RGLyi+TXiCAWd06kR/WqgVwZ2QzWC2/LjEhBlMOiWMpDPXlEJi+wYA3 1yj3m7xUHS2uVQMfzTmQrnmn/org5L5YTpUYrGSDf8wBC5UPzRj2VUC2v6qVWfg+JPSC LQJ1xtkE9O+ClWYzgiLUsXS5x9ffDdaX8oihNHpXMcG+VUF6T3FEPM7f3qOBNm0KypV4 HnL64FdAFv9L0OuEiqg3PJ7Ugh/sH0lUS/QU50lBnKcA5ti+fhyls/y+0MEvFg7CJ/hE s/Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ib51AfAq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g123si3468263pfb.111.2021.09.30.06.06.33; Thu, 30 Sep 2021 06:06:58 -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=@gmail.com header.s=20210112 header.b=ib51AfAq; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350282AbhI3LD1 (ORCPT + 99 others); Thu, 30 Sep 2021 07:03:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350262AbhI3LD0 (ORCPT ); Thu, 30 Sep 2021 07:03:26 -0400 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80D6EC06176A; Thu, 30 Sep 2021 04:01:44 -0700 (PDT) Received: by mail-il1-x130.google.com with SMTP id h20so6309886ilj.13; Thu, 30 Sep 2021 04:01:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=sI1mIG42y3NEuIaeyCkeJUiQ2a25iQMmIeBT19wOWsg=; b=ib51AfAqKfbbJA4QpJkaIteofQSgCDOZnD/g5j7+mriwhrwp/QYE7TvAqg4eg42aQA T6EPqGn5KaiNfpFaXbErMsPTQp68C7ow/ZnJeC/dvRxDSaOUKkdDyRwiQ4XIm+T6qdgj CtoEtTHPnTiiVjiHj8egzHaOxUfEpTT4+hZpyf+AuX3Vseh++/3hFCxLyLtENavfhN9X 68SowWtjYWi0rtXW9rzabJk1Ozj3vrH3shjsOiD5SsxNIgZFMgjnrFEUmV1GFeYOZwxb iLdknJloQarqcJsHti8OgFnj+PbqSHCwgUxkG7kvPZfaUHQ58tVAbJxzVKX8U/4kbcG0 lgMA== 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:content-transfer-encoding; bh=sI1mIG42y3NEuIaeyCkeJUiQ2a25iQMmIeBT19wOWsg=; b=QJpzokY9RhHBry9vHUbf426pmnFUjk+yMIwqp1Dqs3jQd7zsUMic5Ibhyn3apWtrG6 jExzerSQ6kX1QOCujwNxMHhNkZSmZmoH6WLdoOy2diCrBCuGB3OI/0kX782G5lXrqRJK 8Fp6eo0Bi8wc8zsZMTMmTcjO5X0+Dd0TzTcEt3TYhE6nx6vF7SK/17YRkfXZM111V2Vx 43ulZLreFxuacPeRQV+hWZGqJwQZw2pcKh5+FFyPt5V4mluNOyhjHxFXeVVEFZyWDMlY TrUIFJmY/GBEGOb7+JXjpHNNkY6ob7JxHSkynS/qCcTVc5YsnFSHB47yuRu6REkD6sjZ S/MA== X-Gm-Message-State: AOAM530l3vVwi69rxbLglVRX6EJSJltZj9iI/dDoq0UcQLUBU1QE5KQb w/ljdISrQzu7Mmolgo1jYYeoWMSTlHo2gYLHJdM= X-Received: by 2002:a05:6e02:b4d:: with SMTP id f13mr3585904ilu.183.1632999703831; Thu, 30 Sep 2021 04:01:43 -0700 (PDT) MIME-Version: 1.0 References: <20210928235635.1348330-1-willmcvicker@google.com> <7766faf8-2dd1-6525-3b9a-8ba790c29cff@canonical.com> In-Reply-To: From: Tomasz Figa Date: Thu, 30 Sep 2021 20:01:32 +0900 Message-ID: Subject: Re: [PATCH v2 00/12] arm64: Kconfig: Update ARCH_EXYNOS select configs To: Lee Jones Cc: Krzysztof Kozlowski , Will McVicker , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Sylwester Nawrocki , Chanwoo Choi , Linus Walleij , Alessandro Zummo , Alexandre Belloni , John Stultz , Thomas Gleixner , Geert Uytterhoeven , Saravana Kannan , "Cc: Android Kernel" , Linux ARM , Linux Kernel Mailing List , linux-samsung-soc , linux-clk , "open list:GPIO SUBSYSTEM" , linux-rtc@vger.kernel.org, Arnd Bergmann , Olof Johansson Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2021=E5=B9=B49=E6=9C=8830=E6=97=A5(=E6=9C=A8) 18:23 Lee Jones : > > I've taken the liberty of cherry-picking some of the points you have > reiteratted a few times. Hopefully I can help to address them > adequently. > > On Thu, 30 Sep 2021, Krzysztof Kozlowski wrote: > > Reminder: these are essential drivers and all Exynos platforms must hav= e > > them as built-in (at least till someone really tests this on multiple > > setups). > > > Therefore I don't agree with calling it a "problem" that we select > > *necessary* drivers for supported platforms. It's by design - supported > > platforms should receive them without ability to remove. > > > The selected drivers are essential for supported platforms. > > SoC specific drivers are only essential/necessary/required in > images designed to execute solely on a platform that requires them. > For a kernel image which is designed to be generic i.e. one that has > the ability to boot on vast array of platforms, the drivers simply > have to be *available*. > > Forcing all H/W drivers that are only *potentially* utilised on *some* > platforms as core binary built-ins doesn't make any technical sense. > The two most important issues this causes are image size and a lack of > configurability/flexibility relating to real-world application i.e. > the one issue we already agreed upon; H/W or features that are too > new (pre-release). > > Bloating a generic kernel with potentially hundreds of unnecessary > drivers that will never be executed in the vast majority of instances > doesn't achieve anything. If we have a kernel image that has the > ability to boot on 10's of architectures which have 10's of platforms > each, that's a whole host of unused/wasted executable space. > > In order for vendors to work more closely with upstream, they need the > ability to over-ride a *few* drivers to supplement them with some > functionality which they believe provides them with a competitive edge > (I think you called this "value-add" before) prior to the release of a > device. This is a requirement that cannot be worked around. [Chiming in as a clock driver sub-maintainer and someone who spent a non-insignificant part of his life on SoC driver bring-up - not as a Google employee.] I'd argue that the proper way for them to achieve it would be to extend the upstream frameworks and/or existing drivers with appropriate APIs to allow their downstream modules to plug into what's already available upstream. Best regards, Tomasz