linux_dsm_epyc7002/drivers/net/ethernet/broadcom/genet
Doug Berger eb236c2994 net: bcmgenet: Move wake-up event out of side band ISR
The side band interrupt service routine is not available on chips
like 7211, or rather, it does not permit the signaling of wake-up
events due to the complex interrupt hierarchy.

Move the wake-up event accounting into a .resume_noirq function,
account for possible wake-up events and clear the MPD/HFB interrupts
from there, while leaving the hardware untouched until the resume
function proceeds with doing its usual business.

Because bcmgenet_wol_power_down_cfg() now enables the MPD and HFB
interrupts, it is invoked by a .suspend_noirq function to prevent
the servicing of interrupts after the clocks have been disabled.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-05-01 15:54:33 -07:00
..
bcmgenet_wol.c net: bcmgenet: Move wake-up event out of side band ISR 2020-05-01 15:54:33 -07:00
bcmgenet.c net: bcmgenet: Move wake-up event out of side band ISR 2020-05-01 15:54:33 -07:00
bcmgenet.h net: bcmgenet: Move wake-up event out of side band ISR 2020-05-01 15:54:33 -07:00
bcmmii.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00
Makefile