diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-12-14 09:24:11 +0100 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2020-12-14 09:45:13 +0100 |
commit | e8502081953938ee42e85a2d4805bb121e35d0ea (patch) | |
tree | 1cf08dfca7854e489c401790d8413b07c9ff1919 /drivers/watchdog/shwdt.c | |
parent | 5817454449802e0b55f914e4fa21049cbfe780d0 (diff) |
net: stmmac: dwmac-imx: fix phy-supply null pointer issue
The following happens e.g. on the i.MX 8M Plus EVK which does not
specify any phy-supply:
[ 1.077851] imx-dwmac 30bf0000.ethernet: no regulator found
[ 1.083445] Unable to handle kernel NULL pointer dereference at
virtual address 0000000000000078
[ 1.092234] Mem abort info:
[ 1.095033] ESR = 0x96000004
[ 1.098087] EC = 0x25: DABT (current EL), IL = 32 bits
[ 1.103402] SET = 0, FnV = 0
[ 1.106456] EA = 0, S1PTW = 0
[ 1.109603] Data abort info:
[ 1.112489] ISV = 0, ISS = 0x00000004
[ 1.116329] CM = 0, WnR = 0
[ 1.119301] [0000000000000078] user address but active_mm is swapper
[ 1.125660] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 1.131232] Modules linked in:
[ 1.134291] CPU: 2 PID: 1 Comm: swapper/0 Not tainted
5.4.77-05639-g581745444980 #10
[ 1.142032] Hardware name: NXP i.MX8MPlus EVK board (DT)
[ 1.147344] pstate: 60000005 (nZCv daif -PAN -UAO)
[ 1.152141] pc : regulator_enable+0x1c/0x78
[ 1.156326] lr : imx_dwmac_init+0x134/0x1a8
[ 1.160508] sp : ffff80001003bad0
Fixes: ca8811172bdc ("net: stmmac: dwmac-imx: add phy-supply")
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'drivers/watchdog/shwdt.c')
0 files changed, 0 insertions, 0 deletions