[U-Boot] [PATCHv2 01/10] net: mvpp2x: Add GPIO configuration support

2017-08-09 Thread stefanc
From: Stefan Chulski This patch add GPIO configuration support in mvpp2x driver. Driver will handle 10G SFP gpio reset and SFP TX disable. GPIO pins should be set in device tree. Signed-off-by: Stefan Chulski Tested-by: iSoC Platform CI

[U-Boot] [PATCHv2 06/10] net: mvpp2x: remove MBUS configurations from MvPP22 driver

2017-08-09 Thread stefanc
From: Stefan Chulski MBUS driver were replaced by AXI in PPv22 and relevant only for PPv21. Signed-off-by: Stefan Chulski Tested-by: iSoC Platform CI Reviewed-by: Nadav Haklai Reviewed-by: Igal Liberman

[U-Boot] [PATCHv2 02/10] net: mvpp2x: fix phy connected to wrong mdio issue

2017-08-09 Thread stefanc
From: Stefan Chulski A8K marvell SoC has two South Bridge communication controllers(CP0 and CP1). Each communication controller has packet processor ports and MDIO. On MACHIATOBin board ports from CP1 are connected to mdio on CP0. Issue: Wrong base address is assigned to

[U-Boot] [PATCHv2 00/10] This patch set represent Marvell mvpp2 driver fixes

2017-08-09 Thread stefanc
From: Stefan Chulski Issues were found during internal QA phase. Stefan Chulski (10): net: mvpp2x: Add GPIO configuration support net: mvpp2x: fix phy connected to wrong mdio issue net: mvpp2x: Enable GoP packet padding in TX net: mvpp2x: fix BM configuration

[U-Boot] [PATCHv2 09/10] net: mvpp2x: remove TX drain from transmit routine

2017-08-09 Thread stefanc
From: Stefan Chulski TX drain in transmit procedure could cause issues due to race between drain procedure and transmition of descriptor between AGGR TXQ and physical TXQ. TXQ will be cleared before moving to Linux by stop procedure. Signed-off-by: Stefan Chulski

[U-Boot] [PATCHv2 05/10] net: mvpp2x: decrease size of AGGR_TXQ and CPU_DESC_CHUNK

2017-08-09 Thread stefanc
From: Stefan Chulski U-boot use single physical tx queue with size 16 descriptors. So aggregated tx queue size should be equal to physical tx queue and cpu descriptor chunk(number of descriptors delivered from physical tx queue to aggregated tx queue by one chunk) shouldn't

[U-Boot] [PATCHv2 10/10] net: mvpp2x: Set BM poll size once during priv probe

2017-08-09 Thread stefanc
From: Stefan Chulski Set BM poll size once during priv probe and do not overwrite it during port probe procedure. Pool is common for all CP ports. Signed-off-by: Stefan Chulski Tested-by: iSoC Platform CI Reviewed-by: Nadav Haklai

[U-Boot] [PATCHv2 08/10] net: mvpp2x: Set BM pool high address

2017-08-09 Thread stefanc
From: Stefan Chulski MVPP22 driver support 64 Bit arch and require BM pool high address configuration. Signed-off-by: Stefan Chulski Tested-by: iSoC Platform CI Reviewed-by: Nadav Haklai Reviewed-by: Igal

[U-Boot] [PATCHv2 07/10] net: mvpp2x: Remove IRQ configuration from U-Boot

2017-08-09 Thread stefanc
From: Stefan Chulski Remove IRQ configuration from U-Boot PP driver. U-Boot don't use interrupts and configuration of IRQ in U-Boot caused crashes in Linux shared interrupt mode. Also interrupt use is redundant in RX routine since a single RX queue is used. Signed-off-by:

[U-Boot] [PATCHv2 03/10] net: mvpp2x: Enable GoP packet padding in TX

2017-08-09 Thread stefanc
From: Stefan Chulski This patch enables padding of packets shorter than 64B in TX(set by default). Disabling of padding causes crashes on MACCIATO board. Signed-off-by: Stefan Chulski Tested-by: iSoC Platform CI Reviewed-by: Igal

[U-Boot] [PATCHv2 04/10] net: mvpp2x: fix BM configuration overrun issue

2017-08-09 Thread stefanc
From: Stefan Chulski Issue: BM counters were overrun by probe that called per Network interface and caused release of wrong number of buffers during remove procedure. Fix: Use probe_done and num_ports to call init and remove procedure once per communication controller.

[U-Boot] [PATCH 03/10] net: mvpp2x: Enable GoP packet padding in TX

2017-06-21 Thread stefanc
From: Stefan Chulski This patch enable padding of packets shorter than 64B in TX(set by default). Disabling of padding cause crushes on MACCIATO board. Regarding to GoP instruction padding should be enabled. Change-Id: Iceaa1bd8a3543795463938d1a8d561f4ecc29234

[U-Boot] [PATCH 06/10] net: mvpp2x: remove MBUS configurations from MvPP22 driver

2017-06-21 Thread stefanc
From: Stefan Chulski MBUS driver were replaced by AXI in PPv22 and relevant only for PPv21. Change-Id: Iafb42f121d0ad2d8bc99a42e7ed671cd7b754b42 Signed-off-by: Stefan Chulski Reviewed-on: http://vgitil04.il.marvell.com:8080/39965 Tested-by: iSoC

[U-Boot] [PATCH 05/10] net: mvpp2x: decrease size of AGGR_TXQ and CPU_DESC_CHUNK

2017-06-21 Thread stefanc
From: Stefan Chulski U-boot use single physical tx queue with size 16 descriptors. So aggregated tx queue size should be equal to physical tx queue and cpu descriptor chunk(number of descriptors delivered from physical tx queue to aggregated tx queue by one chunk) shouldn't

[U-Boot] [PATCH 10/10] net: mvpp2x: Set BM poll size once during priv probe

2017-06-21 Thread stefanc
From: Stefan Chulski Set BM poll size once during priv probe and do not overwrite it during port probe procedure. Pool is common for all CP ports. Change-Id: Icf8c2be3f9cc653c132365e918044713accef335 Signed-off-by: Stefan Chulski Reviewed-on:

[U-Boot] [PATCH 02/10] net: mvpp2x: fix phy connected to wrong mdio issue

2017-06-21 Thread stefanc
From: Stefan Chulski This WA for mdio issue. U-boot 2017 don't have mdio driver and on MACHIATOBin board ports from CP1 connected to mdio on CP0. WA is to get mdio address from phy handler parent base address. WA should be removed after mdio driver implementation.

[U-Boot] [PATCH 00/10] This patch set represent Marvell mvpp2 driver fixes

2017-06-21 Thread stefanc
From: Stefan Chulski Issues were found during internal QA phase. Stefan Chulski (10): net: mvpp2x: Add GPIO configuration support net: mvpp2x: fix phy connected to wrong mdio issue net: mvpp2x: Enable GoP packet padding in TX net: mvpp2x: fix BM configuration

[U-Boot] [PATCH 01/10] net: mvpp2x: Add GPIO configuration support

2017-06-21 Thread stefanc
From: Stefan Chulski This patch add GPIO configuration support in mvpp2x driver. Driver will handle 10G SFP gpio reset and SFP TX disable. GPIO pins should be set in device tree. Change-Id: I3165545b276a3590399d1ac66b1e20d4544212c6 Signed-off-by: Stefan Chulski

[U-Boot] [PATCH 09/10] net: mvpp2x: remove TX drain from transmit routine

2017-06-21 Thread stefanc
From: Stefan Chulski TX drain in transmit procedure could cause issues due to race between drain procedure and transmition of descriptor between AGGR TXQ and physical TXQ. TXQ be cleared before moving to Linux by stop procedure. Change-Id:

[U-Boot] [PATCH 07/10] net: mvpp2x: Remove IRQ configuration from u-boot

2017-06-21 Thread stefanc
From: Stefan Chulski Remove IRQ configuration from u-boot PP driver. U-BOOT don't use interupts and coniguration of IRQ in u-boot caused crushes in Linux interupt shared mode. Also interput cause is redundant in RX routine since single RXQ used. Change-Id:

[U-Boot] [PATCH 08/10] net: mvpp2x: Set BM pool high address

2017-06-21 Thread stefanc
From: Stefan Chulski MVPP22 driver support 64 Bit arch and require BM pool high address configuration. Change-Id: I04417b8cc081ea75e43b230d5ba1cc5c0071ce25 Signed-off-by: Stefan Chulski Reviewed-on: http://vgitil04.il.marvell.com:8080/39967 Tested-by:

[U-Boot] [PATCH 04/10] net: mvpp2x: fix BM configuration overrun issue

2017-06-21 Thread stefanc
From: Stefan Chulski Issue: BM counters were overran by probe that called per Network interface and caused release of wrong number of buffers during remove procedure. Fix: Add CP level flags to call init and remove procedure once per CP. Change-Id: