Re: [PATCH] phy: request shared IRQ

From: Sergei Shtylyov
Date: Wed Aug 24 2016 - 14:48:34 EST


Hello.

On 08/24/2016 08:53 PM, Xander Huff wrote:

From: Nathan Sullivan <nathan.sullivan@xxxxxx>

On hardware with multiple PHY devices hooked up to the same IRQ line, allow
them to share it.

Note that it had been allowed until my (erroneous?) commit 33c133cc7598e60976a069344910d63e56cc4401 ("phy: IRQ cannot be shared"), so I'd like this commit just reverted instead...
I'm not sure now what was the reason I concluded that the IRQ sharing was impossible... most probably I thought that the kernel IRQ handling code exited the loop over the IRQ actions once IRQ_HANDLED was returned -- which is obviously not so in reality...

Signed-off-by: Nathan Sullivan <nathan.sullivan@xxxxxx>
Signed-off-by: Xander Huff <xander.huff@xxxxxx>
Acked-by: Ben Shelton <ben.shelton@xxxxxx>
Acked-by: Jaeden Amero <jaeden.amero@xxxxxx>
[...]

MBR, Sergei