qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/24] aspeed: fixes and extensions
@ 2021-04-07 17:16 Cédric Le Goater
  2021-04-07 17:16 ` [PATCH 01/24] aspeed/smc: Use the RAM memory region for DMAs Cédric Le Goater
                   ` (23 more replies)
  0 siblings, 24 replies; 50+ messages in thread
From: Cédric Le Goater @ 2021-04-07 17:16 UTC (permalink / raw)
  To: Peter Maydell
  Cc: Andrew Jeffery, Cédric Le Goater, qemu-arm, Joel Stanley,
	qemu-devel

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



^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2021-04-10  7:09 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-07 17:16 [PATCH 00/24] aspeed: fixes and extensions Cédric Le Goater
2021-04-07 17:16 ` [PATCH 01/24] aspeed/smc: Use the RAM memory region for DMAs Cédric Le Goater
2021-04-07 17:32   ` Philippe Mathieu-Daudé
2021-04-07 17:16 ` [PATCH 02/24] aspeed/smc: Remove unused "sdram-base" property Cédric Le Goater
2021-04-07 17:32   ` Philippe Mathieu-Daudé
2021-04-07 17:16 ` [PATCH 03/24] aspeed/i2c: Fix DMA address mask Cédric Le Goater
2021-04-07 21:22   ` Philippe Mathieu-Daudé
2021-04-08  8:58     ` Cédric Le Goater
2021-04-07 17:16 ` [PATCH 04/24] aspeed/i2c: Rename DMA address space Cédric Le Goater
2021-04-07 17:33   ` Philippe Mathieu-Daudé
2021-04-07 17:16 ` [PATCH 05/24] hw/arm/aspeed: Do not sysbus-map mmio flash region directly, use alias Cédric Le Goater
2021-04-07 17:16 ` [PATCH 06/24] hw: Model ASPEED's Hash and Crypto Engine Cédric Le Goater
2021-04-07 19:31   ` Klaus Heinrich Kiwi
2021-04-07 17:16 ` [PATCH 07/24] aspeed: Integrate HACE Cédric Le Goater
2021-04-07 19:22   ` Klaus Heinrich Kiwi
2021-04-07 17:16 ` [PATCH 08/24] tests/qtest: Add test for Aspeed HACE Cédric Le Goater
2021-04-07 19:33   ` Klaus Heinrich Kiwi
2021-04-07 17:16 ` [PATCH 09/24] aspeed: Add Scater-Gather support for HACE Hash Cédric Le Goater
2021-04-08 12:39   ` Joel Stanley
2021-04-07 17:16 ` [PATCH 10/24] tests: Aspeed HACE Scatter-Gather tests Cédric Le Goater
2021-04-07 17:16 ` [PATCH 11/24] tests/acceptance: Test ast2400 and ast2500 machines Cédric Le Goater
2021-04-07 18:40   ` Willian Rampazzo
2021-04-07 17:16 ` [PATCH 12/24] tests/acceptance: Test ast2600 machine Cédric Le Goater
2021-04-07 18:36   ` Willian Rampazzo
2021-04-07 17:16 ` [PATCH 13/24] hw/misc/aspeed_xdma: Add AST2600 support Cédric Le Goater
2021-04-07 20:29   ` Eddie James
2021-04-07 17:16 ` [PATCH 14/24] aspeed/smc: Add a 'features' attribute to the object class Cédric Le Goater
2021-04-09  6:55   ` Joel Stanley
2021-04-07 17:16 ` [PATCH 15/24] aspeed/smc: Add extra controls to request DMA Cédric Le Goater
2021-04-09  6:54   ` Joel Stanley
2021-04-10  7:08     ` Cédric Le Goater
2021-04-07 17:16 ` [PATCH 16/24] tests/qtest: Rename m25p80 test in aspeed_smc test Cédric Le Goater
2021-04-09  6:55   ` Joel Stanley
2021-04-07 17:16 ` [PATCH 17/24] aspeed: Remove swift-bmc machine Cédric Le Goater
2021-04-07 18:13   ` Adriana Kobylak
2021-04-07 18:29   ` Peter Maydell
2021-04-08  7:40     ` Cédric Le Goater
2021-04-08  9:05       ` Peter Maydell
2021-04-07 17:16 ` [PATCH 18/24] aspeed: Add support for the rainier-bmc board Cédric Le Goater
2021-04-09  6:57   ` Joel Stanley
2021-04-07 17:16 ` [PATCH 19/24] hw/misc: Add an iBT device model Cédric Le Goater
2021-04-07 17:16 ` [PATCH 20/24] aspeed: Emulate the AST2600A3 Cédric Le Goater
2021-04-07 17:16 ` [PATCH 21/24] hw/block: m25p80: Add support for mt25qu02g Cédric Le Goater
2021-04-07 17:36   ` Alistair Francis
2021-04-08  8:00   ` Francisco Iglesias
2021-04-08  8:40     ` Cédric Le Goater
2021-04-08  9:21       ` Francisco Iglesias
2021-04-07 17:16 ` [PATCH 22/24] hw/misc: Add Infineon DPS310 sensor model Cédric Le Goater
2021-04-07 17:16 ` [PATCH 23/24] arm/aspeed: Add DPS310 to rainier Cédric Le Goater
2021-04-07 17:16 ` [PATCH 24/24] arm/aspeed: Add DPS310 to witherspoon Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).