From mboxrd@z Thu Jan 1 00:00:00 1970 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 986BD31355B for ; Thu, 20 Nov 2025 10:05:50 +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=1763633151; cv=none; b=Bf6jHtS14HtpJznznraBQsaVo5QQJyEd5uR2EW82PqpaLAi/HSyiI7y9nN3FLDFJNreUxecK3Zi+UlStQBCLfpR2yJRdxfN7vfodd+82MoOVUnBgC1aLRrzdZMqAlqoI/YdLf0c/U8pQgK6tuv+FR00TS6maDc8i/rpPN4HLWjk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763633151; c=relaxed/simple; bh=vMghPovkhQw6tivt57mVVvNBm3XnZqhpjKCNtHi4dyw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y1yy2XO2Ph3O4OqzheOMlgiRIAlJ0ZGfcWFcMNCD3ISBAGpciTQ9bfxVIOk7um1jU4NYG4mmbqBqCvsOO9iOIlGUGmrfOuzXA9DyMR+vhdve8LLloDljM2+pvjCHoywz9Qu4UFYspYJnnMh6ErzPO5D/ILauBK+T1oflrBKZ1xk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YUw3yLVz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YUw3yLVz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6408CC4CEF1; Thu, 20 Nov 2025 10:05:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763633150; bh=vMghPovkhQw6tivt57mVVvNBm3XnZqhpjKCNtHi4dyw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YUw3yLVzkCnhfgea52J02hCu7VTJL/31ccP2PorEF4XhnV9QEREXEU1sqqkzAW7+G +IYERAO3tgr8qigL/3vaCPxw4puhM8WV6GyKXZPDypTh7r2UZU4+SidSI1gzlLxIAU GGI+c1TVoYJFte/uKRrzK7bLAoHCZAt8tA4OQAmq8NZ1SyT8cDn9cjlJtKLJ3trHVT JlMp4nQ87X6RzZke+TMNbpEdQiQurbZGle28lKRR8FA8xj5y/b7gzHc0HcExtunW/t kjobnWBt03UCVucq2E3TMfPPNYcgBc7Du15RgYsrJJoGC8YccL8oW2gB05sL5t8W+B DryNgppmezInA== Date: Thu, 20 Nov 2025 10:05:45 +0000 From: Lee Jones To: Markus Elfring Cc: linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Angelo Gioacchino Del Regno , Hsin-Hsiung Wang , Matthias Brugger , LKML Subject: Re: [RFC] mfd: mt6358: Using a single IRQ array instead of two companion arrays? Message-ID: <20251120100545.GX1949330@google.com> References: <84ddee3b-df7b-4022-a864-66da95283394@web.de> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <84ddee3b-df7b-4022-a864-66da95283394@web.de> On Wed, 19 Nov 2025, Markus Elfring wrote: > Hello, > > I have taken another look also at the implementation of the function “mt6358_irq_init”. > https://elixir.bootlin.com/linux/v6.18-rc6/source/drivers/mfd/mt6358-irq.c#L227-L293 > > I see that there are two arrays allocated so far. > How do you think about the possibility to use a single array with the needed data instead? It'll be easier if you just submit the patch. -- Lee Jones [李琼斯]