[PATCH 00/24] aspeed: fixes and extensions

Cédric Le Goater posted 24 patches 6 days, 14 hours ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210407171637.777743-1-clg@kaod.org
Maintainers: Joel Stanley <joel@jms.id.au>, Alistair Francis <alistair@alistair23.me>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Andrew Jeffery <andrew@aj.id.au>, Cleber Rosa <crosa@redhat.com>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Thomas Huth <thuth@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Max Reitz <mreitz@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, "Cédric Le Goater" <clg@kaod.org>
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%)

[PATCH 00/24] aspeed: fixes and extensions

Posted by Cédric Le Goater 6 days, 14 hours ago
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%)

-- 
2.26.3