Re: [PATCH net] net: phy: ti: take into account all possible interrupt sources

2021-03-01 Thread Jakub Kicinski
On Mon, 1 Mar 2021 10:21:14 +0200 Ioana Ciornei wrote: > On Sun, Feb 28, 2021 at 12:00:27PM -0800, Jakub Kicinski wrote: > > On Fri, 26 Feb 2021 17:30:20 +0200 Ioana Ciornei wrote: > > > diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy/dp83822.c > > > index be1224b4447b..f7a2ec150e54 1006

Re: [PATCH net] net: phy: ti: take into account all possible interrupt sources

2021-03-01 Thread Ioana Ciornei
On Sun, Feb 28, 2021 at 12:00:27PM -0800, Jakub Kicinski wrote: > On Fri, 26 Feb 2021 17:30:20 +0200 Ioana Ciornei wrote: > > diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy/dp83822.c > > index be1224b4447b..f7a2ec150e54 100644 > > --- a/drivers/net/phy/dp83822.c > > +++ b/drivers/net/phy/

Re: [PATCH net] net: phy: ti: take into account all possible interrupt sources

2021-02-28 Thread Jakub Kicinski
On Fri, 26 Feb 2021 17:30:20 +0200 Ioana Ciornei wrote: > diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy/dp83822.c > index be1224b4447b..f7a2ec150e54 100644 > --- a/drivers/net/phy/dp83822.c > +++ b/drivers/net/phy/dp83822.c > @@ -290,6 +290,7 @@ static int dp83822_config_intr(struct phy_

[PATCH net] net: phy: ti: take into account all possible interrupt sources

2021-02-26 Thread Ioana Ciornei
From: Ioana Ciornei The previous implementation of .handle_interrupt() did not take into account the fact that all the interrupt status registers should be acknowledged since multiple interrupt sources could be asserted. Fix this by reading all the status registers before exiting with IRQ_NONE o