Commit 3b37bd6e authored by Andrey Konovalov's avatar Andrey Konovalov Committed by zhaoxiaoqiang11
Browse files

net: stmmac: do not stop RX_CLK in Rx LPI state for qcs404 SoC

stable inclusion
from stable-v5.10.169
commit 614a58e00d7bcbaf0d698712e0decd29d53a3847
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7V9QX

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=614a58e00d7bcbaf0d698712e0decd29d53a3847



----------------------------------------------------

[ Upstream commit 54aa39a5 ]

Currently in phy_init_eee() the driver unconditionally configures the PHY
to stop RX_CLK after entering Rx LPI state. This causes an LPI interrupt
storm on my qcs404-base board.

Change the PHY initialization so that for "qcom,qcs404-ethqos" compatible
device RX_CLK continues to run even in Rx LPI state.

Signed-off-by: default avatarAndrey Konovalov <andrey.konovalov@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
parent bfb96dbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment