[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <30d79989-749a-4d4b-993a-18f3e0bc786c@bootlin.com>
Date: Tue, 27 Jan 2026 20:42:49 +0100
From: Maxime Chevallier <maxime.chevallier@...tlin.com>
To: "Bastien Curutchet (Schneider Electric)" <bastien.curutchet@...tlin.com>,
Woojung Huh <woojung.huh@...rochip.com>, UNGLinuxDriver@...rochip.com,
Andrew Lunn <andrew@...n.ch>, Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Richard Cochran <richardcochran@...il.com>, Simon Horman <horms@...nel.org>
Cc: Pascal Eberhard <pascal.eberhard@...com>,
Miquèl Raynal <miquel.raynal@...tlin.com>,
Thomas Petazzoni <thomas.petazzoni@...tlin.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next v4 1/8] net: dsa: microchip: Add support for
KSZ8463 global irq
Hi,
On 27/01/2026 10:06, Bastien Curutchet (Schneider Electric) wrote:
> KSZ8463's interrupt scheme differs from the others KSZ swicthes. Its
> global interrupt handling is done through an 'enable irq' register
> instead of a 'mask irq' one, so the bit logic to enable/disable
> interrupt is reversed. Also its interrupts registers are 16-bits
> registers and don't have the same address.
>
> Add ksz8463-specific global interrupt setup function that still relies
> on the ksz_irq_common_setup().
> Add a check on the device type in the irq_chip operations to adjust the
> bit logic for KSZ8463
>
> Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@...tlin.com>
Reviewed-by: Maxime Chevallier <maxime.chevallier@...tlin.com>
Maxime
Powered by blists - more mailing lists