Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp543605lqp; Tue, 11 Jun 2024 11:44:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVUopT6upBmXWz71u+9Z2jka29XqFnOyj/7sxN0vnbjT5SAPyc5XMgwvzt2yAjOiNCWT8SglP3NloSKno1JpmgE5UJQn6awVUVM+zx7+Q== X-Google-Smtp-Source: AGHT+IFzHdulT/x3dv4eWxlCDRwq7h4ChDXhgHFVxy6+vZ6wFC5ZXOpU5nuTB3eY5Ri+Vyh8y2hk X-Received: by 2002:a17:90b:4e83:b0:2c2:db4d:5528 with SMTP id 98e67ed59e1d1-2c2db4d5c86mr8260723a91.44.1718131461636; Tue, 11 Jun 2024 11:44:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718131461; cv=pass; d=google.com; s=arc-20160816; b=rR6TQT47Qp5iowiQufXWGoon8EFMFg4e9cGlecYKJV8Nx6UbrcRZflusFUxCFqbPSY maINIfo9FIkrDccchh/dRixRGWaQ3D9KsnM7/tZ6u7YyRuzCUt4p1z49v5sDyxyXb2GP Zlxt5MrT3BWXKB7FY1V59oSQroOYE/rdWeG82lFF6vr2//85NMHhYBYSY8SD3v9QmhKx NnFTViOlS12JX8YUgVv0clhQ+1/wuE+0g7KD0uGKcfw503Ru9VO8Z4VJpax2oJLOauLq 2euyTQZzJX/F8Yjaytsyk4ztemV6Ee5lZpHamCZ8+aT8J5fiKjhJKNK0gp32+Z/QHvRc q2Pw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:subject :references:in-reply-to:cc:to:from:dkim-signature; bh=LIhwojQf6vbLV5Yz0TkGs+4Ed0Qgeeqg4V/UzAFOudw=; fh=nVaH1+/1RbD6WUk//eOjwVxQ3bDu+X6pwLPKw/+TXWw=; b=fTIHYrrRxoz12r5QevWEI5eDDqUjOWvZHnZGajRJea+I5zzQJ86NbpKgmfh/e0aT3y PbMNJzvlxpbTUGRPhS/pE4vILSOYnlDckQ5A3sVeL7nKwG0jiNUi8JgilJ1n/Jjji46p ZczVTfLxvfkw5s2mCoSID2mDZZZ8vec9Cc/Yhg79nlGs3OUhyka1okQMJhFiVOOHtcZ2 YdXJ0OTOdRTt3HwW6fC35NMrlEyHt3E4UAOUUeZAiIzdCI+u74/7yv2IXw2DNvqeKE/6 d0yDjjpHU9GxQukFmdZ+1Thi+/15F0uqvFF2U2TczFV7/mjnUw4lThtDnpJndY1FspLt AuOg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qaDttzYO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210435-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c2d0e2a6d3si5835573a91.25.2024.06.11.11.44.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 11:44:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-210435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qaDttzYO; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-210435-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-210435-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 35152B275DB for ; Tue, 11 Jun 2024 18:31:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 73BE915574B; Tue, 11 Jun 2024 18:28:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qaDttzYO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9A70D1553B4; Tue, 11 Jun 2024 18:28:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718130501; cv=none; b=oMXl9OKIOT0SOtnv4V9e7eWHXmgV7ZBx1qhUHokyE4H7lUj+elmluM08XSXA8pem2wZeuiJved/B9YvO+Qfl21lNEoqSKAjgytk5EDZzEBGcNdzUrW7MJpeAm+uQjGJbce2nL//Waxnb30qYnJda7Pvz10XWELIqAnT2tPPkqxo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718130501; c=relaxed/simple; bh=wfA1da30CmPTkWYaNNBASZzD3aUSgxiND7E14LbAT5M=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=bzmxJ9NI3I97e+V0L85dPH4FtQcif4o0W5w9nYG9hZfDlae++ERW5J0WpnAATX/02Z4cpoHHXMBt/DiZlBFYfKA63pb7TPVnliqla2f6bBZFwBU20IEv6h8NW7dJpvZmZkMKqtAjNRFtsXOEyiZpLUpm+xqg3uk43YzaS98XLG8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qaDttzYO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B6C5C4AF48; Tue, 11 Jun 2024 18:28:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718130501; bh=wfA1da30CmPTkWYaNNBASZzD3aUSgxiND7E14LbAT5M=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=qaDttzYO8KhPqwi3yEvixBOU6k0bvmQG/aBYzGkDPxF7MQWh5QPvsSaZUTYVXQF8U EwUkINyZGtzrRuGtI6lsioR3lcFfws2smpC/06YTmk6Fh7Qk7LMe57xl0qVdcLHOwG 0H802/Ffht7vphtDI8gIJMznYMiwSgWpbKIGLTZ3qywmHDjJWnMpaZ1MzkJUhK+M3/ Zk30zjVkwqLxp3/VW3HvWXsyIs4vzX8gcUwTCh8XUfHmIjvoWmPJc3yLz2Ev4LjMFW cLvUJMxy7WhTuy1nvcS1GKJ4fgek/Gs8DAwYqtSOIKLP0DcsuhPFzvGlO6upy6q0VE jsQUtyM53CCdg== From: Vinod Koul To: imx@lists.linux.dev, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, Frank Li Cc: imx@lists.linux.dev In-Reply-To: <20240603152317.69917-1-Frank.Li@nxp.com> References: <20240603152317.69917-1-Frank.Li@nxp.com> Subject: Re: [PATCH v2 1/2] dmaengine: fsl-edma: request per-channel IRQ only when channel is allocated Message-Id: <171813049980.475662.10470435420085877416.b4-ty@kernel.org> Date: Tue, 11 Jun 2024 23:58:19 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13.0 On Mon, 03 Jun 2024 11:23:15 -0400, Frank Li wrote: > The edma feature individual IRQs for each DMA channel at some devices. > Given the presence of numerous eDMA instances, each with multiple channels, > IRQ request during probe results in an extensive list at /proc/interrupts. > However, a significant portion of these channels remains unused by the > system. > > Request irq only when a DMA client driver requests a DMA channel. > > [...] Applied, thanks! [1/2] dmaengine: fsl-edma: request per-channel IRQ only when channel is allocated commit: 44eb827264de4f14d8317692441e13f5e2aadbf2 [2/2] dmaengine: fsl-edma: remove redundant "idle" field from fsl_chan commit: bb160502a45440d2b52c189d5a81365c01b8d494 Best regards, -- Vinod Koul