[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <97d0e167-ef11-4cbf-a473-fb823d7b727a@lunn.ch>
Date: Mon, 19 May 2025 17:01:11 +0200
From: Andrew Lunn <andrew@...n.ch>
To: chalianis1@...il.com
Cc: hkallweit1@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux@...linux.org.uk,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
stable@...r.kernel.org
Subject: Re: [PATCH net] phy: dp83869: fix interrupts issue when using with
an optical fiber sfp. to correctly clear the interrupts both status
registers must be read.
On Mon, May 19, 2025 at 10:47:01AM -0400, chalianis1@...il.com wrote:
> From: Anis Chali <chalianis1@...il.com>
>
> from datasheet of dp83869hm
> 7.3.6 Interrupt
> The DP83869HM can be configured to generate an interrupt when changes of internal status occur. The interrupt
> allows a MAC to act upon the status in the PHY without polling the PHY registers. The interrupt source can be
> selected through the interrupt registers, MICR (12h) and FIBER_INT_EN (C18h). The interrupt status can be
> read from ISR (13h) and FIBER_INT_STTS (C19h) registers. Some interrupts are enabled by default and can
> be disabled through register access. Both the interrupt status registers must be read in order to clear pending
> interrupts. Until the pending interrupts are cleared, new interrupts may not be routed to the interrupt pin.
> Fixes: interrupts issue when using with an optical fiber sfp.
The subject is now correct, but the Fixes: tag is supposed to be a git
hash for when the problem was introduced:
https://docs.kernel.org/process/submitting-patches.html#describe-your-changes
Andrew
---
pw-bot: cr
Powered by blists - more mailing lists