[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190204193518.GE24989@lunn.ch>
Date: Mon, 4 Feb 2019 20:35:18 +0100
From: Andrew Lunn <andrew@...n.ch>
To: John David Anglin <dave.anglin@...l.net>
Cc: Russell King <linux@....linux.org.uk>,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>,
Florian Fainelli <f.fainelli@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH] net: phylink: dsa: mv88e6xxx: Revise irq setup ordering
On Mon, Feb 04, 2019 at 01:37:13PM -0500, John David Anglin wrote:
> This change fixes a race condition in the setup of hardware irqs and the
> code enabling PHY link
> detection.
>
> This was observed on the espressobin board where the GPIO interrupt
> controller only supports edge
> interrupts. If the INTn output pin goes low before the GPIO interrupt
> is enabled, PHY link interrupts
> are not detected.
Hi David
Please break this up into two patches.
Masking interrupts in the setup code before enabling the interrupt i'm
happy with.
The change to the interrupt handler i'm pretty sure is wrong. You have
to accept with edge interrupts you are going to loose interrupts.
Andrew
Powered by blists - more mailing lists