All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/9] Refactor AST2700 SCU preparation for coprocessors
@ 2026-07-17  8:46 Jamin Lin
  2026-07-17  8:46 ` [PATCH v4 1/9] hw/misc/aspeed_scu: Introduce Aspeed2700SCUState Jamin Lin
                   ` (9 more replies)
  0 siblings, 10 replies; 12+ messages in thread
From: Jamin Lin @ 2026-07-17  8:46 UTC (permalink / raw)
  To: Cédric Le Goater, Peter Maydell, Steven Lee, Troy Lee,
	Kane Chen, Andrew Jeffery, Joel Stanley, Alistair Francis,
	Fabiano Rosas, Laurent Vivier, Paolo Bonzini,
	open list:ASPEED BMCs, open list:All patches CC here
  Cc: Jamin Lin, Troy Lee

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.

This series depends on https://github.com/legoater/qemu.git at aspeed-next branch.

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

v3:
  1. Add Data FIFO mode test
  2. Clarify SCU/SCUIO/FMC fields are shared with PSP SoC to AST2700
  3. Bump vmstate version after ASPEED_SMC_R_MAX increase

v4:
  1. Fix to apply patch failure

Supersedes the following patches from the original FC support series [1]:

Patch 1:
https://patchwork.kernel.org/project/qemu-devel/patch/20260417032837.2664122-2-jamin_lin@aspeedtech.com/

Patch 2:
https://patchwork.kernel.org/project/qemu-devel/patch/20260417032837.2664122-3-jamin_lin@aspeedtech.com/

Patch 4:
https://patchwork.kernel.org/project/qemu-devel/patch/20260417032837.2664122-12-jamin_lin@aspeedtech.com/

Patch 15:
https://patchwork.kernel.org/project/qemu-devel/patch/20260417032837.2664122-16-jamin_lin@aspeedtech.com/

Patch 18:
https://patchwork.kernel.org/project/qemu-devel/patch/20260417032837.2664122-19-jamin_lin@aspeedtech.com/

Patch 
[1] Original AST2700 FC support series:
https://patchwork.kernel.org/project/qemu-devel/cover/20260417032837.2664122-1-jamin_lin@aspeedtech.com/

Jamin Lin (9):
  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
  tests/qtest/ast2700-smc-test: Add Data FIFO mode test

 include/hw/arm/aspeed_ast1700.h     |   2 +-
 include/hw/arm/aspeed_coprocessor.h |  16 +++-
 include/hw/arm/aspeed_soc.h         |   1 +
 include/hw/misc/aspeed_scu.h        |   5 ++
 include/hw/ssi/aspeed_smc.h         |   3 +-
 tests/qtest/aspeed-smc-utils.h      |   4 +
 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                 | 117 +++++++++++++++++++++++++---
 tests/qtest/aspeed-smc-utils.c      | 102 ++++++++++++++++++++++++
 tests/qtest/ast2700-smc-test.c      |   4 +
 15 files changed, 384 insertions(+), 58 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-07-17 10:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-17  8:46 [PATCH v4 0/9] Refactor AST2700 SCU preparation for coprocessors Jamin Lin
2026-07-17  8:46 ` [PATCH v4 1/9] hw/misc/aspeed_scu: Introduce Aspeed2700SCUState Jamin Lin
2026-07-17  8:46 ` [PATCH v4 2/9] hw/arm/aspeed: Use Aspeed2700SCUState for AST2700 users Jamin Lin
2026-07-17  8:46 ` [PATCH v4 3/9] hw/arm/aspeed_ast27x0: Move SCU link into AST27x0 coprocessors Jamin Lin
2026-07-17  8:46 ` [PATCH v4 4/9] hw/misc/aspeed_scu: Add separate reset handler for AST2700 SCUIO Jamin Lin
2026-07-17  8:46 ` [PATCH v4 5/9] hw/arm/aspeed_ast27x0: Pass realized PSP SoC to SSP/TSP initialization Jamin Lin
2026-07-17  8:46 ` [PATCH v4 6/9] hw/arm/ast27x0: Share single SCUIO instance across PSP, SSP, and TSP Jamin Lin
2026-07-17  8:46 ` [PATCH v4 7/9] hw/arm/ast27x0: Share FMC controller with SSP " Jamin Lin
2026-07-17  8:46 ` [PATCH v4 8/9] hw/ssi/aspeed_smc: Add Data FIFO-based flash access support for AST2700 Jamin Lin
2026-07-17  8:46 ` [PATCH v4 9/9] tests/qtest/ast2700-smc-test: Add Data FIFO mode test Jamin Lin
2026-07-17  9:52   ` Cédric Le Goater
2026-07-17 10:06 ` [PATCH v4 0/9] Refactor AST2700 SCU preparation for coprocessors Cédric Le Goater

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.