Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp614909pxb; Tue, 14 Sep 2021 05:11:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwMhCSddZOBnRTIAnbJLqyHZtZluS8R748EkA/fo/WMhb9NARguHek1fjOeJtL4H7vdZNd6 X-Received: by 2002:a05:6402:40c2:: with SMTP id z2mr7593078edb.340.1631621518062; Tue, 14 Sep 2021 05:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631621518; cv=none; d=google.com; s=arc-20160816; b=J+sq0YLUkj50+6dv/R7/aeUTnoK8MFz5q0sveRD0ShW6x0jO4UsLN+x6GZQpKWDFlb tRs7+wVO47zwzA3Zc4SpSJLvzdYHLPhJZ6MTPMmEtD7FaaZ+UglU9xqgO6KCGvZM8bmM DI7VvTLlAmWuPTKtqLSzWupyGlAIRjbSpLaO5pX09vgTe8loPYc8z1hZ8H/lqrFow+xs xirde0GcIbMQWJe1w3ska7Zsd0bf6z001/UalxvSi1N4nGuTnpdBvWSL0kncJQSdEX8K eYwWXIdof1zeaS7rBpAxKtY5hamMn3n0MPd7uuGStsxT0CzFB9Hm5rQNbFXVkWIoICAV lujA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=JC+0egzoxCxJUo8E1fbA/DfFivG3yL6BUgvb6VoV5CU=; b=fPtdxDJtAsVeB3uYsxjbjeio2w0N3ZRKR4vDvURfxfITThv4jMhM9wbKHYTrLbglgR a4x9fHWyqQGyGOdkmasH9CDKEK0oQ6F/Gm2/p7Nv3w/zSua6EFUJY7AWQlkgbZ01Gw9D dW7Ds1WmNqjJxaJHKUVUwvDDE9HufEmijmIHDU9WYmBBTO8zQ7JENehm0vjMZQn18RIi oY2Fn1ri2I0J6+Mz35NNdmV6FxXwSGcVlnLyFbTBn0oFbWzZ+1OYgQEexS9Mj2uwtFmA 0cHuQa081dsfZ+eG0Re/Pl4nVvvfQCXBbgQIVxpGlDfFASzWPdxPiMXRZs7RrlkZzX1J +nsg== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ka17si10174869ejc.609.2021.09.14.05.11.32; Tue, 14 Sep 2021 05:11: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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232357AbhINMLV (ORCPT + 99 others); Tue, 14 Sep 2021 08:11:21 -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-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