Commit eaa3832
committed
net: cadence: macb: add RX LPI status change interrupt support
Wire the RXLPISBC interrupt (ISR bit 27) into the macb interrupt
handler to track when the link partner enters or exits Low Power Idle.
The GEM MAC fires RXLPISBC on each RX LPI status transition. The
handler toggles rx_lpi_active state and emits a debug log on each
change. The interrupt is enabled in mac_link_up and disabled in
mac_link_down, gated on MACB_CAPS_EEE.
This complements the existing TX LPI support and LPI statistics
counters with active RX LPI state monitoring for diagnostics.
Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>1 parent b20851c commit eaa3832
2 files changed
Lines changed: 27 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1363 | 1363 | | |
1364 | 1364 | | |
1365 | 1365 | | |
| 1366 | + | |
1366 | 1367 | | |
1367 | 1368 | | |
1368 | 1369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | | - | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
810 | 816 | | |
811 | 817 | | |
812 | 818 | | |
| |||
817 | 823 | | |
818 | 824 | | |
819 | 825 | | |
| 826 | + | |
820 | 827 | | |
821 | 828 | | |
822 | 829 | | |
| |||
859 | 866 | | |
860 | 867 | | |
861 | 868 | | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
862 | 874 | | |
863 | 875 | | |
864 | | - | |
865 | | - | |
| 876 | + | |
866 | 877 | | |
867 | 878 | | |
868 | 879 | | |
| |||
2130 | 2141 | | |
2131 | 2142 | | |
2132 | 2143 | | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
2133 | 2153 | | |
2134 | 2154 | | |
2135 | 2155 | | |
| |||
0 commit comments