[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2ea9fd81-f92d-9505-dd0b-bdd0f67d8ce7@bell.net>
Date: Wed, 30 Jan 2019 17:24:53 -0500
From: John David Anglin <dave.anglin@...l.net>
To: Andrew Lunn <andrew@...n.ch>
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: net: phylink: dsa: mv88e6xxx: flaky link detection on switch
ports with internal PHYs
On 2019-01-30 12:28 p.m., Andrew Lunn wrote:
> You need active low interrupts. Without it, i think you are always
> going to have race conditions which will cause interrupts to get
> stuck/lost.
I don't know if this is a hardware limitation or not, but currently the
armada 37xx doesn't support
level interrupts:
[ 4.013280] genirq: Setting trigger mode 8 for irq 44 failed
(armada_37xx_irq_set_type+0x0/0x158)
[ 4.014075] mv88e6085: probe of d0032004.mdio-mii:01 failed with
error -22
The function armada_37xx_irq_set_type() only supports edge interrupts.
On the plus side, DTC no longer objects to level interrupts on southbridge.
Dave
--
John David Anglin dave.anglin@...l.net
Powered by blists - more mailing lists