Thread (19 messages) 19 messages, 5 authors, 2026-02-18

Re: [PATCH net-next v4 1/8] net: dsa: microchip: Add support for KSZ8463 global irq

From: Maxime Chevallier <maxime.chevallier@bootlin.com>
Date: 2026-01-27 19:42:58
Also in: lkml

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) <redacted>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>

Maxime
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help