[PATCH v1 00/14] hw/arm/aspeed: Add AST1040 FMC/SPI controllers and unimplemented devices

Jamin Lin posted 14 patches 1 month, 1 week ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/block/m25p80_sfdp.h                      |   1 +
include/hw/misc/aspeed_scu.h                |   2 +-
hw/arm/aspeed_ast1040.c                     |  45 ++++++++
hw/block/m25p80.c                           |   3 +-
hw/block/m25p80_sfdp.c                      |  36 ++++++
hw/ssi/aspeed_smc.c                         | 121 +++++++++++++++++++-
tests/qtest/aspeed_smc-test.c               |  61 ++++++++++
tests/functional/arm/test_aspeed_ast1040.py |  12 +-
8 files changed, 268 insertions(+), 13 deletions(-)
[PATCH v1 00/14] hw/arm/aspeed: Add AST1040 FMC/SPI controllers and unimplemented devices
Posted by Jamin Lin 1 month, 1 week ago
Dependency:

This series is based on the aspeed-next branch: 
https://github.com/legoater/qemu/commits/aspeed-next

v1:
 1. Fix AST2700 segment end address decoding
 2. Fix AST2700 DMA flash address mask
 3. Rename w25q32dw to w25q33pw and add the SFDP table for the W25Q33PW,
 4. Correct the AST1040 A0 silicon revision ID
 5. Add FMC and SPI controllers
 6. Add the FMC/SPI filters, OTP, ATC, I3C and Caliptra register
    regions as unimplemented device
 7. Update the AST1040 functional test to use the official pre-built
    image from aspeed-mcu-fw-hub v01.00.

Jamin Lin (14):
  hw/ssi/aspeed_smc: Fix AST2700 segment end address decoding
  hw/ssi/aspeed_smc: Fix AST2700 DMA flash address mask
  hw/block/m25p80: Rename w25q32dw to w25q33pw
  hw/block/m25p80: Add SFDP table for Winbond W25Q33PW flash
  hw/misc/aspeed_scu: Correct AST1040 A0 revision ID
  hw/ssi/aspeed_smc: Add AST1040 FMC and SPI controllers
  hw/arm/aspeed_ast1040: Add FMC and SPI controllers
  hw/arm/aspeed_ast1040: Add FMC and SPI filters as unimplemented
    devices
  hw/arm/aspeed_ast1040: Add OTP as an unimplemented device
  hw/arm/aspeed_ast1040: Add Anti-Tamper Controller (ATC) as an
    unimplemented device
  hw/arm/aspeed_ast1040: Add I3C as an unimplemented device
  hw/arm/aspeed_ast1040: Add Caliptra as an unimplemented device
  tests/qtest/aspeed_smc: Add AST1040 SMC tests
  tests/functional/arm/test_aspeed_ast1040: Update AST1040 image to
    aspeed-mcu-fw-hub v01.00

 hw/block/m25p80_sfdp.h                      |   1 +
 include/hw/misc/aspeed_scu.h                |   2 +-
 hw/arm/aspeed_ast1040.c                     |  45 ++++++++
 hw/block/m25p80.c                           |   3 +-
 hw/block/m25p80_sfdp.c                      |  36 ++++++
 hw/ssi/aspeed_smc.c                         | 121 +++++++++++++++++++-
 tests/qtest/aspeed_smc-test.c               |  61 ++++++++++
 tests/functional/arm/test_aspeed_ast1040.py |  12 +-
 8 files changed, 268 insertions(+), 13 deletions(-)

-- 
2.53.0
Re: [PATCH v1 00/14] hw/arm/aspeed: Add AST1040 FMC/SPI controllers and unimplemented devices
Posted by Cédric Le Goater 1 month, 1 week ago
Hello Jamin,

On 10/15/26 07:56, Jamin Lin wrote:
> Dependency:
> 
> This series is based on the aspeed-next branch:
> https://github.com/legoater/qemu/commits/aspeed-next

I appreciate all these new additions, but there are also pending proposals
that require some feedback too ...

Thanks,

C.


> 
> v1:
>   1. Fix AST2700 segment end address decoding
>   2. Fix AST2700 DMA flash address mask
>   3. Rename w25q32dw to w25q33pw and add the SFDP table for the W25Q33PW,
>   4. Correct the AST1040 A0 silicon revision ID
>   5. Add FMC and SPI controllers
>   6. Add the FMC/SPI filters, OTP, ATC, I3C and Caliptra register
>      regions as unimplemented device
>   7. Update the AST1040 functional test to use the official pre-built
>      image from aspeed-mcu-fw-hub v01.00.
> 
> Jamin Lin (14):
>    hw/ssi/aspeed_smc: Fix AST2700 segment end address decoding
>    hw/ssi/aspeed_smc: Fix AST2700 DMA flash address mask
>    hw/block/m25p80: Rename w25q32dw to w25q33pw
>    hw/block/m25p80: Add SFDP table for Winbond W25Q33PW flash
>    hw/misc/aspeed_scu: Correct AST1040 A0 revision ID
>    hw/ssi/aspeed_smc: Add AST1040 FMC and SPI controllers
>    hw/arm/aspeed_ast1040: Add FMC and SPI controllers
>    hw/arm/aspeed_ast1040: Add FMC and SPI filters as unimplemented
>      devices
>    hw/arm/aspeed_ast1040: Add OTP as an unimplemented device
>    hw/arm/aspeed_ast1040: Add Anti-Tamper Controller (ATC) as an
>      unimplemented device
>    hw/arm/aspeed_ast1040: Add I3C as an unimplemented device
>    hw/arm/aspeed_ast1040: Add Caliptra as an unimplemented device
>    tests/qtest/aspeed_smc: Add AST1040 SMC tests
>    tests/functional/arm/test_aspeed_ast1040: Update AST1040 image to
>      aspeed-mcu-fw-hub v01.00
> 
>   hw/block/m25p80_sfdp.h                      |   1 +
>   include/hw/misc/aspeed_scu.h                |   2 +-
>   hw/arm/aspeed_ast1040.c                     |  45 ++++++++
>   hw/block/m25p80.c                           |   3 +-
>   hw/block/m25p80_sfdp.c                      |  36 ++++++
>   hw/ssi/aspeed_smc.c                         | 121 +++++++++++++++++++-
>   tests/qtest/aspeed_smc-test.c               |  61 ++++++++++
>   tests/functional/arm/test_aspeed_ast1040.py |  12 +-
>   8 files changed, 268 insertions(+), 13 deletions(-)
>