[PULL 00/40] aspeed queue

Cédric Le Goater posted 40 patches 2 weeks, 6 days ago
Failed in applying to current master (apply log)
Maintainers: "Daniel P. Berrangé" <berrange@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, "Cédric Le Goater" <clg@kaod.org>, Steven Lee <steven_lee@aspeedtech.com>, Troy Lee <leetroy@gmail.com>, Jamin Lin <jamin_lin@aspeedtech.com>, Kane Chen <kane_chen@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>, "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>
There is a newer version of this series
qapi/crypto.json                  |   33 +-
include/hw/arm/aspeed_soc.h       |    9 +-
include/hw/i2c/aspeed_i2c.h       |    3 +
include/hw/misc/aspeed_acry.h     |   39 ++
include/hw/misc/aspeed_sbc.h      |    6 +-
include/hw/sensor/tmp105.h        |   46 +-
include/hw/usb/aspeed-udc.h       |   85 +++
hw/arm/aspeed_ast10x0.c           |   14 +-
hw/arm/aspeed_ast2600.c           |   71 ++-
hw/arm/aspeed_ast2600_catalina.c  |    1 -
hw/arm/aspeed_ast2600_fuji.c      |   16 +-
hw/arm/aspeed_ast2600_sanmiguel.c |  403 ++++++++++++++
hw/i2c/aspeed_i2c.c               |   38 +-
hw/misc/aspeed_acry.c             |  481 +++++++++++++++++
hw/misc/aspeed_sbc.c              |  158 +++++-
hw/misc/aspeed_scu.c              |   21 +-
hw/sensor/tmp105.c                |  300 ++++++++---
hw/usb/aspeed-udc.c               | 1058 +++++++++++++++++++++++++++++++++++++
hw/usb/hcd-ehci.c                 |   90 ++--
tests/qtest/aspeed-acry-test.c    |  406 ++++++++++++++
tests/qtest/aspeed-hace-utils.c   |   24 +-
tests/qtest/aspeed-sbc-test.c     |  194 +++++++
tests/qtest/tmp105-test.c         |  359 +++++++++++++
tests/unit/test-crypto-akcipher.c |  236 +++++++++
crypto/akcipher-gcrypt.c.inc      |  340 +++++++++++-
crypto/akcipher-nettle.c.inc      |  272 ++++++++++
hw/arm/Kconfig                    |    1 +
hw/arm/meson.build                |    1 +
hw/misc/meson.build               |    1 +
hw/misc/trace-events              |    8 +
hw/usb/Kconfig                    |    4 +
hw/usb/meson.build                |    1 +
hw/usb/trace-events               |   16 +
tests/functional/aspeed.py        |    5 +-
tests/qtest/meson.build           |    7 +-
35 files changed, 4552 insertions(+), 195 deletions(-)
create mode 100644 include/hw/misc/aspeed_acry.h
create mode 100644 include/hw/usb/aspeed-udc.h
create mode 100644 hw/arm/aspeed_ast2600_sanmiguel.c
create mode 100644 hw/misc/aspeed_acry.c
create mode 100644 hw/usb/aspeed-udc.c
create mode 100644 tests/qtest/aspeed-acry-test.c
create mode 100644 tests/qtest/aspeed-sbc-test.c
[PULL 00/40] aspeed queue
Posted by Cédric Le Goater 2 weeks, 6 days ago
The following changes since commit ff1d2d19d7e24893e2012d879f8e73077e17b9bd:

  Merge tag 'pull-11.1-check-tcg-meson-040926-2' of https://gitlab.com/stsquad/qemu into staging (2026-09-04 16:52:58 +0100)

are available in the Git repository at:

  https://github.com/legoater/qemu/ tags/pull-aspeed-20260906

for you to fetch changes up to 1c05d7e94da04129ea16147074fe73158fb85ff9:

  tests/functional: aspeed: optionally check the device tree model on boot (2026-09-05 07:05:11 +0200)

----------------------------------------------------------------
aspeed queue:

* Fixes AST2600 SCU protection key registers on reset
* Fixes I2C byte latching for SMBus block reads
* Hardens EHCI get_dwords()/put_dwords() with DMA error checking
* Adds a second random number generator to the AST2600 SCU
* Adds the ASPEED ACRY RSA accelerator model with ModExp qtest coverage
* Adds ECDSA sign/verify support to the QEMU crypto akcipher layer
  (gcrypt, nettle backends) with tests
* Adds ECDSA verify command to the ASPEED SBC model with qtest  coverage
* Adds the ASPEED UDC (USB Device Controller) with gadget device
  and programmable endpoint DMA, wired on the AST2600
* Reworks the TMP105 temperature sensor: Resettable reset, fault
  queue enforcement, TMP75/TMP175/LM75B variants, and qtest coverage
* Adds the Facebook SanMiguel BMC machine with EEPROM data
* Uses real TMP75/LM75B models on the Catalina and Fuji boards
* Adds optional device tree model checking to functional boot tests

----------------------------------------------------------------
Andrew Jeffery (1):
      hw/misc/aspeed_scu: Set both AST2600 protection key registers on reset

Emmanuel Blot (16):
      hw/sensor: tmp105: make device state private to the implementation
      hw/sensor: tmp105: name the parent object field parent_obj
      hw/sensor: tmp105: implement Resettable reset
      hw/sensor: tmp105: enforce the configurable fault queue
      hw/sensor: tmp105: describe the temperature property
      hw/arm: aspeed: guard board-local temperature-sensor aliases
      hw/sensor: tmp105: add TMP75, TMP175 and LM75B variants
      tests/qtest: tmp105: cover the ALERT fault queue
      tests/qtest: tmp105: cover the TMP75, TMP175 and LM75B variants
      tests/qtest: tmp105: cover one-shot and fault-queue write immunity
      tests/qtest: tmp105: cover shutdown clearing the ALERT across variants
      hw/arm: sanmiguel: add Facebook SanMiguel BMC machine
      hw/arm: sanmiguel: populate EEPROM data
      hw/arm: catalina: use the real TMP75 model
      hw/arm: fuji: use the real TMP75 and LM75B temperature sensors
      tests/functional: aspeed: optionally check the device tree model on boot

Jamin Lin (23):
      hw/i2c/aspeed_i2c: Latch received bytes for SMBus block reads
      hw/usb/hcd-ehci: Check for DMA errors in get_dwords()/put_dwords()
      hw/usb/hcd-ehci: Make get_dwords() return bool
      hw/usb/hcd-ehci: Handle get_dwords() failures in async writeback
      hw/misc/aspeed_scu: Support the second random number generator
      tests/qtest/aspeed-hace-utils: Replace g_printerr() with g_test_skip()
      hw/misc/aspeed_acry: Add ASPEED ACRY model
      hw/arm/aspeed_ast2600: Introduce the ACRY SRAM
      hw/arm/aspeed_ast2600: Wire up the ACRY model
      tests/qtest/aspeed-acry-test: Add RSA ModExp tests
      qapi/crypto: Add ECDSA algorithm and curve id
      crypto/akcipher: Support ECDSA sign/verify with gcrypt
      crypto/akcipher: Support ECDSA sign/verify with nettle
      tests/crypto: Add ECDSA sign/verify tests
      hw/arm/aspeed_ast10x0: Remove obsolete unimplemented SBC mapping
      hw/misc/aspeed_sbc: Increase register space to 0x1000
      hw/arm/aspeed_ast10x0: Wire SEC SRAM to the SBC model
      hw/misc/aspeed_sbc: Support the ECDSA verify command
      tests/qtest: Add ASPEED SBC ECDSA engine test
      hw/usb/aspeed-udc: Add ASPEED UDC device controller
      hw/usb/aspeed-udc: Add ASPEED UDC gadget USB device
      hw/usb/aspeed-udc: Add programmable endpoint DMA transfers
      hw/arm/aspeed_ast2600: Wire up the UDC

 qapi/crypto.json                  |   33 +-
 include/hw/arm/aspeed_soc.h       |    9 +-
 include/hw/i2c/aspeed_i2c.h       |    3 +
 include/hw/misc/aspeed_acry.h     |   39 ++
 include/hw/misc/aspeed_sbc.h      |    6 +-
 include/hw/sensor/tmp105.h        |   46 +-
 include/hw/usb/aspeed-udc.h       |   85 +++
 hw/arm/aspeed_ast10x0.c           |   14 +-
 hw/arm/aspeed_ast2600.c           |   71 ++-
 hw/arm/aspeed_ast2600_catalina.c  |    1 -
 hw/arm/aspeed_ast2600_fuji.c      |   16 +-
 hw/arm/aspeed_ast2600_sanmiguel.c |  403 ++++++++++++++
 hw/i2c/aspeed_i2c.c               |   38 +-
 hw/misc/aspeed_acry.c             |  481 +++++++++++++++++
 hw/misc/aspeed_sbc.c              |  158 +++++-
 hw/misc/aspeed_scu.c              |   21 +-
 hw/sensor/tmp105.c                |  300 ++++++++---
 hw/usb/aspeed-udc.c               | 1058 +++++++++++++++++++++++++++++++++++++
 hw/usb/hcd-ehci.c                 |   90 ++--
 tests/qtest/aspeed-acry-test.c    |  406 ++++++++++++++
 tests/qtest/aspeed-hace-utils.c   |   24 +-
 tests/qtest/aspeed-sbc-test.c     |  194 +++++++
 tests/qtest/tmp105-test.c         |  359 +++++++++++++
 tests/unit/test-crypto-akcipher.c |  236 +++++++++
 crypto/akcipher-gcrypt.c.inc      |  340 +++++++++++-
 crypto/akcipher-nettle.c.inc      |  272 ++++++++++
 hw/arm/Kconfig                    |    1 +
 hw/arm/meson.build                |    1 +
 hw/misc/meson.build               |    1 +
 hw/misc/trace-events              |    8 +
 hw/usb/Kconfig                    |    4 +
 hw/usb/meson.build                |    1 +
 hw/usb/trace-events               |   16 +
 tests/functional/aspeed.py        |    5 +-
 tests/qtest/meson.build           |    7 +-
 35 files changed, 4552 insertions(+), 195 deletions(-)
 create mode 100644 include/hw/misc/aspeed_acry.h
 create mode 100644 include/hw/usb/aspeed-udc.h
 create mode 100644 hw/arm/aspeed_ast2600_sanmiguel.c
 create mode 100644 hw/misc/aspeed_acry.c
 create mode 100644 hw/usb/aspeed-udc.c
 create mode 100644 tests/qtest/aspeed-acry-test.c
 create mode 100644 tests/qtest/aspeed-sbc-test.c
Re: [PULL 00/40] aspeed queue
Posted by Peter Maydell 2 weeks, 5 days ago
On Sun, 6 Sept 2026 at 18:10, Cédric Le Goater <clg@redhat.com> wrote:
>
> The following changes since commit ff1d2d19d7e24893e2012d879f8e73077e17b9bd:
>
>   Merge tag 'pull-11.1-check-tcg-meson-040926-2' of https://gitlab.com/stsquad/qemu into staging (2026-09-04 16:52:58 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/legoater/qemu/ tags/pull-aspeed-20260906
>
> for you to fetch changes up to 1c05d7e94da04129ea16147074fe73158fb85ff9:
>
>   tests/functional: aspeed: optionally check the device tree model on boot (2026-09-05 07:05:11 +0200)
>
> ----------------------------------------------------------------
> aspeed queue:
>
> * Fixes AST2600 SCU protection key registers on reset
> * Fixes I2C byte latching for SMBus block reads
> * Hardens EHCI get_dwords()/put_dwords() with DMA error checking
> * Adds a second random number generator to the AST2600 SCU
> * Adds the ASPEED ACRY RSA accelerator model with ModExp qtest coverage
> * Adds ECDSA sign/verify support to the QEMU crypto akcipher layer
>   (gcrypt, nettle backends) with tests
> * Adds ECDSA verify command to the ASPEED SBC model with qtest  coverage
> * Adds the ASPEED UDC (USB Device Controller) with gadget device
>   and programmable endpoint DMA, wired on the AST2600
> * Reworks the TMP105 temperature sensor: Resettable reset, fault
>   queue enforcement, TMP75/TMP175/LM75B variants, and qtest coverage
> * Adds the Facebook SanMiguel BMC machine with EEPROM data
> * Uses real TMP75/LM75B models on the Catalina and Fuji boards
> * Adds optional device tree model checking to functional boot tests
>



Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/11.2
for any user-visible changes.

-- PMM