Hi Hongwei,
The NCSI should run on 3.3V RMII. According your log, you enabled NCSI on
ftgmac100@1e66 which can only support 1.8V I/O voltage.
Did you observe the same error on ftgmac100@1e67 (MAC3) or
ftgmac100@1e69 (MAC4)?
--
Dylan
> -Original Message-
> From: Linux-aspee
> -Original Message-
> From: Andrew Jeffery [mailto:and...@aj.id.au]
> Sent: Wednesday, October 21, 2020 6:26 AM
> To: Benjamin Herrenschmidt ; Arnd Bergmann
> ; Dylan Hung
> Cc: BMC-SW ; linux-aspeed
> ; Po-Yu Chuang ;
> netdev ; OpenBMC Maillist
> ; Linux Ke
> -Original Message-
> From: Jakub Kicinski [mailto:k...@kernel.org]
> Sent: Tuesday, October 20, 2020 3:01 AM
> To: Joel Stanley
> Cc: Dylan Hung ; Benjamin Herrenschmidt
> ; David S . Miller ;
> netdev@vger.kernel.org; Linux Kernel Mailing List
> ; Po-Yu
Hi Joel,
> -Original Message-
> From: Joel Stanley [mailto:j...@jms.id.au]
> Sent: Monday, October 19, 2020 4:57 PM
> To: Dylan Hung ; Benjamin Herrenschmidt
>
> Cc: David S . Miller ; Jakub Kicinski
> ; netdev@vger.kernel.org; Linux Kernel Mailing List
> ; Po-Yu
The interrupt handler may set the flag to reset the mac in the future,
but that flag is not cleared once the reset has occured.
Fixes: 10cbd6407609 ("ftgmac100: Rework NAPI & interrupts handling")
Signed-off-by: Dylan Hung
Signed-off-by: Joel Stanley
---
drivers/net/ethernet/far
On the AST2600 care must be taken to ensure writes appear correctly when
modifying the interrupt reglated registers.
Add a function to perform a read after all writes to the IER and ISR registers.
Fixes: 39bfab8844a0 ("net: ftgmac100: Add support for DT phy-handle property")
Signed-off
This patch series fixes the ftgmac100 mac hw issues on aspeed soc.
Fixes: 52c0cae ("ftgmac100: Remove tx descriptor accessors")
Fixes: 39bfab8 ("net: ftgmac100: Add support for DT phy-handle property")
Fixes: 10cbd64 ("ftgmac100: Rework NAPI & interrupts handling&qu
c0cae87465 ("ftgmac100: Remove tx descriptor accessors")
Signed-off-by: Dylan Hung
Signed-off-by: Joel Stanley
---
drivers/net/ethernet/faraday/ftgmac100.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c
b/drivers/net/etherne
the tx-poll command may advance the tx descriptor due the HW design.
By adding a pseudo read and proper memory barrier, we can ensure all the
data are ready before TX poll command.
Fixes: 52c0cae87465 ("ftgmac100: Remove tx descriptor accessors")
Signed-off-by: Dylan Hung
Signed-of
after the last data write, we can ensure the data
are pushed to the memory, then guarantee the processing sequence
Signed-off-by: Dylan Hung
---
drivers/net/ethernet/faraday/ftgmac100.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/faraday/ftgmac100.c
b
> -Original Message-
> From: Joel Stanley [mailto:j...@jms.id.au]
> Sent: Thursday, October 15, 2020 6:31 AM
> To: Dylan Hung
> Cc: David S . Miller ; Jakub Kicinski
> ; netdev@vger.kernel.org; Linux Kernel Mailing List
> ; Po-Yu Chuang ;
> linux-aspeed ; Ope
Hi Joel,
> -Original Message-
> From: Joel Stanley [mailto:j...@jms.id.au]
> Sent: Wednesday, October 14, 2020 2:41 PM
> To: Dylan Hung
> Cc: David S . Miller ; Jakub Kicinski
> ; netdev@vger.kernel.org; Linux Kernel Mailing List
> ; Po-Yu Chuang ;
> linux-a
This patch fixes the TX hang issue on Aspeed AST2600.
Two HW arbitration features are added onto ast2600, but these features will
cause MAC TX to hang when handling scatter-gather DMA. These two
problematic features can be disabled by setting MAC register 0x58 bit28
and bit27.
Dylan Hung (1
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.
Signed-off-by: Dylan Hung
---
drivers/net/ethernet/faraday/ftgmac100.c | 5 +
drivers/net/ethernet
14 matches
Mail list logo