Thread (49 messages) 49 messages, 4 authors, 24d ago

Re: [PATCH net-next v7 08/14] net: lan966x: clear FDMA interrupt stickies after switch reset

flat view

From: Simon Horman <horms@kernel.org>
Date: 2026-09-23 09:01:37
Also in: bpf, linux-arm-kernel, lkml

On Fri, Sep 18, 2026 at 01:34:00PM +0200, Daniel Machon wrote:
When in PCI mode, the GCB soft reset issued by the reset controller
can latch spurious bits in the FDMA error stickies. The latched bits
sit in FDMA_INTR_ERR until the FDMA IRQ is requested later in probe,
at which point the handler fires immediately and WARNs.

Clear FDMA_ERRORS, FDMA_INTR_ERR and FDMA_INTR_DB right after the
switch reset so the FDMA comes out clean and the IRQ handler does not
see ghost errors on probe.

The clear runs on both the PCI and platform paths. On the platform
path it has no effect — there are no spurious stickies to clear — but
keeping it unconditional avoids a PCI-specific code path here.

Tested-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help