On 7/7/26 08:09, Jamin Lin wrote:
The original AST2700 FC support series [1] is fairly large, making it
difficult to review all changes together.
To help speed up the review process, this series extracts the SCU/FMC-related
refactoring into a standalone prerequisite series.
v1:
Compared with the original series, the SCU preparation patch has been
split into three smaller patches:
Introduce Aspeed2700SCUState.
Convert AST1700/AST27x0 users to the new SCU subclass.
Move the SCU link property into the AST27x0-specific coprocessor
implementation.
In addition, the SCUIO reset handling has been separated into an
independent patch.
This series contains no functional changes. It is purely a refactoring
to isolate AST2700-specific SCU support from the generic implementation
and prepare for the subsequent AST2700 FC support.
v2:
1. Pass realized PSP SoC to SSP/TSP initialization
2. Share single SCUIO instance across PSP, SSP, and TSP
3. Share FMC controller with SSP and TSP
4. Add Data FIFO-based flash access support for
This series depends on:
https://patchwork.ozlabs.org/project/qemu-devel/cover/[email protected]/
Supersedes the following patches from the original FC support series [1]:
Patch 1:
https://patchwork.kernel.org/project/qemu-devel/patch/[email protected]/
Patch 2:
https://patchwork.kernel.org/project/qemu-devel/patch/[email protected]/
Patch 4:
https://patchwork.kernel.org/project/qemu-devel/patch/[email protected]/
Patch 15:
https://patchwork.kernel.org/project/qemu-devel/patch/[email protected]/
Patch 18:
https://patchwork.kernel.org/project/qemu-devel/patch/[email protected]/
Patch
[1] Original AST2700 FC support series:
https://patchwork.kernel.org/project/qemu-devel/cover/[email protected]/
Jamin Lin (8):
hw/misc/aspeed_scu: Introduce Aspeed2700SCUState
hw/arm/aspeed: Use Aspeed2700SCUState for AST2700 users
hw/arm/aspeed_ast27x0: Move SCU link into AST27x0 coprocessors
hw/misc/aspeed_scu: Add separate reset handler for AST2700 SCUIO
hw/arm/aspeed_ast27x0: Pass realized PSP SoC to SSP/TSP initialization
hw/arm/ast27x0: Share single SCUIO instance across PSP, SSP, and TSP
hw/arm/ast27x0: Share FMC controller with SSP and TSP
hw/ssi/aspeed_smc: Add Data FIFO-based flash access support for
AST2700
include/hw/arm/aspeed_ast1700.h | 2 +-
include/hw/arm/aspeed_coprocessor.h | 11 ++-
include/hw/arm/aspeed_soc.h | 1 +
include/hw/misc/aspeed_scu.h | 5 ++
include/hw/ssi/aspeed_smc.h | 3 +-
hw/arm/aspeed_ast27x0-fc.c | 38 +++++++---
hw/arm/aspeed_ast27x0-ssp.c | 56 +++++++++++---
hw/arm/aspeed_ast27x0-tsp.c | 56 +++++++++++---
hw/arm/aspeed_ast27x0.c | 16 ++--
hw/arm/aspeed_coprocessor_common.c | 2 -
hw/misc/aspeed_scu.c | 20 ++++-
hw/ssi/aspeed_smc.c | 113 ++++++++++++++++++++++++++--
12 files changed, 267 insertions(+), 56 deletions(-)
Reviewed-by: Cédric Le Goater <[email protected]>
Thanks,
C.