Skip to content

hw/arm: Add NPCM8XX support

Hao Wu qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11docs/system/arm: Add Description for NPCM8XX SoCdocs/system/arm/nuvoton.rst+15 -50 replies
2/11hw/ssi: Make flash size a property in NPCM7XX FIUhw/arm/npcm7xx.c hw/ssi/npcm7xx_fiu.c include/hw/ssi/npcm7xx_fiu.h+9 -41 reply
3/11hw/misc: Support NPCM8XX GCR moduleMAINTAINERS hw/misc/meson.build hw/misc/npcm7xx_gcr.c +4 more+445 -2871 reply
4/11hw/misc: Support NPCM8XX CLK Module Registershw/misc/meson.build hw/misc/npcm_clk.c hw/misc/trace-events +2 more+219 -741 reply
5/11hw/misc: Store DRAM size in NPCM8XX GCR Modulehw/misc/npcm_gcr.c include/hw/misc/npcm_gcr.h+31 -31 reply
6/11hw/intc: Add a property to allow GIC to reset into non secure modehw/intc/arm_gic_common.c+2 -01 reply
7/11hw/misc: Support 8-bytes memop in NPCM GCR modulehw/misc/npcm_gcr.c hw/misc/trace-events+77 -251 reply
8/11hw/net: Add NPCM8XX PCS Modulehw/net/meson.build hw/net/npcm_pcs.c hw/net/trace-events +1 more+456 -01 reply
9/11pc-bios: Add NPCM8xx Bootrompc-bios/npcm8xx_bootrom.bin+0 -01 reply
10/11hw/arm: Add NPCM8XX SoCconfigs/devices/aarch64-softmmu/default.mak hw/arm/Kconfig hw/arm/meson.build +2 more+925 -00 replies
11/11hw/arm: Add NPCM845 Evaluation boardhw/arm/meson.build hw/arm/npcm8xx_boards.c include/hw/arm/npcm8xx.h+278 -11 reply

Reviews trailers per patch

7 of 11 patches have a Reviewed-by or Acked-by.

PatchPatrick VentureTitus RwantarePeter Maydell
1/11R-b
2/11R-b
3/11Reviwed-by
4/11R-b
5/11Reviwed-by R-b
6/11R-b
7/11R-b
8/11R-b
9/11Reviwed-by
10/11Reviwed-by Reviwed-by
11/11Reviwed-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH for-7.1 00/11] hw/arm: Add NPCM8XX support

NPCM8XX BMCs are the successors of the NPCM7XX BMCs. They feature quad-core ARM Cortex A35 that supports both 32 bits and 64 bits operations. This patch set aims to support basic functionalities of the NPCM7XX BMCs. The patch set includes:

1. We derive most devices from the 7XX models and
made some modifications.
2. We have constructed a minimum vBootROM similar to the 7XX one at
https://github.com/google/vbootrom/tree/master/npcm8xx
and included it in the patch set.
3. We added a new NPCM8XX SOC and an evaluation
board machine npcm845-evb.

The OpenBMC for NPCM845 evaluation board can be found at:
https://github.com/Nuvoton-Israel/openbmc/tree/npcm-v2.10/meta-evb/meta-evb-nuvoton/meta-evb-npcm845

The patch set can boot the evaluation board image built from the source above to login prompt.

Hao Wu (11):
docs/system/arm: Add Description for NPCM8XX SoC hw/ssi: Make flash size a property in NPCM7XX FIU hw/misc: Support NPCM8XX GCR module
hw/misc: Support NPCM8XX CLK Module Registers
hw/misc: Store DRAM size in NPCM8XX GCR Module
hw/intc: Add a property to allow GIC to reset into non secure mode hw/misc: Support 8-bytes memop in NPCM GCR module hw/net: Add NPCM8XX PCS Module
pc-bios: Add NPCM8xx Bootrom
hw/arm: Add NPCM8XX SoC
hw/arm: Add NPCM845 Evaluation board

 MAINTAINERS                                   |   9 +-
 configs/devices/aarch64-softmmu/default.mak   |   1 +
 docs/system/arm/nuvoton.rst                   |  20 +-
 hw/arm/Kconfig                                |  11 +
 hw/arm/meson.build                            |   1 +
 hw/arm/npcm7xx.c                              |   6 +
 hw/arm/npcm8xx.c                              | 806 ++++++++++++++++++
 hw/arm/npcm8xx_boards.c                       | 257 ++++++
 hw/intc/arm_gic_common.c                      |   2 +
 hw/misc/meson.build                           |   4 +-
 hw/misc/npcm7xx_gcr.c                         | 269 ------
 hw/misc/{npcm7xx_clk.c => npcm_clk.c}         | 238 ++++--
 hw/misc/npcm_gcr.c                            | 492 +++++++++++
 hw/misc/trace-events                          |  12 +-
 hw/net/meson.build                            |   1 +
 hw/net/npcm_pcs.c                             | 409 +++++++++
 hw/net/trace-events                           |   4 +
 hw/ssi/npcm7xx_fiu.c                          |   6 +-
 include/hw/arm/npcm7xx.h                      |   8 +-
 include/hw/arm/npcm8xx.h                      | 126 +++
 include/hw/misc/{npcm7xx_clk.h => npcm_clk.h} |  43 +-
 include/hw/misc/{npcm7xx_gcr.h => npcm_gcr.h} |  30 +-
 include/hw/net/npcm_pcs.h                     |  42 +
 include/hw/ssi/npcm7xx_fiu.h                  |   1 +
 pc-bios/npcm8xx_bootrom.bin                   | Bin 0 -> 608 bytes
 25 files changed, 2428 insertions(+), 370 deletions(-)
 create mode 100644 hw/arm/npcm8xx.c
 create mode 100644 hw/arm/npcm8xx_boards.c
 delete mode 100644 hw/misc/npcm7xx_gcr.c
 rename hw/misc/{npcm7xx_clk.c => npcm_clk.c} (81%)
 create mode 100644 hw/misc/npcm_gcr.c
 create mode 100644 hw/net/npcm_pcs.c
 create mode 100644 include/hw/arm/npcm8xx.h
 rename include/hw/misc/{npcm7xx_clk.h => npcm_clk.h} (83%)
 rename include/hw/misc/{npcm7xx_gcr.h => npcm_gcr.h} (55%)
 create mode 100644 include/hw/net/npcm_pcs.h
 create mode 100644 pc-bios/npcm8xx_bootrom.bin
Signature · 1 line
2.35.1.1094.g7c7d902a7c-goog