Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3522605rwb; Mon, 16 Jan 2023 09:04:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXszAdu3ya8KNz6p7jKaifwCOJcPitBjP9bom4by/W2PFOy4suwthnR6GdvD9vSmNnXjgkcn X-Received: by 2002:a17:907:1b0b:b0:7c1:6344:84a with SMTP id mp11-20020a1709071b0b00b007c16344084amr123926641ejc.5.1673888691389; Mon, 16 Jan 2023 09:04:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1673888691; cv=pass; d=google.com; s=arc-20160816; b=ziTFoV/7Ev3uYIzAe1bvE8ZpV0PBn239sNgoPTdfdrN8dOpqV6DHv2itb42V4xpwvI 91lJeksjnIjsVL+PcJQJwKoowN/u/AShicYiTLizxraCBpMWccwV1hBu4lXd6alTAIpV jGT4VRlePHkz9/ThjYji+tJsxGb1HVEEZrAPyrDv//mpCFHK2X7s/er/16ybChJkS6pP sTESapvicLds24JMhAIzMe3xRI+WBuPx5/nY6Fxak9vVgQkjckqsqrqa1y8Y2Up0dXNV oCH7NgRDNkyjoo018/QP00sbAugMlyRwqi/pPxZd8c4/8peRIZ5iN0gNaSYzhSncW5WN Z4Qg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=AbbuHm7TvsAFiVwinj9rMZM8rW8kB0ZA+o+CqVXSWxM=; b=uZfyShNm/J299lmR31hNu/l+GdiwaxVrWBHISJRXqs1+wF8ILz4kay3akMtIjZkBW9 JbM8CqkIQfB+YnJQhVDDxu8ztm2xA2/zZGHAlIDoX6HD4vQbhHL4K+/onomE9GmZrI2T wSkY4L16Y1GQ+gbM6u0J7ibwH6gSglGywbTDhOJ+vg0NYS1Qm7UtXgnTTVGpE4eSmudN ooPDBPe2RJNYe5ZBh3fl89Bh78qKXx4pY2h4dS6zHPtq/gCSgS9Hi5xLoFI9E0EGi8cB s3z1FF5l2aBi8w14ec/9CKlEdKYf+IdHvN+cUmrk0+z/+6w1t+WpLIOGyldsnUfp33TN lu+g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=tuMfb8OK; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga36-20020a1709070c2400b0086f010dcb67si6116548ejc.428.2023.01.16.09.04.37; Mon, 16 Jan 2023 09:04:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@goldelico.com header.s=strato-dkim-0002 header.b=tuMfb8OK; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230509AbjAPPhc (ORCPT + 50 others); Mon, 16 Jan 2023 10:37:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231138AbjAPPhL (ORCPT ); Mon, 16 Jan 2023 10:37:11 -0500 X-Greylist: delayed 180 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 16 Jan 2023 07:35:41 PST Received: from mo6-p01-ob.smtp.rzone.de (mo6-p01-ob.smtp.rzone.de [IPv6:2a01:238:400:200::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 498551F92B for ; Mon, 16 Jan 2023 07:35:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673882970; cv=none; d=strato.com; s=strato-dkim-0002; b=nZsUYF7ikucQF7DLMPbDxMOc8KZ6VR6W5bqBqEbZHFkQs+T4cbHZxFsTdMA6WtYqf/ NdYK7qAc84VFSOKEbPUiHbxMy7ASuQQWule9V1yKBPiT5zziR8CEZ/SK+rgMk022x4g3 CU9X2i3tQ9WTczlIH0LQ/QGeltAnaSwg7066eR8SURA+rLzI4XzMeeE3nS2oYnJFAcL/ VwwALj5URohYRKx0MMeVGh+3UYl7vb53uOFWX5Uq6QAlpYSne2uMvOyW7WEWEyMD9idB gczSx1eTO2Ot9CwYgz8UPuPDpAmFO7/e+ti1ilWuX7mFJ6jAkrZUHtQwNAyfNe0NG//D rIRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1673882970; s=strato-dkim-0002; d=strato.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=AbbuHm7TvsAFiVwinj9rMZM8rW8kB0ZA+o+CqVXSWxM=; b=SZMZKlPURtMGL6bF2SoTarIVEatMgvPrYieXLW6siZRvHXPROToNOnSNDW/b6rUAEh zJu+Mbki39WDVfnpg/pwol+i7e5gaBhfaEF7jnWHVbujocQYsoe4/mDf0a8UM7L3tBHY wlmfPEtZ+BEGpSOkax/GAv3S0yfVrXYuWSyr4vtsaIWPW7Z3DrXx9yiKelFUfeLEgEyu EmyOrFdL0YlzIKkrlE5f8Vs2cn6U9C5e+9UCUgntXsejK5UIAA8aDAoHfRGhn2NzoIw+ zMoDfoY4gStUfeuMVjCdjKGztr8zQbm0h6bVGuPzcXt8M4RTWHHznGGsqt/S8fTn19ru 85mQ== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1673882970; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=AbbuHm7TvsAFiVwinj9rMZM8rW8kB0ZA+o+CqVXSWxM=; b=tuMfb8OK84jk6v/Vc+Obyemg4XLn1FK/6P2w9+auAZ/uQJlmuwyU+CzGfPSbeYgNZx 44OV46vPa1ppgsNz1PzNgqteqqszDzf4T6EJUMGT3tbo1hEX1oGU1ZUOaHFtKN6e2uPg Ixv+bHs+2kBo6rUb3CB4SXCENnh8t5jaAm3xgAm2cdKsCxkJfmWosIhdklUcXsNp7fgx rLK0yaYBlCKm1yv4KRDF4NK+hcp0LTcRg40jf3vlHswkJAcnUiaIilYQrniGAXdoJ9LE f5G4e7lR5zcbDKTMrgclPFBe2Y+Ra0+l9C2DSLUrXwBan3BS4WCzwtNCYWSA/whECWEw bw1Q== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5Apz9PSN6LgsXcGfpGU=" Received: from imac.fritz.box by smtp.strato.de (RZmta 48.6.2 DYNA|AUTH) with ESMTPSA id Q5ca1cz0GFTUL7n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Mon, 16 Jan 2023 16:29:30 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH] ARM: dts: gta04: fix excess dma channel usage From: "H. Nikolaus Schaller" In-Reply-To: Date: Mon, 16 Jan 2023 16:29:29 +0100 Cc: Adam Ford , Andreas Kemnade , =?utf-8?Q?Beno=C3=AEt_Cousson?= , robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-omap@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Message-Id: <4EFDE2C4-0BBB-4804-AA46-C40EB0D97AC4@goldelico.com> References: <20230113211151.2314874-1-andreas@kemnade.info> To: Tony Lindgren X-Mailer: Apple Mail (2.3445.104.21) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > Am 16.01.2023 um 15:51 schrieb Tony Lindgren : > > Hi, > > * Adam Ford [230116 14:16]: >> Would it make sense to make this default in the omap3.dtsi file and >> enable them in the individual boards that need it? > > In general disabling the unused devices by default for omaps will break > the power management. The disabled devices are completely ignored by the > kernel, and the devices are left to whatever the bootloader state might > be. Yes, indeed. > For SoCs using firmware to manage devices it's a bit different story > however. The firmware can still idle disabled devices based on a > late_initcall for example, even if the kernel knows nothing about the > disabled devices. But how can we then handle all devices being "okay" by default and eating up more dma channels than are available? We can't put all under power management AND dma by default. Or can dma channel usage be postponed until the device is really used? BR, Nikolaus