Skip to content

Various updates for the Cadence GEM model

Luc Michel qemu-arm qemu-devel 1 version Applied

Status from this message: Applied to target-arm.next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 13 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/11hw/net/cadence_gem: use REG32 macro for register definitionshw/net/cadence_gem.c+261 -2661 reply
2/11hw/net/cadence_gem: use FIELD for screening registershw/net/cadence_gem.c+47 -451 reply
3/11hw/net/cadence_gem: use FIELD to describe NWCTRL register fieldshw/net/cadence_gem.c+40 -131 reply
4/11hw/net/cadence_gem: use FIELD to describe NWCFG register fieldshw/net/cadence_gem.c+39 -211 reply
5/11hw/net/cadence_gem: use FIELD to describe DMACFG register fieldshw/net/cadence_gem.c+31 -171 reply
6/11hw/net/cadence_gem: use FIELD to describe [TX|RX]STATUS register fieldshw/net/cadence_gem.c+25 -91 reply
7/11hw/net/cadence_gem: use FIELD to describe IRQ register fieldshw/net/cadence_gem.c+39 -121 reply
8/11hw/net/cadence_gem: use FIELD to describe DESCONF6 register fieldshw/net/cadence_gem.c+2 -21 reply
9/11hw/net/cadence_gem: use FIELD to describe PHYMNTNC register fieldshw/net/cadence_gem.c+14 -131 reply
10/11hw/net/cadence_gem: perform PHY access on write onlyhw/net/cadence_gem.c+33 -231 reply
11/11hw/net/cadence_gem: enforce 32 bits variable size for CRChw/net/cadence_gem.c+1 -12 replies

Reviews trailers per patch

All 11 patches have a Reviewed-by or Acked-by.

Patch[email protected]Philippe Mathieu-Daudé
1/11R-b
2/11R-b
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11R-b
10/11R-b
11/11R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/11] Various updates for the Cadence GEM model

Hi,

This series brings small changes to the Cadence GEM Ethernet model. There is (almost) no behaviour change.

Patches 1 to 9 replace handcrafted defines with the use of REG32 and FIELDS macros for register and fields declarations.

Patch 10 fixes PHY accesses so that they are done only on a write to the PHYMNTNC register (as the real hardware does).

Patch 11 fixes a potential bug on hosts where unsigned would not be 32 bits.

Thanks,

Signature · 21 lines
Luc

Luc Michel (11):
  hw/net/cadence_gem: use REG32 macro for register definitions
  hw/net/cadence_gem: use FIELD for screening registers
  hw/net/cadence_gem: use FIELD to describe NWCTRL register fields
  hw/net/cadence_gem: use FIELD to describe NWCFG register fields
  hw/net/cadence_gem: use FIELD to describe DMACFG register fields
  hw/net/cadence_gem: use FIELD to describe [TX|RX]STATUS register
    fields
  hw/net/cadence_gem: use FIELD to describe IRQ register fields
  hw/net/cadence_gem: use FIELD to describe DESCONF6 register fields
  hw/net/cadence_gem: use FIELD to describe PHYMNTNC register fields
  hw/net/cadence_gem: perform PHY access on write only
  hw/net/cadence_gem: enforce 32 bits variable size for CRC

 hw/net/cadence_gem.c | 910 ++++++++++++++++++++++++-------------------
 1 file changed, 510 insertions(+), 400 deletions(-)

-- 
2.39.2