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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8FC6AC61CE8 for ; Sun, 15 Jun 2025 12:04:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=XRcdvBt0CthVJmnj/dbaqQtXhJV7sGdCW7ml88MPC1U=; b=lC5vMSPW63ZfKTNBrcV84y+o3u Qa7gV9bDYGQtAhM2RM0ZgHsgpkLtg0Nwwpr+5q2a90nYm2nxY9TJ0XdtQF7tF6nNGB2x8Lby5h+au aIqGnYyBzKfCBuk7aLlj1RRcGSxaT8jXHOstTHrgy2e4dCf5mfXgEaYni5yprlQxUAvh6sNbRNsGU MzLIu8D8eItm8vjV5+eU7n5q+ey1vpzJDRu0/LjJI2Iz6NBDfBaOAZJ6Ys9FgtG8NwWExR2WrYXVA jYBsR++7DxwDmWKhrwatjmSCEQ7H6owdHITK2bHBb8tXfuSlAGNAK02n5MFMgJzBdj+BkMX/v8jpM Sr5RlWTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uQm6L-00000002TZi-3oT7; Sun, 15 Jun 2025 12:04:41 +0000 Received: from mxout3.routing.net ([2a03:2900:1:a::8]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uQm48-00000002TTl-0pxJ; Sun, 15 Jun 2025 12:02:25 +0000 Received: from mxbox2.masterlogin.de (unknown [192.168.10.89]) by mxout3.routing.net (Postfix) with ESMTP id D1E5F6028B; Sun, 15 Jun 2025 12:02:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1749988942; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XRcdvBt0CthVJmnj/dbaqQtXhJV7sGdCW7ml88MPC1U=; b=FlBhO5D2z9tg6W1gK4eedfxgObCDzADaUVoNpqI4mUbuJo2B9TDQMwJHp5qyUby+9IaLjC 7CqRrCj/VLERiAuYikxrK8EwdtpC7gdJu+ZGVSZ+EsTQKM+CKTRd1KNvrH+aEqrbvr2AgO EwwRI18V5VA9KByMltAqfQujCGs6WMU= Received: from webmail.hosting.de (unknown [134.0.26.148]) by mxbox2.masterlogin.de (Postfix) with ESMTPSA id EDB97100506; Sun, 15 Jun 2025 12:02:20 +0000 (UTC) MIME-Version: 1.0 Date: Sun, 15 Jun 2025 14:02:20 +0200 From: "Frank Wunderlich (linux)" To: Lorenzo Bianconi Cc: Daniel Golle , Felix Fietkau , Sean Wang , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Frank Wunderlich , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Simon Horman Subject: Re: [PATCH v2] net: ethernet: mtk_eth_soc: support named IRQs In-Reply-To: References: <20250615084521.32329-1-linux@fw-web.de> Message-ID: X-Sender: linux@fw-web.de Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Mail-ID: 982a129f-54e7-4806-9863-06e9150fd816 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250615_050224_407620_7F228BAA X-CRM114-Status: GOOD ( 16.75 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am 2025-06-15 12:13, schrieb Lorenzo Bianconi: >> Am 2025-06-15 10:57, schrieb Lorenzo Bianconi: >> > > From: Frank Wunderlich >> > > >> > Hi Frank, >> > >> > I guess my comments on v1 apply even in v2. Can you please take a look? > > sure :) >> Am 2025-06-15 10:57, schrieb Lorenzo Bianconi: >> > > From: Frank Wunderlich > I am fine to have it in a separate patch but I would prefer to have > this patch > in the same series, I think it is more clear. I added changes for your and daniels comments to my repo (top 2 commits): https://github.com/frank-w/BPI-Router-Linux/commits/6.16-mt7988upstream/ i would squash daniels suggestions in this patch here (MAX without __ and fixed value of 3 to use for the loop - i guess this was intended for this purpose) and then the change for index in second patch. >> > Same here, if you are not listing them in the device tree, you can >> > remove them >> > in the driver too (and adjust the code to keep the backward >> > compatibility). i plan to use named IRQs on mt7988 without the reserved ones (only rx+tx + RSS IRQs), and loading not index based. >> afaik i have no SHARED_INT board (only mt7621, mt7628) so changing the >> index-logic will require testing on such boards too. > > I think the change will not heavily impact SHARED_INT devices. I hope so ;) > Regards, > Lorenzo regards Frank