[PATCH v1 00/16] Split AST2400, AST2600, AST2700 and AST1030 SoC machines into separate source files for maintainability

Jamin Lin via posted 16 patches 1 week ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/arm/aspeed_eeprom.h                        |   25 -
include/hw/arm/aspeed.h                       |    2 +
hw/arm/aspeed.c                               | 1144 +----------------
hw/arm/aspeed_ast10x0_evb.c                   |  107 ++
hw/arm/aspeed_ast2400_palmetto.c              |   79 ++
hw/arm/aspeed_ast2400_quanta-q71l.c           |   85 ++
hw/arm/aspeed_ast2400_supermicrox11.c         |   80 ++
hw/arm/aspeed_ast2600_bletchley.c             |   95 ++
hw/arm/aspeed_ast2600_catalina.c              |  223 ++++
hw/arm/aspeed_ast2600_evb.c                   |   64 +
...aspeed_eeprom.c => aspeed_ast2600_fby35.c} |  164 ++-
hw/arm/aspeed_ast2600_fuji.c                  |  138 ++
hw/arm/aspeed_ast2600_gb200nvl.c              |  109 ++
hw/arm/aspeed_ast2600_qcom-dc-scm-v1.c        |   54 +
hw/arm/aspeed_ast2600_qcom-firework.c         |   90 ++
hw/arm/aspeed_ast2600_rainier.c               |  197 +++
hw/arm/aspeed_ast27x0_evb.c                   |   86 ++
hw/arm/meson.build                            |   15 +-
18 files changed, 1521 insertions(+), 1236 deletions(-)
delete mode 100644 hw/arm/aspeed_eeprom.h
create mode 100644 hw/arm/aspeed_ast10x0_evb.c
create mode 100644 hw/arm/aspeed_ast2400_palmetto.c
create mode 100644 hw/arm/aspeed_ast2400_quanta-q71l.c
create mode 100644 hw/arm/aspeed_ast2400_supermicrox11.c
create mode 100644 hw/arm/aspeed_ast2600_bletchley.c
create mode 100644 hw/arm/aspeed_ast2600_catalina.c
create mode 100644 hw/arm/aspeed_ast2600_evb.c
rename hw/arm/{aspeed_eeprom.c => aspeed_ast2600_fby35.c} (51%)
create mode 100644 hw/arm/aspeed_ast2600_fuji.c
create mode 100644 hw/arm/aspeed_ast2600_gb200nvl.c
create mode 100644 hw/arm/aspeed_ast2600_qcom-dc-scm-v1.c
create mode 100644 hw/arm/aspeed_ast2600_qcom-firework.c
create mode 100644 hw/arm/aspeed_ast2600_rainier.c
create mode 100644 hw/arm/aspeed_ast27x0_evb.c
[PATCH v1 00/16] Split AST2400, AST2600, AST2700 and AST1030 SoC machines into separate source files for maintainability
Posted by Jamin Lin via 1 week ago
This series depends on the following patch series:
https://patchwork.kernel.org/project/qemu-devel/cover/20251023100150.295370-1-jamin_lin@aspeedtech.com/

v1:
 1. Split each Aspeed machine into its own source file for better
    readability and maintainability:
    - Quanta-Q71L
    - Supermicro X11
    - Palmetto
    - Bletchley
    - fby35 BMC
    - Facebook Fuji
    - QCOM Firework
    - QCOM DC-SCM V1
    - GB200NVL
    - Rainier
    - Catalina
    - AST2600 EVB
    - AST2700 EVB
    - AST1030 EVB
 2. Make aspeed_machine_ast2600_class_emmc_init() a shared API
    for eMMC boot setup.
 3. Promote connect_serial_hds_to_uarts() to a public machine API
    for reuse across platforms.

Jamin Lin (16):
  hw/arm/aspeed: Split Quanta-Q71L machine into a separate source file
    for maintainability
  hw/arm/aspeed: Split Supermicro X11 machine into a separate source
    file for maintainability
  hw/arm/aspeed: Split Palmetto machine into a separate source file for
    maintainability
  hw/arm/aspeed: Split Bletchley machine into a separate source file for
    maintainability
  hw/arm/aspeed: Split fby35 BMC machine into a separate source file for
    maintainability
  hw/arm/aspeed: Split Facebook Fuji machine into a separate source file
    for maintainability
  hw/arm/aspeed: Split QCOM Firework machine into a separate source file
    for maintainability
  hw/arm/aspeed: Split QCOM DC-SCM V1 machine into a separate source
    file for maintainability
  hw/arm/aspeed: Make aspeed_machine_ast2600_class_emmc_init() a common
    API for eMMC boot setup
  hw/arm/aspeed: Split GB200NVL machine into a separate source file for
    maintainability
  hw/arm/aspeed: Split Rainier machine into a separate source file for
    maintainability
  hw/arm/aspeed: Split Catalina machine into a separate source file for
    maintainability
  hw/arm/aspeed: Split AST2600 EVB machine into a separate source file
    for maintainability
  hw/arm/aspeed: Split AST2700 EVB machine into a separate source file
    for maintainability
  hw/arm/aspeed: Promote connect_serial_hds_to_uarts() to public machine
    API
  hw/arm/aspeed: Split AST1030 EVB machine into a separate source file
    for maintainability

 hw/arm/aspeed_eeprom.h                        |   25 -
 include/hw/arm/aspeed.h                       |    2 +
 hw/arm/aspeed.c                               | 1144 +----------------
 hw/arm/aspeed_ast10x0_evb.c                   |  107 ++
 hw/arm/aspeed_ast2400_palmetto.c              |   79 ++
 hw/arm/aspeed_ast2400_quanta-q71l.c           |   85 ++
 hw/arm/aspeed_ast2400_supermicrox11.c         |   80 ++
 hw/arm/aspeed_ast2600_bletchley.c             |   95 ++
 hw/arm/aspeed_ast2600_catalina.c              |  223 ++++
 hw/arm/aspeed_ast2600_evb.c                   |   64 +
 ...aspeed_eeprom.c => aspeed_ast2600_fby35.c} |  164 ++-
 hw/arm/aspeed_ast2600_fuji.c                  |  138 ++
 hw/arm/aspeed_ast2600_gb200nvl.c              |  109 ++
 hw/arm/aspeed_ast2600_qcom-dc-scm-v1.c        |   54 +
 hw/arm/aspeed_ast2600_qcom-firework.c         |   90 ++
 hw/arm/aspeed_ast2600_rainier.c               |  197 +++
 hw/arm/aspeed_ast27x0_evb.c                   |   86 ++
 hw/arm/meson.build                            |   15 +-
 18 files changed, 1521 insertions(+), 1236 deletions(-)
 delete mode 100644 hw/arm/aspeed_eeprom.h
 create mode 100644 hw/arm/aspeed_ast10x0_evb.c
 create mode 100644 hw/arm/aspeed_ast2400_palmetto.c
 create mode 100644 hw/arm/aspeed_ast2400_quanta-q71l.c
 create mode 100644 hw/arm/aspeed_ast2400_supermicrox11.c
 create mode 100644 hw/arm/aspeed_ast2600_bletchley.c
 create mode 100644 hw/arm/aspeed_ast2600_catalina.c
 create mode 100644 hw/arm/aspeed_ast2600_evb.c
 rename hw/arm/{aspeed_eeprom.c => aspeed_ast2600_fby35.c} (51%)
 create mode 100644 hw/arm/aspeed_ast2600_fuji.c
 create mode 100644 hw/arm/aspeed_ast2600_gb200nvl.c
 create mode 100644 hw/arm/aspeed_ast2600_qcom-dc-scm-v1.c
 create mode 100644 hw/arm/aspeed_ast2600_qcom-firework.c
 create mode 100644 hw/arm/aspeed_ast2600_rainier.c
 create mode 100644 hw/arm/aspeed_ast27x0_evb.c

-- 
2.43.0