Skip to content

Control coprocessor reset for AST2700

Jamin Lin via qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest21 patches 39 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/21hw/arm/aspeed_ast27x0-fc: Support VBootRomhw/arm/aspeed_ast27x0-fc.c+75 -05 replies
2/21hw/arm/ast27x0: Move SSP coprocessor initialization from machine to SoC levehw/arm/aspeed_ast27x0-fc.c hw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+59 -406 replies
3/21hw/arm/ast27x0: Move TSP coprocessor initialization from machine to SoC levehw/arm/aspeed_ast27x0-fc.c hw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+44 -420 replies
4/21hw/arm/aspeed_ast27x0-ssp: Switch SSP memory to SDRAM and use dram_container for remap supporthw/arm/aspeed_ast27x0-ssp.c+10 -102 replies
5/21hw/arm/aspeed_ast27x0-tsp: Switch TSP memory to SDRAM and use dram_container for remap supporthw/arm/aspeed_ast27x0-tsp.c+10 -100 replies
6/21hw/arm/ast27x0: Add SRAM alias for SSP and ensure correct device realization orderhw/arm/aspeed_ast27x0-ssp.c hw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+20 -12 replies
7/21hw/arm/ast27x0: Add SRAM alias for TSP and ensure correct device realization orderhw/arm/aspeed_ast27x0-tsp.c hw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+10 -00 replies
8/21hw/arm/ast27x0: Add SCU alias for SSP and ensure correct device realization orderhw/arm/aspeed_ast27x0-ssp.c hw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+21 -138 replies
9/21hw/arm/ast27x0: Add SCU alias for TSP and ensure correct device realization orderhw/arm/aspeed_ast27x0-tsp.c hw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+7 -70 replies
10/21hw/arm/ast27x0: Move DRAM and SDMC initialization earlier to support memory aliasinghw/arm/aspeed_ast27x0.c+20 -202 replies
11/21hw/arm/ast27x0: Add DRAM alias for SSP SDRAM remap and update realization orderhw/arm/aspeed_ast27x0-ssp.c hw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+45 -110 replies
12/21hw/arm/ast27x0: Add DRAM alias for TSP SDRAM remap and update realization orderhw/arm/aspeed_ast27x0-tsp.c hw/arm/aspeed_ast27x0.c include/hw/arm/aspeed_soc.h+12 -00 replies
13/21hw/arm/ast27x0: Start SSP in powered-off state to match hardware behaviorhw/arm/aspeed_ast27x0-ssp.c+7 -00 replies
14/21hw/arm/ast27x0: Start TSP in powered-off state to match hardware behaviorhw/arm/aspeed_ast27x0-tsp.c+7 -00 replies
15/21hw/misc/aspeed_scu: Add SCU support for SSP SDRAM remaphw/arm/aspeed_ast27x0.c hw/misc/aspeed_scu.c include/hw/misc/aspeed_scu.h+60 -20 replies
16/21hw/misc/aspeed_scu: Add SCU support for TSP SDRAM remaphw/arm/aspeed_ast27x0.c hw/misc/aspeed_scu.c include/hw/misc/aspeed_scu.h+27 -10 replies
17/21hw/misc/aspeed_scu: Implement SSP reset and power-on control via SCU registershw/misc/aspeed_scu.c+94 -00 replies
18/21hw/misc/aspeed_scu: Implement TSP reset and power-on control via SCU registershw/misc/aspeed_scu.c+28 -30 replies
19/21pc-bios: Update AST27x0 vBootrom with SSP/TSP SCU initialization supportpc-bios/ast27x0_bootrom.bin+0 -013 replies
20/21tests/function/aspeed: Replace manual loader with vbootrom for ast2700fc testtests/functional/test_aarch64_aspeed_ast2700fc.py+1 -460 replies
21/21docs: Add support vbootrom for ast2700fcdocs/system/arm/aspeed.rst+35 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 00/21] Control coprocessor reset for AST2700

v1
- Added support for Vboot ROM.
- Moved coprocessor initialization from machine level to SoC level
- Unified SCU controllers between PSP and coprocessors
- Shared the same SRAM between PSP and coprocessors
- Support PSP DRAM remaps coprocessor SDRAM
- Added support for controlling coprocessor reset via SCU registers.

Jamin Lin (21):
hw/arm/aspeed_ast27x0-fc: Support VBootRom hw/arm/ast27x0: Move SSP coprocessor initialization from machine to
SoC leve
hw/arm/ast27x0: Move TSP coprocessor initialization from machine to
SoC leve
hw/arm/aspeed_ast27x0-ssp: Switch SSP memory to SDRAM and use
dram_container for remap support
hw/arm/aspeed_ast27x0-tsp: Switch TSP memory to SDRAM and use
dram_container for remap support
hw/arm/ast27x0: Add SRAM alias for SSP and ensure correct device
realization order
hw/arm/ast27x0: Add SRAM alias for TSP and ensure correct device
realization order
hw/arm/ast27x0: Add SCU alias for SSP and ensure correct device
realization order
hw/arm/ast27x0: Add SCU alias for TSP and ensure correct device
realization order
hw/arm/ast27x0: Move DRAM and SDMC initialization earlier to support
memory aliasing
hw/arm/ast27x0: Add DRAM alias for SSP SDRAM remap and update
realization order
hw/arm/ast27x0: Add DRAM alias for TSP SDRAM remap and update
realization order
hw/arm/ast27x0: Start SSP in powered-off state to match hardware
behavior
hw/arm/ast27x0: Start TSP in powered-off state to match hardware
behavior
hw/misc/aspeed_scu: Add SCU support for SSP SDRAM remap hw/misc/aspeed_scu: Add SCU support for TSP SDRAM remap hw/misc/aspeed_scu: Implement SSP reset and power-on control via SCU
registers
hw/misc/aspeed_scu: Implement TSP reset and power-on control via SCU
registers
pc-bios: Update AST27x0 vBootrom with SSP/TSP SCU initialization
support
tests/function/aspeed: Replace manual loader with vbootrom for

    ast2700fc test

docs: Add support vbootrom for ast2700fc

 docs/system/arm/aspeed.rst                    |  41 +++-
 include/hw/arm/aspeed_soc.h                   |  48 +++--
 include/hw/misc/aspeed_scu.h                  |   4 +
 hw/arm/aspeed_ast27x0-fc.c                    | 133 +++++++-----
 hw/arm/aspeed_ast27x0-ssp.c                   |  46 +++--
 hw/arm/aspeed_ast27x0-tsp.c                   |  43 ++--
 hw/arm/aspeed_ast27x0.c                       | 188 +++++++++++++++--
 hw/misc/aspeed_scu.c                          | 194 +++++++++++++++++-
 pc-bios/ast27x0_bootrom.bin                   | Bin 15552 -> 17192 bytes
 .../test_aarch64_aspeed_ast2700fc.py          |  47 +----
 10 files changed, 562 insertions(+), 182 deletions(-)
Signature · 1 line
2.43.0