[Qemu devel PATCH v6 1/3] hw/net: Add Smartfusion2 emac block

2020-04-16 Thread sundeep . lkml
From: Subbaraya Sundeep Modelled Ethernet MAC of Smartfusion2 SoC. Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same PHY is emulated. Signed-off-by: Subbaraya Sundeep Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- MAINTAINERS| 2 + hw/

[Qemu devel PATCH v6 0/3] Add SmartFusion2 EMAC block

2020-04-16 Thread sundeep . lkml
From: Subbaraya Sundeep This patch set emulates Ethernet MAC block present in Microsemi SmartFusion2 SoC. v6: Fixed destination address matching logic Added missing break in emac_write v5: As per Philippe comments: Returned size in receive function Added link property to pass

[Qemu devel PATCH v6 3/3] tests/boot_linux_console: Add ethernet test to SmartFusion2

2020-04-16 Thread sundeep . lkml
From: Subbaraya Sundeep In addition to simple serial test this patch uses ping to test the ethernet block modelled in SmartFusion2 SoC. Signed-off-by: Subbaraya Sundeep Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- tests/acceptance/boot_linux_console.py | 15 +

[Qemu devel PATCH v6 2/3] msf2: Add EMAC block to SmartFusion2 SoC

2020-04-16 Thread sundeep . lkml
From: Subbaraya Sundeep With SmartFusion2 Ethernet MAC model in place this patch adds the same to SoC. Signed-off-by: Subbaraya Sundeep Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- hw/arm/msf2-soc.c | 26 -- include/hw/arm/msf2-soc

[Qemu devel PATCH v5 2/3] msf2: Add EMAC block to SmartFusion2 SoC

2020-04-14 Thread sundeep . lkml
From: Subbaraya Sundeep With SmartFusion2 Ethernet MAC model in place this patch adds the same to SoC. Signed-off-by: Subbaraya Sundeep Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- hw/arm/msf2-soc.c | 26 -- include/hw/arm/msf2-soc

[Qemu devel PATCH v5 3/3] tests/boot_linux_console: Add ethernet test to SmartFusion2

2020-04-14 Thread sundeep . lkml
From: Subbaraya Sundeep In addition to simple serial test this patch uses ping to test the ethernet block modelled in SmartFusion2 SoC. Signed-off-by: Subbaraya Sundeep Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- tests/acceptance/boot_linux_console.py | 15 +

[Qemu devel PATCH v5 0/3] Add SmartFusion2 EMAC block

2020-04-14 Thread sundeep . lkml
From: Subbaraya Sundeep This patch set emulates Ethernet MAC block present in Microsemi SmartFusion2 SoC. v5: As per Philippe comments: Returned size in receive function Added link property to pass DMA memory Used FIELD() APIs Added mac_addr in emac state Used FIELD_

[Qemu devel PATCH v5 1/3] hw/net: Add Smartfusion2 emac block

2020-04-14 Thread sundeep . lkml
From: Subbaraya Sundeep Modelled Ethernet MAC of Smartfusion2 SoC. Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same PHY is emulated. Signed-off-by: Subbaraya Sundeep Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- MAINTAINERS| 2 + hw/

[Qemu devel PATCH v4 0/3] Add SmartFusion2 EMAC block

2020-04-10 Thread sundeep . lkml
From: Subbaraya Sundeep This patch set emulates Ethernet MAC block present in Microsemi SmartFusion2 SoC. v4: Added loop back as per Jason's comment v3: Added SmartFusion2 ethernet test to tests/acceptance v2: No changes. Fixed Signed-off mail id in patch 2/2 Testing: 1. Download u-boot

[Qemu devel PATCH v4 3/3] tests/boot_linux_console: Add ethernet test to SmartFusion2

2020-04-10 Thread sundeep . lkml
From: Subbaraya Sundeep In addition to simple serial test this patch uses ping to test the ethernet block modelled in SmartFusion2 SoC. Signed-off-by: Subbaraya Sundeep --- tests/acceptance/boot_linux_console.py | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[Qemu devel PATCH v4 2/3] msf2: Add EMAC block to SmartFusion2 SoC

2020-04-10 Thread sundeep . lkml
From: Subbaraya Sundeep With SmartFusion2 Ethernet MAC model in place this patch adds the same to SoC. Signed-off-by: Subbaraya Sundeep --- hw/arm/msf2-soc.c | 21 - include/hw/arm/msf2-soc.h | 3 +++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/h

[Qemu devel PATCH v4 1/3] hw/net: Add Smartfusion2 emac block

2020-04-10 Thread sundeep . lkml
From: Subbaraya Sundeep Modelled Ethernet MAC of Smartfusion2 SoC. Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same PHY is emulated. Signed-off-by: Subbaraya Sundeep --- MAINTAINERS| 2 + hw/net/Makefile.objs | 1 + hw/net/msf2-emac.c | 562 ++

[Qemu devel PATCH v3 3/3] tests/boot_linux_console: Add ethernet test to SmartFusion2

2020-04-07 Thread sundeep . lkml
From: Subbaraya Sundeep In addition to simple serial test this patch uses ping to test the ethernet block modelled in SmartFusion2 SoC. Signed-off-by: Subbaraya Sundeep --- tests/acceptance/boot_linux_console.py | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git

[Qemu devel PATCH v3 2/3] msf2: Add EMAC block to SmartFusion2 SoC

2020-04-07 Thread sundeep . lkml
From: Subbaraya Sundeep With SmartFusion2 Ethernet MAC model in place this patch adds the same to SoC. Signed-off-by: Subbaraya Sundeep --- hw/arm/msf2-soc.c | 21 - include/hw/arm/msf2-soc.h | 3 +++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/h

[Qemu devel PATCH v3 1/3] hw/net: Add Smartfusion2 emac block

2020-04-07 Thread sundeep . lkml
From: Subbaraya Sundeep Modelled Ethernet MAC of Smartfusion2 SoC. Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same PHY is emulated. Signed-off-by: Subbaraya Sundeep --- MAINTAINERS| 2 + hw/net/Makefile.objs | 1 + hw/net/msf2-emac.c | 556 ++

[Qemu devel PATCH v3 0/3] Add SmartFusion2 EMAC block

2020-04-07 Thread sundeep . lkml
From: Subbaraya Sundeep This patch set emulates Ethernet MAC block present in Microsemi SmartFusion2 SoC. v3: Added SmartFusion2 ethernet test to tests/acceptance v2: No changes. Fixed Signed-off mail id in patch 2/2 Testing: 1. Download u-boot.bin, uImage and msf2-devkit.dtb from https

[Qemu-devel PATCH v2 1/2] hw/net: Add Smartfusion2 emac block

2020-04-04 Thread sundeep . lkml
From: Subbaraya Sundeep Modelled Ethernet MAC of Smartfusion2 SoC. Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same PHY is emulated. Signed-off-by: Subbaraya Sundeep --- MAINTAINERS| 2 + hw/net/Makefile.objs | 1 + hw/net/msf2-emac.c | 556 ++

[Qemu-devel PATCH v2 2/2] msf2: Add EMAC block to SmartFusion2 SoC

2020-04-04 Thread sundeep . lkml
From: Subbaraya Sundeep With SmartFusion2 Ethernet MAC model in place this patch adds the same to SoC. Signed-off-by: Subbaraya Sundeep --- hw/arm/msf2-soc.c | 21 - include/hw/arm/msf2-soc.h | 3 +++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/h

[Qemu-devel PATCH v2 0/2] Add SmartFusion2 EMAC block

2020-04-04 Thread sundeep . lkml
From: Subbaraya Sundeep This patch set emulates Ethernet MAC block present in Microsemi SmartFusion2 SoC. v2: No changes. Fixed Signed-off mail id in patch 2/2 Testing: 1. Download u-boot.bin, uImage and msf2-devkit.dtb from https://github.com/Subbaraya-Sundeep/qemu-test-binaries.git 2.

[Qemu-devel PATCH 2/2] msf2: Add EMAC block to SmartFusion2 SoC

2020-04-04 Thread sundeep . lkml
From: Subbaraya Sundeep With SmartFusion2 Ethernet MAC model in place this patch adds the same to SoC. Signed-off-by: Subbaraya Sundeep --- hw/arm/msf2-soc.c | 21 - include/hw/arm/msf2-soc.h | 3 +++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/h

[Qemu-devel PATCH 1/2] hw/net: Add Smartfusion2 emac block

2020-04-04 Thread sundeep . lkml
From: Subbaraya Sundeep Modelled Ethernet MAC of Smartfusion2 SoC. Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same PHY is emulated. Signed-off-by: Subbaraya Sundeep --- MAINTAINERS| 2 + hw/net/Makefile.objs | 1 + hw/net/msf2-emac.c | 556 ++

[Qemu-devel PATCH 0/2] Add SmartFusion2 EMAC block

2020-04-04 Thread sundeep . lkml
From: Subbaraya Sundeep This patch set emulates Ethernet MAC block present in Microsemi SmartFusion2 SoC. Testing: 1. Download u-boot.bin, uImage and msf2-devkit.dtb from https://github.com/Subbaraya-Sundeep/qemu-test-binaries.git 2. Copy uImage and msf2-devkit.dtb to suitable Qemu tftp dire