Skip to content

Implementation of NPI Mailbox and GMAC Networking Module

Nabih Estefan qemu-arm qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11hw/misc: Add Nuvoton's PCI Mailbox Modulehw/arm/npcm7xx.c hw/misc/meson.build hw/misc/npcm7xx_pci_mbox.c +3 more+427 -10 replies
2/11hw/arm: Add PCI mailbox module to Nuvoton SoCdocs/system/arm/nuvoton.rst hw/arm/npcm7xx.c include/hw/arm/npcm7xx.h+5 -10 replies
3/11hw/misc: Add qtest for NPCM7xx PCI Mailboxtests/qtest/meson.build tests/qtest/npcm7xx_pci_mbox-test.c+239 -00 replies
4/11hw/net: Add NPCMXXX GMAC devicehw/net/meson.build hw/net/npcm_gmac.c hw/net/trace-events +1 more+577 -10 replies
5/11hw/arm: Add GMAC devices to NPCM7XX SoChw/arm/npcm7xx.c include/hw/arm/npcm7xx.h+36 -20 replies
6/11\tests/qtest: Creating qtest for GMAC Moduletests/qtest/meson.build tests/qtest/npcm_gmac-test.c+215 -50 replies
7/11include/hw/net: Implemented Classes and Masks for GMAC Descriptorshw/net/npcm_gmac.c hw/net/trace-events include/hw/net/npcm_gmac.h +1 more+150 -460 replies
8/11hw/net: General GMAC Implementationinclude/hw/net/npcm_gmac.h+184 -140 replies
9/11hw/net: GMAC Rx Implementationhw/net/npcm_gmac.c include/hw/net/npcm_gmac.h+342 -420 replies
10/11hw/net: GMAC Tx Implementationhw/net/npcm_gmac.c+152 -00 replies
11/11tests/qtest: Adding PCS Module test to GMAC Qtesttests/qtest/npcm_gmac-test.c+133 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] Implementation of NPI Mailbox and GMAC Networking Module

From: Nabih Estefan Diaz <[email protected]>

[Changes since v2]
Fixed bugs related to the RC functionality of the GMAC. Added and squashed patches related to that.
[Changes since v1]
Fixed some errors in formatting.
Fixed a merge error that I didn't see in v1.
Removed Nuvoton 8xx references since that is a separate patch set.

[Original Cover]
Creates NPI Mailbox Module with data verification for read and write (internal and external), wiring to the Nuvoton SoC, and QTests.

Also creates the GMAC Networking Module. Implements read and write functionalities with cooresponding descriptors and registers. Also includes QTests for the different functionalities.

Hao Wu (5):
hw/misc: Add Nuvoton's PCI Mailbox Module
hw/arm: Add PCI mailbox module to Nuvoton SoC
hw/misc: Add qtest for NPCM7xx PCI Mailbox
hw/net: Add NPCMXXX GMAC device
hw/arm: Add GMAC devices to NPCM7XX SoC

Nabih Estefan Diaz (6):
\tests/qtest: Creating qtest for GMAC Module include/hw/net: Implemented Classes and Masks for GMAC Descriptors hw/net: General GMAC Implementation
hw/net: GMAC Rx Implementation
hw/net: GMAC Tx Implementation
tests/qtest: Adding PCS Module test to GMAC Qtest

 docs/system/arm/nuvoton.rst         |   2 +
 hw/arm/npcm7xx.c                    |  53 +-
 hw/misc/meson.build                 |   1 +
 hw/misc/npcm7xx_pci_mbox.c          | 324 ++++++++++
 hw/misc/trace-events                |   5 +
 hw/net/meson.build                  |   2 +-
 hw/net/npcm_gmac.c                  | 942 ++++++++++++++++++++++++++++
 hw/net/trace-events                 |  20 +
 include/hw/arm/npcm7xx.h            |   4 +
 include/hw/misc/npcm7xx_pci_mbox.h  |  81 +++
 include/hw/net/npcm_gmac.h          | 340 ++++++++++
 tests/qtest/meson.build             |  12 +-
 tests/qtest/npcm7xx_pci_mbox-test.c | 238 +++++++
 tests/qtest/npcm_gmac-test.c        | 341 ++++++++++
 14 files changed, 2356 insertions(+), 9 deletions(-)
 create mode 100644 hw/misc/npcm7xx_pci_mbox.c
 create mode 100644 hw/net/npcm_gmac.c
 create mode 100644 include/hw/misc/npcm7xx_pci_mbox.h
 create mode 100644 include/hw/net/npcm_gmac.h
 create mode 100644 tests/qtest/npcm7xx_pci_mbox-test.c
 create mode 100644 tests/qtest/npcm_gmac-test.c
Signature · 1 line
2.42.0.655.g421f12c284-goog