]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'mv88e6xxx-interrupt-support'
authorDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2016 15:18:09 +0000 (11:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2016 15:18:09 +0000 (11:18 -0400)
commit41b5b3fab827b5d0be02b922b6cfcab148f149a6
tree411be33c45d2f53b2c09e573062f5039cdf41b9f
parent0cf73dd3beeb6c8bc94c6971d6473fc9e3eab06c
parent47bc0b9b8f027ba8466e4c178b6b5ab1eae84740
Merge branch 'mv88e6xxx-interrupt-support'

Andrew Lunn says:

====================
Interrupt support for mv88e6xxx

This patchset add interrupt controller support to the MV88E6xxx.  This
allows access to the interrupts the internal PHY generate. These
interrupts can then be associated to a PHY device in the device tree
and used by the PHY lib, rather than polling.

Since interrupt handling needs to make MDIO bus accesses, threaded
interrupts are used. The phylib needs to request the PHY interrupt
using the threaded IRQ API. This in term allows some simplification to
the code, in that the phylib interrupt handler can directly call
phy_change(), rather than use a work queue. The work queue is however
retained for the phy_mac_interrupt() call, which can be called in hard
interrupt context.

Since RFC v1:

Keep phy_mac_interrupt() callable in hard IRQ context.

The fix to trigger the phy state machine transitions on interrupts has
already been submitted, so is dropped from here.

Added back shared interrupts support.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>