diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2023-07-07 09:53:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-08 12:02:15 +0300 |
commit | e7731194fdf085f46d58b1adccfddbd0dfee4873 (patch) | |
tree | 37509c1598a9f44db9c0b1fb89c984991e0bbe8d /include/linux/ism.h | |
parent | 8139dccd464aaee4a2c351506ff883733c6ca5a3 (diff) | |
download | linux-e7731194fdf085f46d58b1adccfddbd0dfee4873.tar.xz |
net: bgmac: postpone turning IRQs off to avoid SoC hangs
Turning IRQs off is done by accessing Ethernet controller registers.
That can't be done until device's clock is enabled. It results in a SoC
hang otherwise.
This bug remained unnoticed for years as most bootloaders keep all
Ethernet interfaces turned on. It seems to only affect a niche SoC
family BCM47189. It has two Ethernet controllers but CFE bootloader uses
only the first one.
Fixes: 34322615cbaa ("net: bgmac: Mask interrupts during probe")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/ism.h')
0 files changed, 0 insertions, 0 deletions