diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2022-10-24 10:05:52 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-26 20:16:34 -0700 |
commit | 0a8b43b12dd78daa77a7dc007b92770d262a2714 (patch) | |
tree | 319c5a46b07afcbcf1ee642055964f96b2f8ec85 /drivers/net/ethernet/socionext | |
parent | 8b9d377afaed8ef8f4c85432e916930279ac1871 (diff) | |
download | lwn-0a8b43b12dd78daa77a7dc007b92770d262a2714.tar.gz lwn-0a8b43b12dd78daa77a7dc007b92770d262a2714.zip |
net: fec: limit register access on i.MX6UL
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: a51d3ab50702 ("net: fec: use a more proper compatible string for i.MX6UL type device")
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221024080552.21004-1-jbe@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/socionext')
0 files changed, 0 insertions, 0 deletions