From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.5 required=3.0 tests=BAYES_00,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0824DC433F5 for ; Tue, 14 Sep 2021 12:10:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DF13860ED8 for ; Tue, 14 Sep 2021 12:10:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232422AbhINMLW (ORCPT ); Tue, 14 Sep 2021 08:11:22 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:40687 "EHLO mail-wm1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232065AbhINMLU (ORCPT ); Tue, 14 Sep 2021 08:11:20 -0400 Received: by mail-wm1-f48.google.com with SMTP id b21-20020a1c8015000000b003049690d882so1861282wmd.5 for ; Tue, 14 Sep 2021 05:10:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JC+0egzoxCxJUo8E1fbA/DfFivG3yL6BUgvb6VoV5CU=; b=3QERxThl2pIri5xi0Q/kqcc1kavZ3s3Kps3/1RSdkZOSdWgkqu/K6tJZ5x9Pzl2rc6 yFX8pwMxsFNSg+3hXbeuBQOjjcqW7hbuyGHJZENAPv7irSsX3iAziTXrqYqGdY3HLsmH 1JoCfLXwt8P5FUfwBYjan+kJrbRcfsS6m/pL5HG83fs6i5QHoQ3Xmg8Rk+j9/6pj691r yuqF9B6XdWRj9Fq4BtL9RiE77YjPTGSFv9cxMB9JAh6/ooQ2yO1ziOuLa45HDgoJIAH+ fw3UgGeLRyIFWFmmw8nZgrTRpDxfMXt5QFcw/TPcqTPZTyU+qX3QX/ppltazahVasBMR dlDg== X-Gm-Message-State: AOAM530BKvhs11W1pbkTm13rJXSGkshaOJQE7wu23V+VqW/uJ6DFyzhI E1nrujFJe2foB8/zekhxKfk= X-Google-Smtp-Source: ABdhPJyXiOMLsQcId48736yD0d9P0Do+Tu3NqR6NebXOOXjYSNDBRPjQRirT5BlPGhLSChrAEirPWA== X-Received: by 2002:a1c:f00a:: with SMTP id a10mr1806704wmb.112.1631621402557; Tue, 14 Sep 2021 05:10:02 -0700 (PDT) Received: from [192.168.3.211] (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.googlemail.com with ESMTPSA id m29sm10925063wrb.89.2021.09.14.05.09.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Sep 2021 05:10:01 -0700 (PDT) Subject: Re: [RFC PATCH V4 6/6] riscv: soc: Add Allwinner SoC kconfig option To: Maxime Ripard Cc: Arnd Bergmann , Guo Ren , Randy Dunlap , Anup Patel , Atish Patra , Palmer Dabbelt , =?UTF-8?Q?Christoph_M=c3=bcllner?= , philipp.tomsich@vrull.eu, Christoph Hellwig , liush , wefu@redhat.com, =?UTF-8?B?V2VpIFd1ICjlkLTkvJ8p?= , Drew Fustini , linux-riscv , Linux Kernel Mailing List , taiten.peng@canonical.com, aniket.ponkshe@canonical.com, heinrich.schuchardt@canonical.com, gordan.markus@canonical.com, Guo Ren , Chen-Yu Tsai References: <20210911092139.79607-1-guoren@kernel.org> <20210911092139.79607-7-guoren@kernel.org> <20210913084520.kkbsupogkzv226x3@gilmour> <20210914101327.47baun6mop3mc56j@gilmour> From: Krzysztof Kozlowski Message-ID: Date: Tue, 14 Sep 2021 14:09:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210914101327.47baun6mop3mc56j@gilmour> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/09/2021 12:13, Maxime Ripard wrote: > On Tue, Sep 14, 2021 at 12:07:08PM +0200, Krzysztof Kozlowski wrote: >> On Tue, 14 Sept 2021 at 11:31, Arnd Bergmann wrote: >>> Some subsystem maintainers want drivers to be selected by the SoC >>> option, this is why you need the 'select SIFIVE_PLIC', but usually >>> the drivers are selectable with a 'depends on ARCH_SUNXI || >>> COMPILE_TEST' and enabled in the defconfig. >> >> I would say selecting drivers is even more useful for distros and >> other downstream users. Especially in the ARM world where we have so >> many different SoCs - how could a distro person know which driver is >> necessary, important or useful? Having all main SoC drivers enabled >> when ARCH_SUNXI=y, helps distro a lot. > > Imply, maybe, but select is far too painful for everyone else. If we talk about UART driver, then sure - imply makes sense. But if we talk about core SoC components necessary for boot (e.g. timers, clocks, pinctrl), then select is appropriate. There is no point to enable ARCH_XXX without these core components. Best regards, Krzysztof