Re: [PATCH net V3] net: stmmac: dwmac-loongson: Add fix_soc_reset() callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




在 2/19/25 10:07 AM, Qunqin Zhao 写道:
Loongson's DWMAC device may take nearly two seconds to complete DMA reset,
however, the default waiting time for reset is 200 milliseconds.
Therefore, the following error message may appear:

[14.427169] dwmac-loongson-pci 0000:00:03.2: Failed to reset the dma

Fixes: 803fc61df261 ("net: stmmac: dwmac-loongson: Add Loongson Multi-channels GMAC support")
Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Qunqin Zhao <zhaoqunqin@xxxxxxxxxxx>
Reviewed-by: Huacai Chen <chenhuacai@xxxxxxxxxxx>

Acked-by: Yanteng Si <si.yanteng@xxxxxxxxx>


Thanks,

Yanteng

---
v3: Added "Cc: stable@xxxxxxxxxxxxxxx" tag.
     Added error message to commit message.

v2: Added comments. Changed callback name to loongson_dwmac_fix_reset.

  .../net/ethernet/stmicro/stmmac/dwmac-loongson.c   | 14 ++++++++++++++
  1 file changed, 14 insertions(+)




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux