]> git.baikalelectronics.ru Git - kernel.git/commit
net: ftgmac100: Fix Aspeed ast2600 TX hang issue
authorDylan Hung <dylan_hung@aspeedtech.com>
Wed, 14 Oct 2020 06:06:32 +0000 (14:06 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 16 Oct 2020 22:36:34 +0000 (15:36 -0700)
commitc6646b96c82f00d69f40441a71b798b837f99095
tree42cbb47f753ede9c9c4fcb1e709372296f3f4eb9
parentd54b8ea00b7d9339a6b33fcb23dc4645b489b831
net: ftgmac100: Fix Aspeed ast2600 TX hang issue

The new HW arbitration feature on Aspeed ast2600 will cause MAC TX to
hang when handling scatter-gather DMA.  Disable the problematic feature
by setting MAC register 0x58 bit28 and bit27.

Fixes: 11ada22f905c ("net: ftgmac100: Add support for DT phy-handle property")
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/faraday/ftgmac100.c
drivers/net/ethernet/faraday/ftgmac100.h