Skip to content

aspeed: fixes and extensions

Cédric Le Goater qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 25 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24aspeed/smc: Use the RAM memory region for DMAshw/arm/aspeed.c hw/ssi/aspeed_smc.c+2 -31 reply
2/24aspeed/smc: Remove unused "sdram-base" propertyhw/arm/aspeed_ast2600.c hw/arm/aspeed_soc.c hw/ssi/aspeed_smc.c +1 more+0 -121 reply
3/24aspeed/i2c: Fix DMA address maskhw/i2c/aspeed_i2c.c+1 -12 replies
4/24aspeed/i2c: Rename DMA address spacehw/i2c/aspeed_i2c.c+2 -11 reply
5/24hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use aliashw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+5 -30 replies
6/24hw: Model ASPEED's Hash and Crypto Enginehw/misc/aspeed_hace.c hw/misc/meson.build include/hw/misc/aspeed_hace.h+403 -01 reply
7/24aspeed: Integrate HACEdocs/system/arm/aspeed.rst hw/arm/aspeed_ast2600.c hw/arm/aspeed_soc.c +1 more+35 -11 reply
8/24tests/qtest: Add test for Aspeed HACEMAINTAINERS tests/qtest/aspeed_hace-test.c tests/qtest/meson.build+325 -01 reply
9/24aspeed: Add Scater-Gather support for HACE Hashdocs/system/arm/aspeed.rst hw/misc/aspeed_hace.c+128 -71 reply
10/24tests: Aspeed HACE Scatter-Gather teststests/qtest/aspeed_hace-test.c+148 -00 replies
11/24tests/acceptance: Test ast2400 and ast2500 machinestests/acceptance/boot_linux_console.py+43 -01 reply
12/24tests/acceptance: Test ast2600 machinetests/acceptance/boot_linux_console.py+25 -01 reply
13/24hw/misc/aspeed_xdma: Add AST2600 supporthw/arm/aspeed_ast2600.c hw/arm/aspeed_soc.c hw/misc/aspeed_xdma.c +1 more+121 -261 reply
14/24aspeed/smc: Add a 'features' attribute to the object classhw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+26 -201 reply
15/24aspeed/smc: Add extra controls to request DMAhw/ssi/aspeed_smc.c include/hw/ssi/aspeed_smc.h+68 -72 replies
16/24tests/qtest: Rename m25p80 test in aspeed_smc testtests/qtest/aspeed_smc-test.c tests/qtest/meson.build+8 -81 reply
17/24aspeed: Remove swift-bmc machinehw/arm/aspeed.c+0 -614 replies
18/24aspeed: Add support for the rainier-bmc boardhw/arm/aspeed.c+79 -01 reply
19/24hw/misc: Add an iBT device modelhw/arm/aspeed_ast2600.c hw/arm/aspeed_soc.c hw/misc/aspeed_ibt.c +4 more+677 -00 replies
20/24aspeed: Emulate the AST2600A3hw/arm/aspeed_ast2600.c hw/misc/aspeed_scu.c include/hw/misc/aspeed_scu.h+28 -80 replies
21/24hw/block: m25p80: Add support for mt25qu02ghw/block/m25p80.c+1 -04 replies
22/24hw/misc: Add Infineon DPS310 sensor modelhw/arm/Kconfig hw/misc/Kconfig hw/misc/dps310.c +1 more+345 -00 replies
23/24arm/aspeed: Add DPS310 to rainierhw/arm/aspeed.c+1 -10 replies
24/24arm/aspeed: Add DPS310 to witherspoonhw/arm/aspeed.c+1 -10 replies

Reviews trailers per patch

16 of 24 patches have a Reviewed-by or Acked-by.

PatchCédric Le GoaterThomas HuthAndrew JefferyPhilippe Mathieu-DaudéJoel StanleyCleber RosaAlistair FrancisAdriana KobylakWillian RampazzoKlaus Heinrich KiwiEddie JamesFrancisco Iglesias
1/24R-b
2/24R-b
3/24
4/24R-b
5/24
6/24R-b R-b
7/24R-b R-b R-b R-b
8/24R-b A-b R-b
9/24
10/24
11/24R-b T-b R-b T-b R-b
12/24R-b T-b R-b
13/24R-b
14/24R-b
15/24R-b
16/24R-b
17/24R-b
18/24R-b
19/24R-b
20/24
21/24A-b R-b
22/24
23/24
24/24

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

Read the v1 thread

Cover letter [PATCH 00/24] aspeed: fixes and extensions

Hello,

This is a 6.1 series of changes I have been collecting for the Aspeed machines.

We were passing the memory address space region to the I2C and SMC controller for DMAs. Passing the RAM memory region simplifies the models. Thanks to Philippe.

Then, we have a model for the HACE (Hash And Crypto Engine) device of the Aspeed SoC from Joel plus extensions from Klaus. These should be ready but I lack a firmware image to check. An extra review would be nice to have.

Follow acceptance tests for all SoCs (AST2400, AST2500 and AST2600), a fix (kexec) for the XDMA model on the AST2600, an extra feature for the SMC model which is required by a SPI driver Aspeed is working on, a new machine, the AST2600 rainier-bmc, and the iBT device model that I have been keeping for while (2016). It is ready for review now that the LPC model (Andrew) is merged.

Finally, a new model from Joel for the DPS310 sensor device which can be found on the witherspoon and rainier boards.

Thanks,

C.

Cédric Le Goater (12):
aspeed/smc: Use the RAM memory region for DMAs aspeed/smc: Remove unused "sdram-base" property aspeed/i2c: Fix DMA address mask
aspeed/i2c: Rename DMA address space hw/misc/aspeed_xdma: Add AST2600 support aspeed/smc: Add a 'features' attribute to the object class aspeed/smc: Add extra controls to request DMA tests/qtest: Rename m25p80 test in aspeed_smc test
aspeed: Remove swift-bmc machine
aspeed: Add support for the rainier-bmc board hw/misc: Add an iBT device model
hw/block: m25p80: Add support for mt25qu02g

Joel Stanley (9):
hw: Model ASPEED's Hash and Crypto Engine
aspeed: Integrate HACE
tests/qtest: Add test for Aspeed HACE tests/acceptance: Test ast2400 and ast2500 machines tests/acceptance: Test ast2600 machine
aspeed: Emulate the AST2600A3
hw/misc: Add Infineon DPS310 sensor model arm/aspeed: Add DPS310 to rainier arm/aspeed: Add DPS310 to witherspoon

Klaus Heinrich Kiwi (2):
aspeed: Add Scater-Gather support for HACE Hash
tests: Aspeed HACE Scatter-Gather tests

Philippe Mathieu-Daudé (1):
hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias

 docs/system/arm/aspeed.rst                    |   2 +-
 include/hw/arm/aspeed_soc.h                   |   5 +
 include/hw/misc/aspeed_hace.h                 |  43 ++
 include/hw/misc/aspeed_ibt.h                  |  47 ++
 include/hw/misc/aspeed_scu.h                  |   2 +
 include/hw/misc/aspeed_xdma.h                 |  17 +-
 include/hw/ssi/aspeed_smc.h                   |   7 +-
 hw/arm/aspeed.c                               | 144 +++--
 hw/arm/aspeed_ast2600.c                       |  36 +-
 hw/arm/aspeed_soc.c                           |  35 +-
 hw/block/m25p80.c                             |   1 +
 hw/i2c/aspeed_i2c.c                           |   5 +-
 hw/misc/aspeed_hace.c                         | 480 ++++++++++++++
 hw/misc/aspeed_ibt.c                          | 596 ++++++++++++++++++
 hw/misc/aspeed_scu.c                          |  32 +-
 hw/misc/aspeed_xdma.c                         | 124 +++-
 hw/misc/dps310.c                              | 339 ++++++++++
 hw/ssi/aspeed_smc.c                           | 119 +++-
 tests/qtest/aspeed_hace-test.c                | 469 ++++++++++++++
 .../{m25p80-test.c => aspeed_smc-test.c}      |  12 +-
 MAINTAINERS                                   |   1 +
 hw/arm/Kconfig                                |   1 +
 hw/misc/Kconfig                               |   4 +
 hw/misc/meson.build                           |   3 +
 hw/misc/trace-events                          |   7 +
 tests/acceptance/boot_linux_console.py        |  68 ++
 tests/qtest/meson.build                       |   5 +-
 27 files changed, 2458 insertions(+), 146 deletions(-)
 create mode 100644 include/hw/misc/aspeed_hace.h
 create mode 100644 include/hw/misc/aspeed_ibt.h
 create mode 100644 hw/misc/aspeed_hace.c
 create mode 100644 hw/misc/aspeed_ibt.c
 create mode 100644 hw/misc/dps310.c
 create mode 100644 tests/qtest/aspeed_hace-test.c
 rename tests/qtest/{m25p80-test.c => aspeed_smc-test.c} (96%)
Signature · 1 line
2.26.3