Skip to content
Commit 97262705 authored by Juergen Borleis's avatar Juergen Borleis Committed by Greg Kroah-Hartman
Browse files

net: fec: limit register access on i.MX6UL

[ Upstream commit 0a8b43b1 ]

Using 'ethtool -d […]' on an i.MX6UL leads to a kernel crash:

   Unhandled fault: external abort on non-linefetch (0x1008) at […]

due to this SoC has less registers in its FEC implementation compared to other
i.MX6 variants. Thus, a run-time decision is required to avoid access to
non-existing registers.

Fixes: a51d3ab5

 ("net: fec: use a more proper compatible string for i.MX6UL type device")
Signed-off-by: default avatarJuergen Borleis <jbe@pengutronix.de>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221024080552.21004-1-jbe@pengutronix.de
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent df67a8e6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment