Re: [PATCH v2] net: fec: limit register access on i.MX6UL

From: Andrew Lunn
Date: Tue Oct 25 2022 - 08:53:27 EST


On Mon, Oct 24, 2022 at 10:05:52AM +0200, Juergen Borleis wrote:
> 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.
>
> Signed-off-by: Juergen Borleis <jbe@xxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew