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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C36CAC54EAA for ; Sat, 21 Jan 2023 20:27:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229673AbjAUU16 (ORCPT ); Sat, 21 Jan 2023 15:27:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbjAUU15 (ORCPT ); Sat, 21 Jan 2023 15:27:57 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73A3D14229 for ; Sat, 21 Jan 2023 12:27:56 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id f12-20020a7bc8cc000000b003daf6b2f9b9so8046093wml.3 for ; Sat, 21 Jan 2023 12:27:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2gYor4MITA5uSMYoCpBNwX+bgrx2iZsvrgpEb0qchBs=; b=L38lHgm0yzSqIA94fztSf77pU+UWyIqPmMmeYS+7omaI3yKNXTgeliVz9rPHRvMHyL iveL1RRXOnAZr7elw2jS5ZpA8j6wqP5zxK8kLzbI19XcTwgorCW/IHc5GzR3d1Mnwfhr m1nlUWbnD0QyyYBBIumrmNHzFk+jUir9ZiffBt8kpUkjp5+8cpWRi19u2UGVfGS5Q2Bg IwrosQ+z/+pki2591R900Wp+4eHBggrjZtA749vkdUZsGgr87VzLn0QQ9nCNioK57V+n TEPyUqwOv5rpjuvtSC81qx4StFWdgh9hhQ40u+obs8nkkoe8eEz0AOR4lEAeLLZK/++0 6OdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2gYor4MITA5uSMYoCpBNwX+bgrx2iZsvrgpEb0qchBs=; b=Pvt7v8d0W/5FkEiEP+rq735HQQSCJayRGVJ307YXt9wMOjDcj98vASD5iXIH2Yiy/U yKWbYX8CQqJEYwfsYZNmBsnujCG0EMmSQRSBtZ1bPqisWa1Ix7OTwciC/sil7a3P2GzK nygHIoOFA1vif/bnpWou4rHtJ4RWMsBh7nCQUAZoCQ/0k1rRSxLuXpGPSvmYneaTK0oy WzCSWayiAV9Z94+gYtHEZs5UakGbDyaZFYZ1vhDVfWI+aVTIwsgewU1vl5Y3y39GkFbQ /upkSo+St1eI94eavAasXONJo2KiVaH1H3QUsDyusVFo5k41FF1WOOKHEBWth2jgogSX NhwQ== X-Gm-Message-State: AFqh2kr/kveLd7X9A3vfeGTeINRzujeFVl6AoegpXyJvriNTcMRJxXW3 6QkN2EF0/oNTB9BXMWIAkbc+3+BuyOjzznnK X-Google-Smtp-Source: AMrXdXtiemP2u4lmD7Dy1eRfHpYZQ84FNIvfGnxxFc7ySjWlCL9N0sMPVS2vqhS1eggWqZrXD1CsqQ== X-Received: by 2002:a05:600c:3b84:b0:3da:fd7c:98b3 with SMTP id n4-20020a05600c3b8400b003dafd7c98b3mr18322184wms.25.1674332874942; Sat, 21 Jan 2023 12:27:54 -0800 (PST) Received: from [192.168.1.109] ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id d19-20020a05600c34d300b003a6125562e1sm6201659wmq.46.2023.01.21.12.27.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Jan 2023 12:27:54 -0800 (PST) Message-ID: <3114bdeb-c8eb-3a3a-0d68-ca3370ce64ec@linaro.org> Date: Sat, 21 Jan 2023 21:27:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH 8/9] ARM: multi_v7_defconfig: Add options to support TQMLS102xA series Content-Language: en-US To: "Russell King (Oracle)" Cc: Alexander Stein , Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Olof Johansson , Shawn Guo , Li Yang , Marek Vasut , Marcel Ziswiler , soc@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <20230119144236.3541751-1-alexander.stein@ew.tq-group.com> <20230119144236.3541751-9-alexander.stein@ew.tq-group.com> <2168770.1BCLMh4Saa@steina-w> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 20/01/2023 15:57, Russell King (Oracle) wrote: > On Fri, Jan 20, 2023 at 12:35:41PM +0100, Krzysztof Kozlowski wrote: >> Defconfig=y is only for critical stuff needed to bring initramfs. Time >> is not needed for initramfs. > > Are I2C drivers "critical stuff"? What about AHCI drivers? What about > all the USB HCI drivers? USB Storage can certainly be loaded from an > initramfs, yet it's =y. LED triggers? Loads of RTC drivers that are > marked as =y? XOR drivers? VIRTIO drivers? Filesystems? I seem to > remember Red Hat sets even popular filesystems to be a module in their > kernel. Almost all your answers above - these should be =m. USB not always, because it is used for USB Ethernet adapters which is used for network boot (although even then initramfs comes with actual drivers...) > > Clearly, "defconfig=y is only for critical stuff" is rather false in > practice, and I suspect is little more than a desire rather than a > rule. I suspect it's more "defconfig=y is for stuff that makes most > platforms successfully boot without an initramfs". Yes, that's true, although there was already pushback against this. Having an initramfs is not a big deal and nowadays I think all new ARMv8 platforms use it. Anyway this talk here is about RTC which is not needed at all as built in. Best regards, Krzysztof