Skip to content

aspeed: SMC cleanups and QOMification

Cédric Le Goater qemu-arm qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 0 repliesNew
  2. v110 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- fixed ABR modeling
- rewrote some commit logs
- use of g_autofree variables

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12aspeed/smc: Add watchdog Control/Status Registershw/ssi/aspeed_smc.c+18 -10 replies
2/12aspeed/smc: Introduce aspeed_smc_error() helperhw/ssi/aspeed_smc.c+45 -520 replies
3/12aspeed/smc: Stop using the model name for the memory regionshw/ssi/aspeed_smc.c+10 -150 replies
4/12aspeed/smc: Drop AspeedSMCController structurehw/arm/aspeed_ast2600.c hw/arm/aspeed_soc.c hw/ssi/aspeed_smc.c +1 more+511 -4220 replies
5/12aspeed/smc: Remove the 'flash' attribute from AspeedSMCFlashhw/arm/aspeed.c include/hw/ssi/aspeed_smc.h+5 -70 replies
6/12aspeed/smc: Remove the 'size' attribute from AspeedSMCFlashhw/arm/aspeed.c hw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+6 -70 replies
7/12aspeed/smc: Rename AspeedSMCFlash 'id' to 'cs'hw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+16 -160 replies
8/12aspeed/smc: QOMify AspeedSMCFlashhw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+77 -120 replies
9/12aspeed/smc: Add default reset valueshw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+28 -250 replies
10/12aspeed/smc: Introduce a new addr_width() class handlerhw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+13 -70 replies
11/12aspeed/smc: Remove unused attribute 'irqline'include/hw/ssi/aspeed_smc.h+0 -10 replies
12/12aspeed/i2c: QOMify AspeedI2CBushw/arm/aspeed_ast2600.c hw/i2c/aspeed_i2c.c include/hw/i2c/aspeed_i2c.h+91 -250 replies

Reviews trailers per patch

5 of 12 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéPeter Delevoryas
1/12R-b
2/12
3/12
4/12
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12
10/12
11/12
12/12

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

Read the v2 thread

Cover letter [PATCH v2 00/12] aspeed: SMC cleanups and QOMification

Hello,

It looks big but there are no major changes.

This series adds dummy support for the 2nd watchdog registers which were moved under the AST2600 FMC controller to deactivate the alternate boot function. Then come cleanups of the AspeedSMC model mostly removing a useless AspeedSMCController structure (that's the noisy part) and QOMifying the AspeedSMCFlash and AspeedI2CBus structures.

Thanks,

C.

Changes in v2:

- fixed ABR modeling
- rewrote some commit logs
- use of g_autofree variables

Cédric Le Goater (12):
aspeed/smc: Add watchdog Control/Status Registers aspeed/smc: Introduce aspeed_smc_error() helper aspeed/smc: Stop using the model name for the memory regions aspeed/smc: Drop AspeedSMCController structure aspeed/smc: Remove the 'flash' attribute from AspeedSMCFlash aspeed/smc: Remove the 'size' attribute from AspeedSMCFlash aspeed/smc: Rename AspeedSMCFlash 'id' to 'cs' aspeed/smc: QOMify AspeedSMCFlash
aspeed/smc: Add default reset values
aspeed/smc: Introduce a new addr_width() class handler aspeed/smc: Remove unused attribute 'irqline' aspeed/i2c: QOMify AspeedI2CBus

 include/hw/i2c/aspeed_i2c.h |    8 +-
 include/hw/ssi/aspeed_smc.h |   82 ++-
 hw/arm/aspeed.c             |   18 +-
 hw/arm/aspeed_ast2600.c     |   11 +-
 hw/arm/aspeed_soc.c         |    4 +-
 hw/i2c/aspeed_i2c.c         |  101 +++-
 hw/ssi/aspeed_smc.c         | 1128 ++++++++++++++++++++---------------
 7 files changed, 791 insertions(+), 561 deletions(-)
Signature · 1 line
2.31.1