[Aspeed,ncsi-rx, v2 1/1] net: ftgmac100: Fix AST2600EVB NCSI RX issue

2021-01-11 Thread Hongwei Zhang
> > From: Jakub Kicinski > Sent: Monday, December 21, 2020 5:10 PM > To: Hongwei Zhang > > On Mon, 21 Dec 2020 14:40:26 -0500 Hongwei Zhang wrote: > > When FTGMAC100 driver is used on other NCSI Ethernet controllers, few > > When you say NCSI Ethernet controller

[Aspeed,ncsi-rx, v1 0/1] net: ftgmac100: Fix AST2600EVB NCSI RX issue

2021-01-11 Thread Hongwei Zhang
mac100@1e66 for NCSI, and this is also true for AST2500. --Hongwei > > -Original Message- > > From: Linux-aspeed > > [mailto:linux-aspeed-bounces+dylan_hung=aspeedtech@lists.ozlabs.or > > g] > > On Behalf Of Joel Stanley > > Sent: 2020?12?2

[Aspeed, v1 1/1] net: ftgmac100: Change the order of getting MAC address

2021-01-04 Thread Hongwei Zhang
> From: Jakub Kicinski > Sent: Monday, December 28, 2020 5:01 PM > > On Tue, 22 Dec 2020 22:00:34 +0100 Andrew Lunn wrote: > > On Tue, Dec 22, 2020 at 09:46:52PM +0100, Heiner Kallweit wrote: > > > On 22.12.2020 21:14, Hongwei Zhang wrote: > > > > Dear R

[Aspeed, v2 2/2] net: ftgmac100: Change the order of getting MAC address

2020-12-22 Thread Hongwei Zhang
read. Thanks for your review, I've update the patch to fix the comments. > > > Fixes: 35c54922dc97 ("ARM: dts: tacoma: Add reserved memory for > > ramoops") > > Signed-off-by: Hongwei Zhang > > --- > > drivers/net/ethernet/faraday/ftgmac100.c | 22 +- > > 1 file changed, 13 insertions(+), 9 deletions(-) --Hongwei

[Aspeed, v2 1/2] net: ftgmac100: Change the order of getting MAC address

2020-12-22 Thread Hongwei Zhang
Change the order of reading MAC address, try to read it from MAC chip first, if it's not availabe, then try to read it from device tree. Fixes: 35c54922dc97 ("ARM: dts: tacoma: Add reserved memory for ramoops") Signed-off-by: Hongwei Zhang --- drivers/net/ethernet/faraday/f

[Aspeed, v2 0/2] net: ftgmac100: Change the order of getting MAC address

2020-12-22 Thread Hongwei Zhang
https://patchwork.ozlabs.org/project/linux-aspeed/list/?series=221576 - Initial submission Hongwei Zhang (1): net: ftgmac100: Change the order of getting MAC address drivers/net/ethernet/faraday/ftgmac100.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) -- 2.17.1

[Aspeed, v1 1/1] net: ftgmac100: Change the order of getting MAC address

2020-12-21 Thread Hongwei Zhang
Change the order of reading MAC address, try to read it from MAC chip first, if it's not availabe, then try to read it from device tree. Fixes: 35c54922dc97 ("ARM: dts: tacoma: Add reserved memory for ramoops") Signed-off-by: Hongwei Zhang --- drivers/net/ethernet/faraday/f

[Aspeed, v1 0/1] net: ftgmac100: Change the order of getting MAC address

2020-12-21 Thread Hongwei Zhang
Dear Reviewer, Use native MAC address is preferred over other choices, thus change the order of reading MAC address, try to read it from MAC chip first, if it's not availabe, then try to read it from device tree. Hongwei Zhang (1): net: ftgmac100: Change the order of getting MAC ad

[Aspeed,ncsi-rx, v2 1/1] net: ftgmac100: Fix AST2600 EVB NCSI RX issue

2020-12-21 Thread Hongwei Zhang
When FTGMAC100 driver is used on other NCSI Ethernet controllers, few controllers have compatible issue, removing FTGMAC100_RXDES0_RX_ERR bit from RXDES0_ANY_ERROR can fix the issue. Fixes: 7ee2d5b4d4340353 ("ARM: dts: nuvoton: Add Fii Kudo system") Signed-off-by: Hongwei Zhang --- d

[Aspeed,ncsi-rx, v2 0/1] net: ftgmac100: Fix AST2600EVB NCSI RX issue

2020-12-21 Thread Hongwei Zhang
is needed, user can set the flag to NO to remove the RXDES0_RX_ERR bit, to fix the issue. Hongwei Zhang (1): net: ftgmac100: Fix AST2600 EVB NCSI RX issue drivers/net/ethernet/faraday/Kconfig | 9 + drivers/net/ethernet/faraday/ftgmac100.h | 8 2 files changed, 17

[Aspeed,ncsi-rx, v1 0/1] net: ftgmac100: Fix AST2600EVB NCSI RX issue

2020-12-21 Thread Hongwei Zhang
is needed, user can set the flag to NO to remove the RXDES0_RX_ERR bit, to fix the issue. Hongwei Zhang (1): net: ftgmac100: Fix AST2600 EVB NCSI RX issue drivers/net/ethernet/faraday/Kconfig | 9 + drivers/net/ethernet/faraday/ftgmac100.h | 8 2 files changed, 17

[Aspeed,ncsi-rx, v1 1/1] net: ftgmac100: Fix AST2600 EVB NCSI RX issue

2020-12-21 Thread Hongwei Zhang
When FTGMAC100 driver is used on other NCSI Ethernet controllers, few controllers have compatible issue, removing FTGMAC100_RXDES0_RX_ERR bit from RXDES0_ANY_ERROR can fix the issue. Fixes: 7ee2d5b4d4340353 ("ARM: dts: nuvoton: Add Fii Kudo system") Signed-off-by: Hongwei Zhang --- d

[Aspeed,ncsi-rx, v1 0/1] net: ftgmac100: Fix AST2600EVB NCSI RX issue

2020-12-21 Thread Hongwei Zhang
Hi Andrew, > From: Andrew Jeffery > > > Fix AST2600 EVB NCSI RX timeout issue by removing > > FTGMAC100_RXDES0_RX_ERR bit from macro RXDES0_ANY_ERROR. > > But why? What is wrong with the EVB that this change resolves? Which revision > of the EVB? > > The change affects all designs using the

[Aspeed,ncsi-rx, v1] Answer to initial submission

2020-12-21 Thread Hongwei Zhang
Hi Jakub, > From: Jakub Kicinski > > > ... > > Signed-off-by: Hongwei Zhang > > Thanks for the patch. Please repost CCing the netdev mailing list so it can > be merged to the networking > tree (which I assume is your intent). > Please also include a Fixes