[PULL 00/45] aspeed queue

Cédric Le Goater posted 45 patches 2 days, 17 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260204103136.1795455-1-clg@redhat.com
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Steven Lee <steven_lee@aspeedtech.com>, Troy Lee <leetroy@gmail.com>, Jamin Lin <jamin_lin@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Alistair Francis <alistair@alistair23.me>, Glenn Miles <milesg@linux.ibm.com>
There is a newer version of this series
MAINTAINERS                                        |   2 +
docs/system/arm/aspeed.rst                         |   8 +-
include/hw/arm/aspeed_ast1700.h                    |  54 ++++
include/hw/arm/aspeed_soc.h                        |  25 +-
include/hw/gpio/pca9552.h                          |   1 +
include/hw/gpio/pca9552_regs.h                     |  10 +
include/hw/i2c/aspeed_i2c.h                        |   2 +
include/hw/intc/aspeed_intc.h                      |   2 +
include/hw/misc/aspeed_ltpi.h                      |  33 +++
include/hw/misc/aspeed_pwm.h                       |  30 +++
include/hw/pci-host/aspeed_pcie.h                  |  11 -
hw/adc/aspeed_adc.c                                |   3 +-
hw/arm/aspeed_ast1700.c                            | 276 +++++++++++++++++++++
hw/arm/aspeed_ast2600.c                            |   8 +-
hw/arm/aspeed_ast2600_catalina.c                   |   4 +-
hw/arm/aspeed_ast27x0-ssp.c                        |  14 +-
hw/arm/aspeed_ast27x0-tsp.c                        |  14 +-
hw/arm/aspeed_ast27x0.c                            | 169 ++++++++++++-
hw/gpio/pca9552.c                                  | 176 +++++++++----
hw/i2c/aspeed_i2c.c                                | 120 ++++++---
hw/intc/aspeed_intc.c                              |  60 +++++
hw/misc/aspeed_ltpi.c                              | 193 ++++++++++++++
hw/misc/aspeed_pwm.c                               | 120 +++++++++
hw/pci-host/aspeed_pcie.c                          |  76 +-----
hw/arm/meson.build                                 |   1 +
hw/misc/meson.build                                |   2 +
hw/misc/trace-events                               |   4 +
pc-bios/ast27x0_bootrom.bin                        | Bin 16408 -> 28564 bytes
pc-bios/npcm7xx_bootrom.bin                        | Bin 672 -> 736 bytes
pc-bios/npcm8xx_bootrom.bin                        | Bin 672 -> 672 bytes
roms/vbootrom                                      |   2 +-
tests/functional/aarch64/test_aspeed_ast2700.py    | 137 ++++++----
tests/functional/aarch64/test_aspeed_ast2700fc.py  |  54 ++--
tests/functional/arm/test_aspeed_ast1030.py        |  12 +-
tests/functional/arm/test_aspeed_ast1060.py        |  14 +-
tests/functional/arm/test_aspeed_ast2500.py        |  16 +-
.../arm/test_aspeed_ast2600_buildroot.py           |   8 +-
tests/functional/arm/test_aspeed_ast2600_sdk.py    |  22 +-
38 files changed, 1352 insertions(+), 331 deletions(-)
create mode 100644 include/hw/arm/aspeed_ast1700.h
create mode 100644 include/hw/misc/aspeed_ltpi.h
create mode 100644 include/hw/misc/aspeed_pwm.h
create mode 100644 hw/arm/aspeed_ast1700.c
create mode 100644 hw/misc/aspeed_ltpi.c
create mode 100644 hw/misc/aspeed_pwm.c
[PULL 00/45] aspeed queue
Posted by Cédric Le Goater 2 days, 17 hours ago
The following changes since commit 28a6ca268c2cd3718b5bf24c2d97e3d1e95fc604:

  Merge tag 'single-binary-20260203' of https://github.com/philmd/qemu into staging (2026-02-04 01:57:26 +1000)

are available in the Git repository at:

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

for you to fetch changes up to e56e45d5bdc808ed52f943d1a785e4d885b6f18f:

  tests/functional/aarch64: Add I2C test for AST1700 IO expanders (2026-02-04 10:10:57 +0100)

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

* Added support for the new AST1700 IO expander, including several
  device models (LTPI, PWM, I2C, GPIO, etc.).
* Updated the AST2700 SoC with LTPI support, EHCI IRQ fixes, and other
  improvements.
* Updated test images and test cases for various Aspeed platforms.
* Fixed issues in the Aspeed I2C and ADC models.
* Added support for pca9535 GPIO expander.
* Updated documentation for Aspeed boards.

----------------------------------------------------------------
Cédric Le Goater (3):
      Merge tag 'pull-vbootrom-20260116-v3' into aspeed-next
      tests/functional/arm/aspeed: Update buildroot images to 2025.11
      hw/adc: Fix out-of-bounds write in Aspeed ADC model

Jamin Lin (17):
      pc-bios: Update vbootrom image to commit 1c8e9510b22c
      MAINTAINERS: Update ASPEED entry
      tests/functional/arm/test_aspeed_ast2500: Update test ASPEED SDK v10.00
      hw/pci-host/aspeed_pcie: Drop AST2600 PCIe root device
      hw/pci-host/aspeed_pcie: Drop AST2600 RC_H root-bus remap and bus-nr property
      hw/arm/aspeed_ast2600: Expand RC_H PCIe MMIO window to 0x60000000 - 0x80000000
      tests/functional/arm/test_aspeed_ast2600_sdk: Update test ASPEED SDK v11.00
      tests/functional/arm/test_aspeed_ast1060: Update test aspeed-zephyr-project v03.04
      tests/functional/arm/test_aspeed_ast1030: Update test ASPEED Zephyr SDK v03.05
      hw/arm/aspeed_ast27x0: Fix EHCI3/4 IRQ routing to GIC
      hw/arm/aspeed_ast27x0: Sort SSP and TSP memmap tables by address
      hw/arm/aspeed_ast27x0: Sort SSP and TSP IRQ maps
      hw/i2c/aspeed_i2c: Fix DMA moving data into incorrect address
      tests/functional/aarch64/test_aspeed_ast2700: Enable PCIe2 DTS status for AST2700 tests
      tests/functional/aarch64/test_aspeed_ast2700: Update test ASPEED SDK v11.00 for A1
      tests/functional/aarch64/test_aspeed_ast2700fc: Update test ASPEED SDK v11.00 for A1
      docs/system/arm/aspeed: Load raw U-Boot image in AST2700 boot example

Kane Chen (22):
      hw/misc: Add LTPI controller
      hw/arm/aspeed: Attach LTPI controller to AST27X0 platform
      hw/misc: Add basic Aspeed PWM model
      hw/arm/aspeed: Add AST1700 LTPI expander device model
      hw/arm/aspeed: Integrate AST1700 device into AST27X0
      hw/arm/aspeed: Integrate interrupt controller for AST1700
      hw/arm/aspeed: Attach LTPI controller to AST1700 model
      hw/arm/aspeed: Attach UART device to AST1700 model
      hw/arm/aspeed: Attach SRAM device to AST1700 model
      hw/arm/aspeed: Attach SPI device to AST1700 model
      hw/arm/aspeed: Attach ADC device to AST1700 model
      hw/arm/aspeed: Attach SCU device to AST1700 model
      hw/arm/aspeed: Attach GPIO device to AST1700 model
      hw/arm/aspeed: attach I2C device to AST1700 model
      hw/arm/aspeed: Attach WDT device to AST1700 model
      hw/arm/aspeed: Attach PWM device to AST1700 model
      hw/arm/aspeed: Attach SGPIOM device to AST1700 model
      hw/arm/aspeed: Model AST1700 I3C block as unimplemented device
      hw/arm/aspeed: Enable AST1700 IO expander support
      tests/functional/aarch64: Parameterize I2C bus ID in AST2700 test
      tests/functional/aarch64: Parameterize PCIe2 initialization in AST2700
      tests/functional/aarch64: Add I2C test for AST1700 IO expanders

Kane-Chen-AS (1):
      hw/i2c/aspeed: Introduce 'bus-label' to customize bus naming

Nabih Estefan (1):
      hw/i2c/aspeed_i2c.c: Add a check for dma_read

Patrick Williams (2):
      hw/gpio/pca9552: add pca9535 support
      hw/arm/aspeed: catalina: use pca9535

 MAINTAINERS                                        |   2 +
 docs/system/arm/aspeed.rst                         |   8 +-
 include/hw/arm/aspeed_ast1700.h                    |  54 ++++
 include/hw/arm/aspeed_soc.h                        |  25 +-
 include/hw/gpio/pca9552.h                          |   1 +
 include/hw/gpio/pca9552_regs.h                     |  10 +
 include/hw/i2c/aspeed_i2c.h                        |   2 +
 include/hw/intc/aspeed_intc.h                      |   2 +
 include/hw/misc/aspeed_ltpi.h                      |  33 +++
 include/hw/misc/aspeed_pwm.h                       |  30 +++
 include/hw/pci-host/aspeed_pcie.h                  |  11 -
 hw/adc/aspeed_adc.c                                |   3 +-
 hw/arm/aspeed_ast1700.c                            | 276 +++++++++++++++++++++
 hw/arm/aspeed_ast2600.c                            |   8 +-
 hw/arm/aspeed_ast2600_catalina.c                   |   4 +-
 hw/arm/aspeed_ast27x0-ssp.c                        |  14 +-
 hw/arm/aspeed_ast27x0-tsp.c                        |  14 +-
 hw/arm/aspeed_ast27x0.c                            | 169 ++++++++++++-
 hw/gpio/pca9552.c                                  | 176 +++++++++----
 hw/i2c/aspeed_i2c.c                                | 120 ++++++---
 hw/intc/aspeed_intc.c                              |  60 +++++
 hw/misc/aspeed_ltpi.c                              | 193 ++++++++++++++
 hw/misc/aspeed_pwm.c                               | 120 +++++++++
 hw/pci-host/aspeed_pcie.c                          |  76 +-----
 hw/arm/meson.build                                 |   1 +
 hw/misc/meson.build                                |   2 +
 hw/misc/trace-events                               |   4 +
 pc-bios/ast27x0_bootrom.bin                        | Bin 16408 -> 28564 bytes
 pc-bios/npcm7xx_bootrom.bin                        | Bin 672 -> 736 bytes
 pc-bios/npcm8xx_bootrom.bin                        | Bin 672 -> 672 bytes
 roms/vbootrom                                      |   2 +-
 tests/functional/aarch64/test_aspeed_ast2700.py    | 137 ++++++----
 tests/functional/aarch64/test_aspeed_ast2700fc.py  |  54 ++--
 tests/functional/arm/test_aspeed_ast1030.py        |  12 +-
 tests/functional/arm/test_aspeed_ast1060.py        |  14 +-
 tests/functional/arm/test_aspeed_ast2500.py        |  16 +-
 .../arm/test_aspeed_ast2600_buildroot.py           |   8 +-
 tests/functional/arm/test_aspeed_ast2600_sdk.py    |  22 +-
 38 files changed, 1352 insertions(+), 331 deletions(-)
 create mode 100644 include/hw/arm/aspeed_ast1700.h
 create mode 100644 include/hw/misc/aspeed_ltpi.h
 create mode 100644 include/hw/misc/aspeed_pwm.h
 create mode 100644 hw/arm/aspeed_ast1700.c
 create mode 100644 hw/misc/aspeed_ltpi.c
 create mode 100644 hw/misc/aspeed_pwm.c


Re: [PULL 00/45] aspeed queue
Posted by Peter Maydell 1 day, 14 hours ago
On Wed, 4 Feb 2026 at 10:31, Cédric Le Goater <clg@redhat.com> wrote:
>
> The following changes since commit 28a6ca268c2cd3718b5bf24c2d97e3d1e95fc604:
>
>   Merge tag 'single-binary-20260203' of https://github.com/philmd/qemu into staging (2026-02-04 01:57:26 +1000)
>
> are available in the Git repository at:
>
>   https://github.com/legoater/qemu/ tags/pull-aspeed-20260204
>
> for you to fetch changes up to e56e45d5bdc808ed52f943d1a785e4d885b6f18f:
>
>   tests/functional/aarch64: Add I2C test for AST1700 IO expanders (2026-02-04 10:10:57 +0100)

I noticed this a bit late, but:

> ----------------------------------------------------------------
> Cédric Le Goater (3):
>       Merge tag 'pull-vbootrom-20260116-v3' into aspeed-next

could you not include merge commits in your pull requests, please?
We don't generally do that (the last one I think where we had it
was back in 2023), and it will definitely cause you problems if
I ever bounce a pullreq back to you with "please rebase"...

thanks
-- PMM
Re: [PULL 00/45] aspeed queue
Posted by Cédric Le Goater 1 day, 12 hours ago
On 2/5/26 14:49, Peter Maydell wrote:
> On Wed, 4 Feb 2026 at 10:31, Cédric Le Goater <clg@redhat.com> wrote:
>>
>> The following changes since commit 28a6ca268c2cd3718b5bf24c2d97e3d1e95fc604:
>>
>>    Merge tag 'single-binary-20260203' of https://github.com/philmd/qemu into staging (2026-02-04 01:57:26 +1000)
>>
>> are available in the Git repository at:
>>
>>    https://github.com/legoater/qemu/ tags/pull-aspeed-20260204
>>
>> for you to fetch changes up to e56e45d5bdc808ed52f943d1a785e4d885b6f18f:
>>
>>    tests/functional/aarch64: Add I2C test for AST1700 IO expanders (2026-02-04 10:10:57 +0100)
> 
> I noticed this a bit late, but:
> 
>> ----------------------------------------------------------------
>> Cédric Le Goater (3):
>>        Merge tag 'pull-vbootrom-20260116-v3' into aspeed-next
> 
> could you not include merge commits in your pull requests, please?

Ok. I don't do that often. I will remember.

> We don't generally do that (the last one I think where we had it
> was back in 2023), and it will definitely cause you problems if
> I ever bounce a pullreq back to you with "please rebase"...

Sure ...

Thanks,

C.


Re: [PULL 00/45] aspeed queue
Posted by Peter Maydell 1 day, 17 hours ago
On Wed, 4 Feb 2026 at 10:31, Cédric Le Goater <clg@redhat.com> wrote:
>
> The following changes since commit 28a6ca268c2cd3718b5bf24c2d97e3d1e95fc604:
>
>   Merge tag 'single-binary-20260203' of https://github.com/philmd/qemu into staging (2026-02-04 01:57:26 +1000)
>
> are available in the Git repository at:
>
>   https://github.com/legoater/qemu/ tags/pull-aspeed-20260204
>
> for you to fetch changes up to e56e45d5bdc808ed52f943d1a785e4d885b6f18f:
>
>   tests/functional/aarch64: Add I2C test for AST1700 IO expanders (2026-02-04 10:10:57 +0100)
>
> ----------------------------------------------------------------
> aspeed queue:
>
> * Added support for the new AST1700 IO expander, including several
>   device models (LTPI, PWM, I2C, GPIO, etc.).
> * Updated the AST2700 SoC with LTPI support, EHCI IRQ fixes, and other
>   improvements.
> * Updated test images and test cases for various Aspeed platforms.
> * Fixed issues in the Aspeed I2C and ADC models.
> * Added support for pca9535 GPIO expander.
> * Updated documentation for Aspeed boards.
>
> ----------------------------------------------------------------



Applied, thanks.

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

-- PMM