]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: stmmac: xgmac: Disable FPE MMC interrupts
authorFurong Xu <0x1207@gmail.com>
Sat, 25 Nov 2023 06:01:26 +0000 (14:01 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 28 Nov 2023 10:45:07 +0000 (11:45 +0100)
commite54d628a2721bfbb002c19f6e8ca6746cec7640f
treef8b4624a5c4359ecf4a05c39699bd3483c34679f
parentad31c629ca3c87f6d557488c1f9faaebfbcd203c
net: stmmac: xgmac: Disable FPE MMC interrupts

Commit aeb18dd07692 ("net: stmmac: xgmac: Disable MMC interrupts
by default") tries to disable MMC interrupts to avoid a storm of
unhandled interrupts, but leaves the FPE(Frame Preemption) MMC
interrupts enabled, FPE MMC interrupts can cause the same problem.
Now we mask FPE TX and RX interrupts to disable all MMC interrupts.

Fixes: aeb18dd07692 ("net: stmmac: xgmac: Disable MMC interrupts by default")
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Signed-off-by: Furong Xu <0x1207@gmail.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Link: https://lore.kernel.org/r/20231125060126.2328690-1-0x1207@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/mmc_core.c